/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/compiler-rt/test/asan/TestCases/Posix/ |
H A D | freopen.cc | 10 FILE *fp = fopen("/dev/null", "w"); local 11 assert(fp); 12 freopen(NULL, "a", fp); 13 fclose(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 15 scanf("%afoobar", fp); 32 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}}
|
/external/skia/src/gpu/ |
H A D | GrProcessorUnitTest.cpp | 13 SkAutoTUnref<const GrFragmentProcessor> fp; local 15 fp.reset(GrProcessorTestFactory<GrFragmentProcessor>::Create(data)); 16 SkASSERT(fp); 17 } while (fp->numChildProcessors() != 0); 18 return SkRef(fp.get());
|
/external/clang/test/CodeGenCXX/ |
H A D | attr-cleanup.cpp | 9 void *fp __attribute__((cleanup(N::free))); local
|
/external/clang/test/Parser/ |
H A D | cxx-concepts-ambig-constraint-expr.cpp | 21 T (*fp)(); // expected-error {{use of undeclared identifier 'fp'}} variable
|
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/libavc/encoder/ |
H A D | ih264e_trace.h | 55 * fp 57 FILE *fp; member in struct:__anon8791 88 if(g_enc_trace.fp) \ 90 fprintf( g_enc_trace.fp, "%-40s : %d\n", syntax_string, value ); \ 91 fflush ( g_enc_trace.fp); \ 103 if(range && g_enc_trace.fp) \ 105 fprintf( g_enc_trace.fp, "%-40s:%8d R:%d\n", string, value, range); \ 106 fflush ( g_enc_trace.fp); \
|
/external/boringssl/src/crypto/test/ |
H A D | test_util.cc | 21 void hexdump(FILE *fp, const char *msg, const void *in, size_t len) { argument 25 fputs(msg, fp); 27 fprintf(fp, "%02x", data[i]); 29 fputs("\n", fp);
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p13.cpp | 71 void f5a(auto fp(int)->unk ...) {} // expected-error{{unknown type name 'unk'}} 72 void f5b(auto fp(int)->auto ...) {} // expected-error{{'auto' not allowed in function return type}} 73 void f5c(auto fp()->...) {} // expected-error{{expected a type}} function
|
/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/dhcpcd-6.8.2/compat/ |
H A D | dprintf.c | 39 FILE *fp; local 44 if ((fp = fdopen(e, "r+")) == NULL) { 49 e = vfprintf(fp, fmt, va); 50 fclose(fp);
|
/external/libcxx/test/std/depr/depr.c.headers/ |
H A D | stdio_h.pass.cpp | 87 FILE* fp = 0; local 97 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); 98 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); 100 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); 101 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); 102 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); 103 static_assert((std::is_same<decltype(fprintf(fp," ")), int>::value), ""); 104 static_assert((std::is_same<decltype(fscanf(fp,"")), int>::value), ""); 110 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); 111 static_assert((std::is_same<decltype(vfscanf(fp,"",v [all...] |
/external/libcxx/test/std/input.output/file.streams/c.files/ |
H A D | cstdio.pass.cpp | 86 std::FILE* fp = 0; local 91 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); 92 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); 93 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); 94 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); 95 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), ""); 96 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), ""); 100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); 101 static_assert((std::is_same<decltype(std::vfscanf(fp,"",va)), int>::value), ""); 105 static_assert((std::is_same<decltype(std::fgetc(fp)), in [all...] |
/external/libcxx/test/std/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);
|