/external/bison/lib/ |
H A D | fpending.c | 27 __fpending (FILE *fp) argument
|
H A D | fseterr.c | 27 fseterr (FILE *fp) argument 33 fp->_flags |= _IO_ERR_SEEN; 37 fp->_flags |= _IOERR; 39 fp->_flags |= _IOERR; 43 fp->__modeflags |= __FLAG_ERROR; 45 fp->_Mode |= 0x200 /* _MERR */; 47 fp->__error = 1; 49 if (fp->state != 0 /* CLOSED */) 50 fp->state = 5 /* ERR */; 62 fflush (fp); [all...] |
H A D | fopen-safer.c | 33 FILE *fp = fopen (file, mode); local 35 if (fp) 37 int fd = fileno (fp); 46 fclose (fp); 51 if (fclose (fp) != 0 52 || ! (fp = fdopen (f, mode))) 62 return fp;
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
H A D | p10-0x.cpp | 5 void (*fp)(int&) = &f; variable
|
/external/clang/test/Index/ |
H A D | werror.c | 1 inline int *get_int_ptr(float *fp) { argument 2 return fp;
|
/external/llvm/test/MC/ARM/ |
H A D | directive-arch_extension-fp.s | 12 .arch_extension fp 13 @ CHECK-V7: error: architectural extension 'fp' is not allowed for the current base architecture 14 @ CHECK-V7-NEXT: .arch_extension fp 17 .type fp,%function 18 fp: label 149 @ CHECK-V7: error: architectural extension 'fp' is not allowed for the current base architecture
|
/external/clang/test/Sema/ |
H A D | format-strings-c90.c | 7 void foo(char **sp, float *fp, int *ip) { argument 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 *'}}
|
H A D | 2007-10-01-BuildArrayRef.c | 16 const struct foo *fp; local 17 fp = &sfoo; 18 fp[0].bar = 1; // expected-error {{read-only variable is not assignable}}
|
H A D | pointer-subtract-compat.c | 9 void f0(void (*fp)(void)) { argument 10 int x = fp - fp; // expected-warning{{arithmetic on pointers to the function type 'void (void)' is a GNU extension}}
|
/external/clang/test/SemaCXX/ |
H A D | format-strings-0x.cpp | 8 void f(char **sp, float *fp) { argument 12 scanf("%afoobar", fp); 29 printf("void: %d", f(sp, fp)); // expected-error {{cannot pass expression of type 'void' to variadic function; expected type from format string was 'int'}}
|
H A D | 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}}
|
H A D | incomplete-call.cpp | 21 Func fp; local 22 fp(); // expected-error {{calling function with incomplete return type 'A'}}
|
/external/clang/test/CodeGenCXX/ |
H A D | attr-cleanup.cpp | 9 void *fp __attribute__((cleanup(N::free))); local
|
/external/oprofile/libutil/ |
H A D | op_cpufreq.c | 23 FILE * fp = op_try_open_file("/proc/cpuinfo", "r"); local 24 if (!fp) 28 line = op_get_line(fp); 66 op_close_file(fp);
|
H A D | op_lockfile.c | 24 FILE * fp; local 27 fp = fopen(file, "r"); 28 if (fp == NULL) 31 if (fscanf(fp, "%d", &value) != 1) { 32 fclose(fp); 36 fclose(fp); 44 FILE * fp; local 61 fp = fopen(file, "w"); 62 if (!fp) 65 fprintf(fp, " [all...] |
/external/clang/test/CXX/except/except.spec/ |
H A D | p2-places.cpp | 13 void (*fp)() throw (int); member in namespace:dyn 48 void (*fp)() noexcept(false);
|
/external/clang/test/CodeGen/ |
H A D | 2009-06-01-addrofknr.c | 18 struct funcptr fp; local 20 fp.func = &func; 21 fp.func = func;
|
/external/clang/test/Parser/ |
H A D | 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/compiler-rt/test/msan/ |
H A D | getline.cc | 19 FILE *fp = fopen(argv[1], "r"); local 20 assert(fp); 24 int n = getline(&line, &len, fp); 28 n = getline(&line, &len, fp); 33 fclose(fp);
|
/external/libcxx/test/depr/depr.c.headers/ |
H A D | stdio_h.pass.cpp | 85 FILE* fp = 0; local 94 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); 95 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); 97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); 98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); 99 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); 100 static_assert((std::is_same<decltype(fprintf(fp," ")), int>::value), ""); 101 static_assert((std::is_same<decltype(fscanf(fp,"")), int>::value), ""); 107 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); 108 static_assert((std::is_same<decltype(vfscanf(fp,"",v [all...] |
/external/libcxx/test/input.output/file.streams/c.files/ |
H A D | cstdio.disabled.cpp | 86 std::FILE* fp = 0; local 95 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); 96 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); 98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), ""); 99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); 100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); 101 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), ""); 102 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), ""); 108 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); 109 static_assert((std::is_same<decltype(std::vfscanf(fp,"",v [all...] |
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
H A D | invoke.fail.cpp | 33 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 35 std::function<int& (const A_int_1*)> r2(fp);
|
/external/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
H A D | invoke.fail.cpp | 36 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 37 std::reference_wrapper<int A_int_1::*> r1(fp);
|
/external/libsepol/utils/ |
H A D | chkcon.c | 19 FILE *fp; local 24 fp = fopen(argv[1], "r"); 25 if (!fp) { 30 if (sepol_set_policydb_from_file(fp) < 0) { 35 fclose(fp);
|
/external/ltrace/testsuite/ltrace.minor/ |
H A D | count-record.c | 21 FILE* fp; local 26 fp = fopen ("system_calls.tmp", "w"); 27 if (fp == NULL) 33 fwrite(s, sizeof(s), 1, fp); 34 fseek (fp, 0, SEEK_CUR); 35 fread(buffer, sizeof(s), 1, fp); 36 fclose(fp);
|