/external/clang/test/SemaCXX/ |
reinterpret-fn-obj-pedantic.cpp | 6 fnptr fp = 0; local 7 void *vp = reinterpret_cast<void*>(fp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
|
/bionic/libc/stdio/ |
freopen.c | 51 freopen(const char *file, const char *mode, FILE *fp) 57 (void) fclose(fp); 64 FLOCKFILE(fp); 74 if (fp->_flags == 0) { 75 fp->_flags = __SEOF; /* hold on to it */ 80 if (fp->_flags & __SWR) 81 (void) __sflush(fp); 83 isopen = fp->_close != NULL; 84 if ((wantfd = fp->_file) < 0 && isopen) { 85 (void) (*fp->_close)(fp->_cookie) [all...] |
fflush.c | 38 /* Flush a single file, or (if fp is NULL) all files. */ 40 fflush(FILE *fp) 44 if (fp == NULL) 46 FLOCKFILE(fp); 47 if ((fp->_flags & (__SWR | __SRW)) == 0) { 51 r = __sflush(fp); 52 FUNLOCKFILE(fp); 57 __sflush(FILE *fp) 62 t = fp->_flags; 66 if ((p = fp->_bf._base) == NULL [all...] |
local.h | 70 #define cantwrite(fp) \ 71 ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \ 72 __swsetup(fp)) 78 #define HASUB(fp) (_UB(fp)._base != NULL) 79 #define FREEUB(fp) { \ 80 if (_UB(fp)._base != (fp)->_ubuf) \ 81 free(_UB(fp)._base); [all...] |
fputc.c | 38 fputc(int c, FILE *fp) 40 return (putc(c, fp));
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
clrerr.c | 48 clearerr(FILE *fp) 50 FLOCKFILE(fp); 51 __sclearerr(fp); 52 FUNLOCKFILE(fp); 56 clearerr_unlocked(FILE *fp) 59 __sclearerr(fp);
|
feof.c | 48 feof(FILE *fp) 52 FLOCKFILE(fp); 53 ret= __sfeof(fp); 54 FUNLOCKFILE(fp); 59 feof_unlocked(FILE *fp) 62 return (__sfeof(fp));
|
ferror.c | 48 ferror(FILE *fp) 52 FLOCKFILE(fp); 53 ret = __sferror(fp); 54 FUNLOCKFILE(fp); 59 ferror_unlocked(FILE *fp) 62 return (__sferror(fp));
|
fileno.c | 48 fileno(FILE *fp) 52 FLOCKFILE(fp); 53 fd = __sfileno(fp); 54 FUNLOCKFILE(fp); 60 fileno_unlocked(FILE *fp) 63 return (__sfileno(fp));
|
getc.c | 49 getc(FILE *fp) 52 FLOCKFILE(fp); 54 /* ORIENT(fp, -1); */ 55 retval = __sgetc(fp); 56 FUNLOCKFILE(fp); 61 getc_unlocked(FILE *fp) 64 return (__sgetc(fp));
|
fgetln.c | 55 __slbexpand(FILE *fp, size_t newsize) 62 if (fp->_lb._size >= newsize) 64 if ((p = realloc(fp->_lb._base, newsize)) == NULL) 66 fp->_lb._base = p; 67 fp->_lb._size = newsize; 79 fgetln(FILE *fp, size_t *lenp) 85 FLOCKFILE(fp); 86 ORIENT(fp, -1); 88 if (fp->_r <= 0 && __srefill(fp)) { [all...] |
setvbuf.c | 51 setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) 66 FLOCKFILE(fp); 74 (void)__sflush(fp); 75 if (HASUB(fp)) 76 FREEUB(fp); 77 fp->_r = fp->_lbfsize = 0; 78 flags = fp->_flags; 80 free((void *)fp->_bf._base); 92 flags |= __swhatbuf(fp, &iosize, &ttyflag) [all...] |
putc.c | 49 putc(int c, FILE *fp) 52 FLOCKFILE(fp); 54 /* ORIENT(fp, -1); */ 55 retval = __sputc(c, fp); 56 FUNLOCKFILE(fp); 61 putc_unlocked(int ch, FILE *fp) 64 return (__sputc(ch, fp));
|
/external/clang/test/Sema/ |
format-strings-c90.c | 7 void foo(char **sp, float *fp, int *ip) { 12 scanf("%a", fp); 13 scanf("%afoobar", fp); 23 scanf("%as", fp); /* expected-warning{{format specifies type 'char **' but the argument has type 'float *'}} 25 scanf("%aS", fp); /* expected-warning{{format specifies type 'wchar_t **' (aka 'int **') but the argument has type 'float *'}} 28 scanf("%a[abc]", fp); /* expected-warning{{format specifies type 'char **' but the argument has type 'float *'}}
|
2007-10-01-BuildArrayRef.c | 16 const struct foo *fp; local 17 fp = &sfoo; 18 fp[0].bar = 1; // expected-error {{ assignment of read-only member}}
|
/external/libppp/src/ |
fsm.c | 129 struct fsm *fp = (struct fsm *)v; local 131 log_Printf(fp->LogLevel, "%s: Stopped timer expired\n", fp->link->name); 132 if (fp->OpenTimer.state == TIMER_RUNNING) { 134 fp->link->name, fp->name); 135 timer_Stop(&fp->OpenTimer); 137 if (fp->state == ST_STOPPED) 138 fsm2initial(fp); 142 fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode 229 struct fsm *fp = (struct fsm *)v; local 412 struct fsm *fp = (struct fsm *)v; local 576 (*fp->parent->LayerUp)(fp->parent->object, fp); local 652 (*fp->parent->LayerUp)(fp->parent->object, fp); local [all...] |
/art/test/023-many-interfaces/ |
iface-gen.c | 13 FILE* fp; local 20 fp = fopen(nameBuf, "w"); 21 if (fp == NULL) { 26 fprintf(fp, "interface Interface%03d {\n", i); 28 fprintf(fp, " int func%03d();\n", i); 29 fprintf(fp, "}\n"); 30 fclose(fp); 33 fp = fopen("func-decl", "w"); 34 fprintf(fp, " implements\n"); 36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",") [all...] |
/dalvik/tests/023-many-interfaces/ |
iface-gen.c | 13 FILE* fp; local 20 fp = fopen(nameBuf, "w"); 21 if (fp == NULL) { 26 fprintf(fp, "interface Interface%03d {\n", i); 28 fprintf(fp, " int func%03d();\n", i); 29 fprintf(fp, "}\n"); 30 fclose(fp); 33 fp = fopen("func-decl", "w"); 34 fprintf(fp, " implements\n"); 36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",") [all...] |
/external/bison/lib/ |
fseterr.h | 22 /* Set the error indicator of the stream FP. 24 is cleared (together with the "end-of-file" indicator) by clearerr (FP). */ 29 # define fseterr(fp) __fseterr (fp) 37 extern void fseterr (FILE *fp);
|
/external/clang/test/CodeGen/ |
2009-06-01-addrofknr.c | 18 struct funcptr fp; local 20 fp.func = &func; 21 fp.func = func;
|
/external/clang/test/Parser/ |
pointer_promotion.c | 7 struct foo *fp; local 12 if (cp < fp) {} // expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}} 13 if (fp < bp) {} // expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}
|
/external/libsepol/tests/ |
debug.c | 27 void print_ebitmap(ebitmap_t * bitmap, FILE * fp) 31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i)); 33 fprintf(fp, "\n"); 37 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) 44 fprintf(fp, "%s ", p->p_bool_val_to_name[cur->bool - 1]); 47 fprintf(fp, "! "); 50 fprintf(fp, "|| "); 53 fprintf(fp, "&& "); 56 fprintf(fp, "^ "); 59 fprintf(fp, "== ") [all...] |
/external/v8/src/arm/ |
frames-arm.cc | 38 Address ExitFrame::ComputeStackPointer(Address fp) { 39 return Memory::Address_at(fp + ExitFrameConstants::kSPOffset);
|
/external/v8/src/ia32/ |
frames-ia32.cc | 38 Address ExitFrame::ComputeStackPointer(Address fp) { 39 return Memory::Address_at(fp + ExitFrameConstants::kSPOffset);
|
/external/v8/src/mips/ |
frames-mips.cc | 40 Address ExitFrame::ComputeStackPointer(Address fp) { 41 return Memory::Address_at(fp + ExitFrameConstants::kSPOffset);
|