Searched refs:fp (Results 1 - 25 of 3528) sorted by relevance

1234567891011>>

/netbsd-current/lib/libc/stdio/
H A Dungetc.c53 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when
59 __submore(FILE *fp) argument
64 _DIAGASSERT(fp != NULL);
66 if (_UB(fp)._base == fp->_ubuf) {
72 _UB(fp)._base = p;
73 _UB(fp)._size = BUFSIZ;
74 p += BUFSIZ - sizeof(fp->_ubuf);
75 for (i = sizeof(fp->_ubuf); --i >= 0;)
76 p[i] = fp
93 ungetc(int c, FILE *fp) argument
[all...]
H A Dwsetup.c57 __swsetup(FILE *fp) argument
60 _DIAGASSERT(fp != NULL);
69 if ((fp->_flags & __SWR) == 0) {
70 if ((fp->_flags & __SRW) == 0)
72 if (fp->_flags & __SRD) {
74 if (HASUB(fp))
75 FREEUB(fp);
76 fp->_flags &= ~(__SRD|__SEOF);
77 fp->_r = 0;
78 fp
[all...]
H A Dflockfile.c59 flockfile(FILE *fp)
62 __flockfile_internal(fp, 0);
66 ftrylockfile(FILE *fp) argument
74 mutex_lock(&_LOCK(fp));
76 if (_LOCKOWNER(fp) == thr_self()) {
77 _LOCKCOUNT(fp)++;
78 } else if (_LOCKOWNER(fp) == NULL) {
79 _LOCKOWNER(fp) = thr_self();
80 _LOCKCOUNT(fp) = 1;
84 mutex_unlock(&_LOCK(fp));
90 funlockfile(FILE *fp) argument
97 __flockfile_internal(FILE *fp, int internal) argument
131 __funlockfile_internal(FILE *fp, int internal) argument
[all...]
H A Dfpurge.c57 fpurge(FILE *fp) argument
60 _DIAGASSERT(fp != NULL);
62 if (fp->_flags == 0) {
66 FLOCKFILE(fp);
67 if (HASUB(fp))
68 FREEUB(fp);
69 WCIO_FREE(fp);
70 fp->_p = fp->_bf._base;
71 fp
[all...]
H A Dfclose.c52 fclose(FILE *fp) argument
56 _DIAGASSERT(fp != NULL);
58 if (fp->_flags == 0) { /* not open! */
62 FLOCKFILE(fp);
63 WCIO_FREE(fp);
64 r = fp->_flags & __SWR ? __sflush(fp) : 0;
65 if (fp->_close != NULL && (*fp->_close)(fp
[all...]
H A Drefill.c56 lflush(FILE *fp) argument
59 _DIAGASSERT(fp != NULL);
61 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
62 return __sflush(fp);
71 __srefill(FILE *fp) argument
74 _DIAGASSERT(fp != NULL);
80 fp->_r = 0; /* largely a convenience for callers */
83 if (fp->_flags & __SEOF)
87 if ((fp->_flags & __SRD) == 0) {
88 if ((fp
[all...]
H A Dftell.c54 ftell(FILE *fp) argument
59 FLOCKFILE(fp);
61 if (fp->_seek == NULL) {
62 FUNLOCKFILE(fp);
71 (void)__sflush(fp); /* may adjust seek offset on append stream */
72 if (fp->_flags & __SOFF)
73 pos = fp->_offset;
75 pos = (*fp->_seek)(fp->_cookie, (off_t)0, SEEK_CUR);
77 FUNLOCKFILE(fp);
[all...]
H A Dftello.c55 ftello(FILE *fp)
60 FLOCKFILE(fp);
62 if (fp->_seek == NULL) {
63 FUNLOCKFILE(fp);
72 (void)__sflush(fp); /* may adjust seek offset on append stream */
73 if (fp->_flags & __SOFF)
74 pos = fp->_offset;
76 pos = (*fp->_seek)(fp->_cookie, (off_t)0, SEEK_CUR);
78 FUNLOCKFILE(fp);
[all...]
H A Dwbuf.c56 __swbuf(int c, FILE *fp) argument
60 _DIAGASSERT(fp != NULL);
62 _SET_ORIENTATION(fp, -1);
71 fp->_w = fp->_lbfsize;
72 if (cantwrite(fp)) {
87 _DIAGASSERT(__type_fit(int, fp->_p - fp->_bf._base));
88 n = (int)(fp->_p - fp
[all...]
/netbsd-current/sys/arch/epoc32/include/
H A Dfp.h1 /* $NetBSD: fp.h,v 1.1 2006/12/16 05:44:58 ober Exp $ */
3 #include <arm/fp.h>
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mep/
H A Ddj2.s3 sb $7,($fp)
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/
H A Dattr-gnu-4-1-mfp32.l2 .*: Warning: `fp=32' used with a 64-bit ABI
3 .*: Warning: .gnu_attribute 4,1 is incompatible with `gp=64 fp=32'
H A Dmips-gp32-fp64.l2 .* Warning: `fp=64' used with a 32-bit ABI
H A Dmips-gp64-fp32-pic.l2 .*:16: Warning: `fp=32' used with a 64-bit ABI
H A Dmips-gp64-fp32.l2 .* Warning: `fp=32' used with a 64-bit ABI
H A Dmodule-check-warn.l2 .*:3: Error: `fp=64' used with a 32-bit fpu
H A Dfix-rm7000-2.s6 lb $4,0($fp)
8 lbu $7,0($fp)
11 lca $4,0($fp)
14 lh $7,0($fp)
16 lhu $4,0($fp)
18 ll $7,0($fp)
20 lld $4,0($fp)
22 lw $4,0($fp)
24 lwr $7,0($fp)
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-arm/
H A Dattr-merge-vfp-armv8.s1 .fpu fp-armv8
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dprintfr.c18 printfr(fp, iocfunc)
19 struct frentry *fp;
30 type = fp->fr_type & ~FR_T_BUILTIN;
32 if ((fp->fr_type & FR_T_BUILTIN) != 0)
35 if (fp->fr_collect != 0)
36 PRINTF("%u ", fp->fr_collect);
38 if (fp->fr_type == FR_T_CALLFUNC) {
40 } else if (fp->fr_func != NULL) {
42 if ((fp->fr_flags & FR_CALLNOW) != 0)
44 s = kvatoname(fp
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/m32r/
H A Dallinsn.s8 add fp,fp
12 add3 fp,fp,#0
16 and fp,fp
20 and3 fp,fp,#0
24 or fp,fp
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dfwriteerror.h46 Return 0 if no error occurred and fclose (fp) succeeded.
51 extern int fwriteerror (FILE *fp);
55 extern int fwriteerror_no_ebadf (FILE *fp);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dfwriteerror.h46 Return 0 if no error occurred and fclose (fp) succeeded.
51 extern int fwriteerror (FILE *fp);
55 extern int fwriteerror_no_ebadf (FILE *fp);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dfwriteerror.h46 Return 0 if no error occurred and fclose (fp) succeeded.
51 extern int fwriteerror (FILE *fp);
55 extern int fwriteerror_no_ebadf (FILE *fp);
/netbsd-current/external/gpl3/binutils.old/dist/gas/
H A Ddebug.c51 dmp_frag (fp, indent)
52 struct frag *fp;
55 for (; fp; fp = fp->fr_next)
57 printf ("%sFRAGMENT @ 0x%x\n", indent, fp);
58 switch (fp->fr_type)
61 printf ("%srs_align(%d)\n", indent, fp->fr_offset);
64 printf ("%srs_fill(%d)\n", indent, fp->fr_offset);
66 var_chars (fp, f
[all...]
/netbsd-current/external/gpl3/binutils/dist/gas/
H A Ddebug.c51 dmp_frag (fp, indent)
52 struct frag *fp;
55 for (; fp; fp = fp->fr_next)
57 printf ("%sFRAGMENT @ 0x%x\n", indent, fp);
58 switch (fp->fr_type)
61 printf ("%srs_align(%d)\n", indent, fp->fr_offset);
64 printf ("%srs_fill(%d)\n", indent, fp->fr_offset);
66 var_chars (fp, f
[all...]

Completed in 227 milliseconds

1234567891011>>