/external/compiler-rt/test/dfsan/ |
H A D | vararg.c | 15 int (*fp)(const char *, ...); 18 fp = do_nothing; 20 fp = printf; 23 fp("hello %s\n", "world");
|
/external/clang/test/CodeGen/ |
H A D | 2002-07-14-MiscTests2.c | 5 extern fp(int, char*); 10 fp (12, Ext ? Ext : "<none>");
|
H A D | 2009-06-01-addrofknr.c | 18 struct funcptr fp; local 20 fp.func = &func; 21 fp.func = func;
|
H A D | tbaa-for-vptr.cpp | 20 void CallFoo(A *a, int (A::*fp)() const) { 22 (a->*fp)();
|
H A D | c11atomics-ios.c | 10 void testFloat(_Atomic(float) *fp) { 18 __c11_atomic_init(fp, 1.0f); 28 float f = *fp; 35 *fp = f; 41 void testComplexFloat(_Atomic(_Complex float) *fp) { 54 __c11_atomic_init(fp, 1.0f); 75 _Complex float f = *fp; 90 *fp = f; 97 void testStruct(_Atomic(S) *fp) { 113 __c11_atomic_init(fp, ( [all...] |
/external/clang/test/Index/ |
H A D | werror.c | 1 inline int *get_int_ptr(float *fp) { argument 2 return fp;
|
/external/clang/test/SemaCXX/ |
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/clang/test/Sema/ |
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}}
|
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}}
|
/external/icu/icu4c/source/test/testdata/ |
H A D | NumberFormatTestCases.txt | 15 fp: "0.####" 0.10005 "0.1" 0.1 16 fp: - 0.10006 "0.1001" 0.1001 18 fp: "#.####" 0.10005 "0.1" 0.1 25 fp: "@@@" 1.234567 "1.23" 1.23 26 fp: - 1234567 "1230000" 1230000 27 fp: - 0.012345 "0.0123" 0.0123 29 fp: "#,@@@" 1234567 "1,230,000" 1230000 32 fp: - 0.99999 "1.000" 1 36 fp: - 123456 "123500" 123500 37 fp [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatTestCases.txt | 15 fp: "0.####" 0.10005 "0.1" 0.1 16 fp: - 0.10006 "0.1001" 0.1001 18 fp: "#.####" 0.10005 "0.1" 0.1 25 fp: "@@@" 1.234567 "1.23" 1.23 26 fp: - 1234567 "1230000" 1230000 27 fp: - 0.012345 "0.0123" 0.0123 29 fp: "#,@@@" 1234567 "1,230,000" 1230000 32 fp: - 0.99999 "1.000" 1 36 fp: - 123456 "123500" 123500 37 fp [all...] |
/external/bison/lib/ |
H A D | fseterr.h | 29 # define fseterr(fp) __fseterr (fp) 37 extern void fseterr (FILE *fp);
|
H A D | fpending.c | 27 __fpending (FILE *fp) argument
|
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/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/google-breakpad/src/testing/scripts/generator/cpp/ |
H A D | utils.py | 33 fp = open(filename) 35 return fp.read() 37 fp.close()
|
/external/selinux/libsepol/tests/ |
H A D | debug.c | 27 void print_ebitmap(ebitmap_t * bitmap, FILE * fp) argument 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) argument 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/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/valgrind/memcheck/tests/ |
H A D | fprw.c | 12 float* fp = malloc(sizeof(float)); local 17 *fp += ( f > 0.1 ? 20.0 : 21.0 ); 19 free(fp); 21 *fp += 30.0;
|
/external/libavc/encoder/ |
H A D | ih264e_trace.h | 55 * fp 57 FILE *fp; member in struct:__anon7688 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/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);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | debug.c | 28 * fp -- file to dump to 34 * Dumps buffer to fp in an easy-to-read format 37 dumpHex(FILE *fp, unsigned char const *buf, int len) argument 42 if (!fp) return; 46 fprintf(fp, "(PAP Authentication Frame -- Contents not dumped)\n"); 53 fprintf(fp, "%02x ", (unsigned) buf[i]); 55 fprintf(fp, " "); 58 fprintf(fp, " "); 62 fprintf(fp, "%c", buf[i]); 64 fprintf(fp, " 86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_fragprog.c | 37 struct nv30_fragprog *fp = nv30->fragprog.program; local 43 if (unlikely(!fp->buffer)) { 44 fp->buffer = pipe_buffer_create(pipe->screen, 0, 0, fp->insn_len * 4); 47 map = pipe_buffer_map(pipe, fp->buffer, PIPE_TRANSFER_WRITE, &transfer); 49 memcpy(map, fp->insn, fp->insn_len * 4); 51 for (i = 0; i < fp->insn_len; i++) 52 *map++ = (fp->insn[i] >> 16) | (fp 65 struct nv30_fragprog *fp = nv30->fragprog.program; local 134 struct nv30_fragprog *fp = CALLOC_STRUCT(nv30_fragprog); local 146 struct nv30_fragprog *fp = hwcso; local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
H A D | scheck.c | 14 register const char * fp; local 26 fp = format; 36 while ((*tp++ = c = *fp++) != '\0') { 39 if (is_digit(*fp)) { 40 char const *f = fp; 46 fp = f; 51 if (*fp == '*') 52 ++fp; 53 if ((*tp++ = *fp++) == '\0')
|