Searched defs:fp (Results 1 - 25 of 718) sorted by relevance

1234567891011>>

/external/bison/lib/
H A Dfpending.c27 __fpending (FILE *fp) argument
H A Dfseterr.c27 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 Dfopen-safer.c33 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 Dp10-0x.cpp5 void (*fp)(int&) = &f; variable
/external/clang/test/Index/
H A Dwerror.c1 inline int *get_int_ptr(float *fp) { argument
2 return fp;
/external/llvm/test/MC/ARM/
H A Ddirective-arch_extension-fp.s12 .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 Dformat-strings-c90.c7 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 D2007-10-01-BuildArrayRef.c16 const struct foo *fp; local
17 fp = &sfoo;
18 fp[0].bar = 1; // expected-error {{read-only variable is not assignable}}
H A Dpointer-subtract-compat.c9 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 Dformat-strings-0x.cpp8 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 Dreinterpret-fn-obj-pedantic.cpp6 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 Dincomplete-call.cpp21 Func fp; local
22 fp(); // expected-error {{calling function with incomplete return type 'A'}}
/external/clang/test/CodeGenCXX/
H A Dattr-cleanup.cpp9 void *fp __attribute__((cleanup(N::free))); local
/external/oprofile/libutil/
H A Dop_cpufreq.c23 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 Dop_lockfile.c24 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 Dp2-places.cpp13 void (*fp)() throw (int); member in namespace:dyn
48 void (*fp)() noexcept(false);
/external/clang/test/CodeGen/
H A D2009-06-01-addrofknr.c18 struct funcptr fp; local
20 fp.func = &func;
21 fp.func = func;
/external/clang/test/Parser/
H A Dpointer_promotion.c7 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 Dgetline.cc19 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 Dstdio_h.pass.cpp85 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 Dcstdio.disabled.cpp86 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 Dinvoke.fail.cpp33 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 Dinvoke.fail.cpp36 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 Dchkcon.c19 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 Dcount-record.c21 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);

Completed in 3904 milliseconds

1234567891011>>