Searched defs:fp (Results 1 - 25 of 937) sorted by relevance

1234567891011>>

/freebsd-head/sys/arm64/arm64/
H A Dunwind.c40 uint64_t fp; local
42 fp = frame->fp;
43 if (!INKERNEL(fp))
46 frame->sp = fp + 0x10;
48 frame->fp = *(uint64_t *)(fp);
50 frame->pc = *(uint64_t *)(fp + 8) - 4;
/freebsd-head/lib/libc/stdio/
H A Dclrerr.c50 clearerr(FILE *fp) argument
52 FLOCKFILE(fp);
53 __sclearerr(fp);
54 FUNLOCKFILE(fp);
58 clearerr_unlocked(FILE *fp) argument
61 __sclearerr(fp);
H A Dfgetc.c48 fgetc(FILE *fp) argument
51 FLOCKFILE_CANCELSAFE(fp);
53 /* ORIENT(fp, -1); */
54 retval = __sgetc(fp);
H A Dfgetpos.c44 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) argument
47 * ftello is thread-safe; no need to lock fp.
49 if ((*pos = ftello(fp)) == (fpos_t)-1)
H A Dfpurge.c54 fpurge(FILE *fp) argument
57 FLOCKFILE(fp);
58 if (!fp->_flags) {
62 if (HASUB(fp))
63 FREEUB(fp);
64 fp->_p = fp->_bf._base;
65 fp->_r = 0;
66 fp->_w = fp
[all...]
H A Dgetw.c44 getw(FILE *fp) argument
48 return (fread((void *)&x, sizeof(x), 1, fp) == 1 ? x : EOF);
H A Drewind.c49 rewind(FILE *fp) argument
57 FLOCKFILE(fp);
58 if (_fseeko(fp, (off_t)0, SEEK_SET, 1) == 0)
60 clearerr_unlocked(fp); /* POSIX: clear stdio error regardless */
61 FUNLOCKFILE(fp);
H A Drget.c50 __srget(FILE *fp) argument
52 if (__srefill(fp) == 0) {
53 fp->_r--;
54 return (*fp->_p++);
H A Dsetbuf.c45 setbuf(FILE * __restrict fp, char * __restrict buf) argument
47 (void) setvbuf(fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
H A Dwsetup.c52 __swsetup(FILE *fp) argument
61 if ((fp->_flags & __SWR) == 0) {
62 if ((fp->_flags & __SRW) == 0) {
64 fp->_flags |= __SERR;
67 if (fp->_flags & __SRD) {
69 if (HASUB(fp))
70 FREEUB(fp);
71 fp->_flags &= ~(__SRD|__SEOF);
72 fp->_r = 0;
73 fp
[all...]
H A Dfwide.c41 fwide(FILE *fp, int mode) argument
45 FLOCKFILE(fp);
47 if (mode != 0 && fp->_orientation == 0)
48 fp->_orientation = mode > 0 ? 1 : -1;
49 m = fp->_orientation;
50 FUNLOCKFILE(fp);
H A Dgetline.c36 FILE * __restrict fp)
39 return (getdelim(linep, linecapp, '\n', fp));
35 getline(char ** __restrict linep, size_t * __restrict linecapp, FILE * __restrict fp) argument
H A Dgetwc.c49 * macro, may evaluate `fp' more than once.
52 getwc(FILE *fp) argument
55 return (fgetwc(fp));
58 getwc_l(FILE *fp, locale_t locale) argument
61 return (fgetwc_l(fp, locale));
H A Dfeof.c50 feof(FILE *fp) argument
54 FLOCKFILE(fp);
55 ret= __sfeof(fp);
56 FUNLOCKFILE(fp);
61 feof_unlocked(FILE *fp) argument
64 return (__sfeof(fp));
H A Dferror.c50 ferror(FILE *fp) argument
54 FLOCKFILE(fp);
55 ret = __sferror(fp);
56 FUNLOCKFILE(fp);
61 ferror_unlocked(FILE *fp) argument
64 return (__sferror(fp));
H A Dfileno.c50 fileno(FILE *fp) argument
54 FLOCKFILE(fp);
55 fd = __sfileno(fp);
56 FUNLOCKFILE(fp);
62 fileno_unlocked(FILE *fp) argument
65 return (__sfileno(fp));
H A Dfunopen.c53 FILE *fp; local
68 if ((fp = __sfp()) == NULL)
70 fp->_flags = flags;
71 fp->_file = -1;
72 fp->_cookie = (void *)cookie;
73 fp->_read = readfn;
74 fp->_write = writefn;
75 fp->_seek = seekfn;
76 fp->_close = closefn;
77 return (fp);
[all...]
H A Dgetc.c51 getc(FILE *fp) argument
54 FLOCKFILE_CANCELSAFE(fp);
56 /* ORIENT(fp, -1); */
57 retval = __sgetc(fp);
63 getc_unlocked(FILE *fp) argument
66 return (__sgetc(fp));
H A Drefill.c53 lflush(FILE *fp) argument
57 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) {
58 FLOCKFILE_CANCELSAFE(fp);
59 ret = __sflush(fp);
70 __srefill(FILE *fp) argument
77 ORIENT(fp, -1);
79 fp->_r = 0; /* largely a convenience for callers */
82 if (fp->_flags & __SEOF)
86 if ((fp->_flags & __SRD) == 0) {
87 if ((fp
[all...]
H A Dwbuf.c53 __swbuf(int c, FILE *fp) argument
64 fp->_w = fp->_lbfsize;
65 if (prepwrite(fp) != 0) {
71 ORIENT(fp, -1);
82 n = fp->_p - fp->_bf._base;
83 if (n >= fp->_bf._size) {
84 if (__fflush(fp))
88 fp
[all...]
H A Dputwc.c49 * macro, may evaluate `fp' more than once.
52 putwc_l(wchar_t wc, FILE *fp, locale_t locale) argument
55 return (fputwc_l(wc, fp, locale));
58 putwc(wchar_t wc, FILE *fp) argument
60 return putwc_l(wc, fp, __get_locale());
/freebsd-head/contrib/llvm-project/compiler-rt/lib/crt/
H A Dcrtend.c17 typedef void (*fp)(void); typedef
18 fp __CTOR_LIST_END__[]
20 fp __DTOR_LIST_END__[]
/freebsd-head/sys/riscv/riscv/
H A Dunwind.c45 uintptr_t fp; local
47 fp = frame->fp;
49 if (!INKERNEL(fp))
52 frame->sp = fp;
53 frame->fp = ((uintptr_t *)fp)[-2];
54 frame->pc = ((uintptr_t *)fp)[-1] - 4;
/freebsd-head/contrib/llvm-project/llvm/include/llvm/IR/
H A DFPEnv.h24 namespace fp { namespace in namespace:llvm
50 Optional<fp::ExceptionBehavior> StrToExceptionBehavior(StringRef);
54 Optional<StringRef> ExceptionBehaviorToStr(fp::ExceptionBehavior);
/freebsd-head/contrib/sendmail/libsm/
H A Dfprintf.c26 ** fp -- file pointer to be printed to
38 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) argument
40 sm_io_fprintf(fp, timeout, fmt, va_alist)
41 SM_FILE_T *fp;
50 SM_REQUIRE_ISA(fp, SmFileMagic);
52 ret = sm_io_vfprintf(fp, timeout, fmt, ap);

Completed in 102 milliseconds

1234567891011>>