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

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Drfg13.C6 void (*fp)(void);
10 fp = g; /* ERROR - no 'g' in scope */
H A Drfg20.C4 func_type *fp; variable
9 vp != fp; // ERROR - no conversion from pfn to void* local
H A Dtypedef.C8 F *fp; member in struct:A
9 F1 g() { return fp; } // gets bogus error - typing
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20011106-1.c6 void (*fp) (void); variable
7 char x[sizeof (1, foo) == sizeof (fp) ? 1 : -1];
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.bugs/
H A D900324_02.C11 void (*fp)(void); variable
15 fp = 1 ? function_0 : fp; // ERROR -
H A D900428_02.C14 void (*fp) (); variable
23 fp++; /* ERROR - */
24 ++fp; /* ERROR - */
25 fp--; /* ERROR - */
26 --fp; /* ERROR - */
/openbsd-current/lib/libc/stdio/
H A Drefill.c40 lflush(FILE *fp) argument
42 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
43 return (__sflush_locked(fp)); /* ignored... */
52 __srefill(FILE *fp) argument
59 fp->_r = 0; /* largely a convenience for callers */
62 if (fp->_flags & __SEOF)
66 if ((fp->_flags & __SRD) == 0) {
67 if ((fp->_flags & __SRW) == 0) {
69 fp->_flags |= __SERR;
73 if (fp
[all...]
H A Dwsetup.c45 __swsetup(FILE *fp) argument
54 if ((fp->_flags & __SWR) == 0) {
55 if ((fp->_flags & __SRW) == 0) {
57 fp->_flags |= __SERR;
60 if (fp->_flags & __SRD) {
62 if (HASUB(fp))
63 FREEUB(fp);
64 fp->_flags &= ~(__SRD|__SEOF);
65 fp->_r = 0;
66 fp
[all...]
H A Dfpurge.c44 fpurge(FILE *fp) argument
46 FLOCKFILE(fp);
47 if (!fp->_flags) {
48 FUNLOCKFILE(fp);
53 if (HASUB(fp))
54 FREEUB(fp);
55 WCIO_FREE(fp);
56 fp->_p = fp->_bf._base;
57 fp
[all...]
H A Dwbuf.c43 __swbuf(int c, FILE *fp) argument
47 _SET_ORIENTATION(fp, -1);
55 fp->_w = fp->_lbfsize;
56 if (cantwrite(fp))
69 n = fp->_p - fp->_bf._base;
70 if (n >= fp->_bf._size) {
71 if (__sflush(fp))
75 fp
[all...]
H A Drget.c43 __srget(FILE *fp) argument
45 _SET_ORIENTATION(fp, -1);
46 if (__srefill(fp) == 0) {
47 fp->_r--;
48 return (*fp->_p++);
H A Dungetc.c41 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when
47 __submore(FILE *fp) argument
52 if (_UB(fp)._base == fp->_ubuf) {
58 _UB(fp)._base = p;
59 _UB(fp)._size = BUFSIZ;
60 p += BUFSIZ - sizeof(fp->_ubuf);
61 for (i = sizeof(fp->_ubuf); --i >= 0;)
62 p[i] = fp->_ubuf[i];
63 fp
79 ungetc(int c, FILE *fp) argument
[all...]
H A Dfclose.c40 fclose(FILE *fp) argument
44 if (fp->_flags == 0) { /* not open! */
48 FLOCKFILE(fp);
49 WCIO_FREE(fp);
50 r = fp->_flags & __SWR ? __sflush(fp) : 0;
51 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0)
53 if (fp
[all...]
H A Dftell.c43 ftello(FILE *fp) argument
47 if (fp->_seek == NULL) {
57 FLOCKFILE(fp);
58 __sflush(fp); /* may adjust seek offset on append stream */
59 if (fp->_flags & __SOFF)
60 pos = fp->_offset;
62 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR);
66 if (fp->_flags & __SRD) {
72 pos -= fp
89 ftell(FILE *fp) argument
[all...]
H A Dfseek.c49 fseeko(FILE *fp, off_t offset, int whence) argument
64 if ((seekfn = fp->_seek) == NULL) {
73 FLOCKFILE(fp);
82 __sflush(fp); /* may adjust seek offset on append stream */
83 if (fp->_flags & __SOFF)
84 curoff = fp->_offset;
86 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR);
88 FUNLOCKFILE(fp);
92 if (fp->_flags & __SRD) {
93 curoff -= fp
249 fseek(FILE *fp, long offset, int whence) argument
[all...]
H A Dfgetln.c43 __slbexpand(FILE *fp, size_t newsize) argument
47 if (fp->_lb._size >= newsize)
49 if ((p = recallocarray(fp->_lb._base, fp->_lb._size, newsize, 1)) == NULL)
51 fp->_lb._base = p;
52 fp->_lb._size = newsize;
64 fgetln(FILE *fp, size_t *lenp) argument
71 FLOCKFILE(fp);
72 _SET_ORIENTATION(fp, -1);
75 if (fp
[all...]
H A Dfreopen.c50 freopen(const char *file, const char *mode, FILE *fp) argument
56 (void) fclose(fp);
63 FLOCKFILE(fp);
73 if (fp->_flags == 0) {
74 fp->_flags = __SEOF; /* hold on to it */
79 if (fp->_flags & __SWR)
80 (void) __sflush(fp);
82 isopen = fp->_close != NULL;
83 if ((wantfd = fp->_file) < 0 && isopen) {
84 (void) (*fp
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.rfg/
H A D00324_02-.C8 void (*fp)(void); variable
15 i ? f : fp; // ERROR -
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dc99-restrict-1.c13 typedef void (*fp) (void); typedef
15 fp restrict baz; /* { dg-bogus "warning" "warning in place of error" } */
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D930702-1.c0 fp (double a, int b)
9 int (*f) (double, int) = fp;
11 fp (33, 11);
1 fp (double a, int b) function
H A Dfunc-ptr-1.c2 static double (*fp) (float a); variable
6 fp = f;
7 if (fp ((float) 1) != 1.0)
/openbsd-current/gnu/lib/libstdc++/libstdc++/libio/
H A Dgenops.c39 _IO_un_link (fp)
40 struct _IO_FILE_plus *fp;
42 if (fp->file._flags & _IO_LINKED)
50 if (*f == fp)
52 *f = (struct _IO_FILE_plus *) fp->file._chain;
59 fp->file._flags &= ~_IO_LINKED;
64 _IO_link_in (fp)
65 struct _IO_FILE_plus *fp;
67 if ((fp->file._flags & _IO_LINKED) == 0)
69 fp
755 struct _IO_FILE *fp; local
772 struct _IO_FILE *fp; local
783 struct _IO_FILE *fp; local
[all...]
/openbsd-current/gnu/usr.bin/binutils/gas/
H A Ddebug.c50 dmp_frag (fp, indent)
51 struct frag *fp;
54 for (; fp; fp = fp->fr_next)
56 printf ("%sFRAGMENT @ 0x%x\n", indent, fp);
57 switch (fp->fr_type)
60 printf ("%srs_align(%d)\n", indent, fp->fr_offset);
63 printf ("%srs_fill(%d)\n", indent, fp->fr_offset);
65 var_chars (fp, f
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/eh/
H A Dspec1.C5 void (&fp)() throw () = f; variable
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dt09.C6 static bs_1::pfi fp; variable

Completed in 165 milliseconds

1234567891011>>