/bionic/benchmarks/ |
stdio_benchmark.cpp | 34 FILE* fp = fopen("/dev/zero", "rw"); local 35 __fsetlocking(fp, FSETLOCKING_BYCALLER); 39 setvbuf(fp, 0, _IONBF, 0); 43 f(buf, chunk_size, 1, fp); 48 fclose(fp); 74 FILE* fp = fopen("/proc/version", "re"); local 75 if (no_locking) __fsetlocking(fp, FSETLOCKING_BYCALLER); 76 if (fgets(buf, sizeof(buf), fp) == nullptr) abort(); 77 fclose(fp);
|
/bionic/libc/bionic/ |
tmpfile.cpp | 90 FILE* fp = fdopen(fd, "w+"); local 91 if (fp != NULL) { 92 return fp; 107 FILE* fp = __tmpfile_dir("/data/local/tmp"); local 108 if (fp == NULL) { 111 fp = __tmpfile_dir(P_tmpdir); 113 return fp;
|
/bionic/tests/ |
sys_stat_test.cpp | 27 FILE* fp = tmpfile(); local 28 ASSERT_TRUE(fp != NULL); 30 int fd = fileno(fp); 45 fclose(fp);
|
/build/tools/fs_config/ |
fs_config_generate.c | 58 FILE *fp = stdout; local 80 if (fp != stdout) { 85 fp = fopen(optarg, "wb"); 86 if (fp == NULL) { 120 if (fwrite(buffer, 1, len, fp) != (size_t)len) { 125 fclose(fp);
|
/cts/tests/tests/os/jni/ |
android_os_cts_NoExecutePermissionTest.cpp | 29 FILE *fp = fopen("/proc/self/maps", "re"); local 30 if (fp == NULL) { 34 while(fgets(line, sizeof(line), fp) != NULL) { 44 fclose(fp);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ScriptTest.java | 46 FieldPacker fp = new FieldPacker(4); local 47 fp.addI32(3); 48 S.setVar(12, fp); // structTest
|
/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 50 FILE *fp = fopen(file_name, "wb"); local 51 if (!fp) 63 png_init_io(png_ptr, fp); 88 fclose(fp);
|
/external/blktrace/btt/ |
args.c | 269 FILE *fp; local 273 fp = my_fopen(fname, "w"); 274 if (fp == NULL) { 281 return fp;
|
bno_dump.c | 29 FILE *fp; local 38 if ((fp = my_fopen(oname, "w")) == NULL) 41 add_file(fp, oname); 42 return fp; 45 static inline void bno_dump_write(FILE *fp, struct io *iop) 47 fprintf(fp, "%15.9lf %lld %lld\n", BIT_TIME(iop->t.time), 75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; local 77 if (fp) 78 bno_dump_write(fp, iop);
|
devmap.c | 67 FILE *fp = my_fopen(fname, "r"); local 69 if (!fp) { 74 while (fscanf(fp, "%255[a-zA-Z0-9 :.,/_-]\n", line) == 1) {
|
plat.c | 26 FILE *fp; member in struct:plat_info 43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { 47 add_file(pp->fp, oname); 61 fprintf(pp->fp, "%lf %lf\n", 82 fprintf(pp->fp, "%lf %lf\n",
|
/external/clang/test/Analysis/ |
taint-tester.cpp | 18 FILE *fp; local
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
p13.cpp | 61 typedef void (*fp)(); typedef in namespace:rdar8018262 64 typedef void (*fp)(); typedef in namespace:rdar8018262::N 67 using N::fp; 69 fp fp_1;
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-cxx0x-no-extra-copy.cpp | 63 float &fp = g<X3>(); // expected-error{{call to 'g' is ambiguous}} local
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/ |
p3.cpp | 12 const float * const volatile fp = ap; local
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/ |
p11.cpp | 30 float *fp = f3<int>( 42, (A<int,int>*)0 ); // Ok, picks #2. local
|
/external/clang/test/CodeGenCXX/ |
global-llvm-constant.cpp | 13 int (*fp)(int, int); member in struct:X
|
/external/clang/test/PCH/ |
variables.c | 34 float *fp = &ip; // expected-warning{{incompatible pointer types}} variable
|
/external/clang/test/Parser/ |
cxx-default-args.cpp | 42 typedef int *fp(int x = ); // expected-error{{default arguments can only be specified for parameters in a function declaration}} typedef in struct:U
|
/external/clang/test/Sema/ |
static-array.c | 26 typedef void(*fp)(int[static 42]); // no-warning typedef
|
/external/clang/test/SemaTemplate/ |
typename-specifier-2.cpp | 21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variable of type 'bind_metafun<add_pointer, float>::type::type' (aka 'float *') with an rvalue of type 'int *'}} variable
|
/external/e2fsprogs/ext2ed/ |
disk.c | 145 FILE *fp; local 147 if ((fp=fopen (LogFile,"a+"))==NULL) { 154 fprintf (fp,"\n----- EXT2ED log begin -----\n\n"); 155 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) ¤t_time),device_name); 156 fprintf (fp,"Offset: %lu\nLength: %lu\n",offset,length); 162 refresh_command_win ();fclose (fp);return (0); 166 fclose (fp);return (0); 169 fprintf (fp,"\nOriginal data:\n\n"); 172 if (i%16==0 && i!=0) fprintf (fp,"\n"); 173 fprintf (fp,"%02x ",original [i]) [all...] |
/external/icu/icu4c/as_is/ |
bomlist.py | 31 fp = (path + "/" + file) variable 32 if not os.path.isfile(fp): 34 f = open(fp, 'rb') 37 print 'icu/'+fp[2::]
|
/external/iproute2/bridge/ |
monitor.c | 42 FILE *fp = arg; local 45 print_timestamp(fp); 51 fprintf(fp, "[LINK]"); 58 fprintf(fp, "[NEIGH]"); 64 fprintf(fp, "[MDB]"); 68 print_nlmsg_timestamp(fp, n); 123 FILE *fp; local 125 fp = fopen(file, "r"); 126 if (fp == NULL) { 130 err = rtnl_from_file(fp, accept_msg, stdout) [all...] |
/external/iproute2/ip/ |
ipprefix.c | 40 FILE *fp = (FILE*)arg; local 74 fprintf(fp, "prefix "); 83 fprintf(fp, "%s", rt_addr_n2a(family, 88 fprintf(fp, "/%u ", prefix->prefix_len); 90 fprintf(fp, "dev %s ", ll_index_to_name(prefix->prefix_ifindex)); 93 fprintf(fp, "onlink "); 95 fprintf(fp, "autoconf "); 101 fprintf(fp, "valid %u ", pc->valid_time); 102 fprintf(fp, "preferred %u ", pc->preferred_time); 105 fprintf(fp, "\n") [all...] |