/external/fio/engines/ |
libhdfs.c | 32 hdfsFile fp; member in struct:hdfsio_data 44 hd->fp = hdfsOpenFile(hd->fs, ".fcount", O_RDONLY, 0, 0, 0); 45 if (hd->fp) { 46 hdfsRead(hd->fs, hd->fp, &(hd->fscount), sizeof(hd->fscount)); 47 hdfsCloseFile(hd->fs, hd->fp); 49 hd->fp = hdfsOpenFile(hd->fs, ".fbs", O_RDONLY, 0, 0, 0); 50 if (hd->fp) { 51 hdfsRead(hd->fs, hd->fp, &(hd->fsbs), sizeof(hd->fsbs)); 52 hdfsCloseFile(hd->fs, hd->fp); 82 hdfsCloseFile(hd->fs, hd->fp); [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-filepath_test.cc | 612 FilePath fp; local 613 EXPECT_STREQ("", fp.c_str()); 617 const FilePath fp("spicy"); 618 EXPECT_STREQ("spicy", fp.c_str()); 620 const FilePath fp_copy(fp); 625 const FilePath fp(String("cider")); 626 EXPECT_STREQ("cider", fp.c_str());
|
/external/gtest/test/ |
gtest-filepath_test.cc | 596 FilePath fp; local 597 EXPECT_EQ("", fp.string()); 601 const FilePath fp("spicy"); 602 EXPECT_EQ("spicy", fp.string()); 604 const FilePath fp_copy(fp); 609 const FilePath fp(std::string("cider")); 610 EXPECT_EQ("cider", fp.string());
|
/external/icu/icu4c/source/i18n/ |
scientificnumberformatter.cpp | 136 FieldPosition fp; local 138 while (fpi.next(fp)) { 139 switch (fp.getField()) { 144 fp.getBeginIndex() - copyFromOffset); 145 copyFromOffset = fp.getEndIndex(); 150 int32_t beginIndex = fp.getBeginIndex(); 151 int32_t endIndex = fp.getEndIndex(); 176 fp.getBeginIndex() - copyFromOffset); 179 fp.getBeginIndex(), 180 fp.getEndIndex() 210 FieldPosition fp; local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtptngen.h | 505 FormatParser *fp; member in class:DateTimePatternGenerator
|
/external/iproute2/bridge/ |
vlan.c | 144 FILE *fp = arg; local 171 fprintf(fp, "%s\tNone\n", ll_index_to_name(ifm->ifi_index)); 177 fprintf(fp, "%s", ll_index_to_name(ifm->ifi_index)); 186 fprintf(fp, "-%hu", vinfo->vid); 188 fprintf(fp, "\t %hu", vinfo->vid); 192 fprintf(fp, " PVID"); 194 fprintf(fp, " Egress Untagged"); 195 fprintf(fp, "\n"); 198 fprintf(fp, "\n"); 199 fflush(fp); [all...] |
/external/iproute2/ip/ |
ipaddrlabel.c | 58 FILE *fp = (FILE*)arg; local 74 fprintf(fp, "Deleted "); 77 fprintf(fp, "prefix %s/%u ", 86 fprintf(fp, "dev %s ", ll_index_to_name(ifal->ifal_index)); 91 fprintf(fp, "label %u ", label); 94 fprintf(fp, "\n"); 95 fflush(fp);
|
ipmonitor.c | 41 static void print_headers(FILE *fp, char *label, struct rtnl_ctrl_data *ctrl) 44 print_timestamp(fp); 48 fprintf(fp, "[nsid current]"); 50 fprintf(fp, "[nsid %d]", ctrl->nsid); 54 fprintf(fp, "%s", label); 61 FILE *fp = (FILE*)arg; local 77 print_headers(fp, "[MROUTE]", ctrl); 81 print_headers(fp, "[ROUTE]", ctrl); 89 print_headers(fp, "[LINK]", ctrl); 94 print_headers(fp, "[ADDR]", ctrl) 286 FILE *fp; local [all...] |
ipmroute.c | 58 FILE *fp = (FILE*)arg; local 123 fprintf(fp, "Deleted "); 142 fprintf(fp, "%-32s Iif: ", obuf); 144 fprintf(fp, "%-10s ", ll_index_to_name(iif)); 146 fprintf(fp, "unresolved "); 161 fprintf(fp, "Oifs: "); 164 fprintf(fp, "%s", ll_index_to_name(nh->rtnh_ifindex)); 166 fprintf(fp, "(ttl %d) ", nh->rtnh_hops); 168 fprintf(fp, " "); 176 fprintf(fp, "%s %"PRIu64" packets, %"PRIu64" bytes", _SL_ [all...] |
iptoken.c | 33 FILE *fp; member in struct:rtnl_dump_args 48 FILE *fp = args->fp; local 82 fprintf(fp, "token %s ", 87 fprintf(fp, "dev %s ", ll_index_to_name(ifi->ifi_index)); 88 fprintf(fp, "\n"); 89 fflush(fp); 100 da.fp = stdout;
|
/external/iproute2/misc/ |
lnstat.h | 32 FILE *fp; member in struct:lnstat_file
|
/external/iproute2/tc/ |
tc_core.c | 202 FILE *fp; local 207 fp = fopen("/proc/net/psched", "r"); 208 if (fp == NULL) 211 if (fscanf(fp, "%08x%08x%08x", &t2us, &us2t, &clock_res) != 3) { 212 fclose(fp); 215 fclose(fp);
|
tc_qdisc.c | 208 FILE *fp = (FILE*)arg; local 237 fprintf(fp, "deleted "); 239 fprintf(fp, "qdisc %s %x: ", rta_getattr_str(tb[TCA_KIND]), t->tcm_handle>>16); 241 fprintf(fp, "dev %s ", ll_index_to_name(t->tcm_ifindex)); 243 fprintf(fp, "root "); 246 fprintf(fp, "parent %s ", abuf); 249 fprintf(fp, "refcnt %d ", t->tcm_info); 260 q->print_qopt(q, fp, tb[TCA_OPTIONS]); 262 fprintf(fp, "[cannot parse qdisc parameters]"); 264 fprintf(fp, "\n") [all...] |
/external/ipsec-tools/src/racoon/ |
backupsa.c | 101 FILE *fp; local 179 (fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "a")) == NULL) { 185 fprintf(fp, "%s\n", buf); 186 fclose(fp); 199 FILE *fp; local 211 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_BACKUPSA], "r"); 213 fp = NULL; 214 if (fp == NULL) { 223 for(line = 1; fgets(buf, sizeof(buf), fp) != NULL; line++) { 325 fclose(fp); 341 FILE *fp; local [all...] |
localconf.c | 179 FILE *fp; local 187 fp = fopen(lcconf->pathinfo[LC_PATHTYPE_PSK], "r"); 189 fp = NULL; 190 if (fp == NULL) { 197 while (fgets(buf, sizeof(buf), fp) != NULL) { 246 fclose(fp);
|
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.pass.cpp | 56 void (*fp)(int) = f_void_1; 57 std::reference_wrapper<void (*)(int)> r1(fp); 74 void (A_void_1::*fp)() = &A_void_1::mem1; 75 std::reference_wrapper<void (A_void_1::*)()> r1(fp); 87 void (A_void_1::*fp)() const = &A_void_1::mem2; 88 std::reference_wrapper<void (A_void_1::*)() const> r1(fp); 131 int (*fp)(int) = f_int_1; 132 std::reference_wrapper<int (*)(int)> r1(fp); 145 int (A_int_1::*fp)() = &A_int_1::mem1; 146 std::reference_wrapper<int (A_int_1::*)()> r1(fp); 163 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1 [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/ |
btBulletFile.cpp | 261 void btBulletFile::writeDNA(FILE* fp) 274 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); 275 fwrite(sBulletDNAstr64, sBulletDNAlen64,1,fp); 285 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); 286 fwrite(sBulletDNAstr, sBulletDNAlen,1,fp); 296 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); 297 fwrite(sBulletDNAstr64, sBulletDNAlen64,1,fp); 303 fwrite(&dataChunk,sizeof(bChunkInd),1,fp); 304 fwrite(sBulletDNAstr, sBulletDNAlen,1,fp); 371 FILE *fp = fopen(fileName, "wb") local [all...] |
/external/libjpeg-turbo/ |
jpegtran.c | 386 FILE * fp; local 442 if ((fp = fopen(argv[file_index], READ_BINARY)) == NULL) { 448 fp = read_stdin(); 456 jpeg_stdio_src(&srcinfo, fp); 500 if (fp != stdin) 501 fclose(fp); 505 if ((fp = fopen(outfilename, WRITE_BINARY)) == NULL) { 511 fp = write_stdout(); 518 jpeg_stdio_dest(&dstinfo, fp); 540 if (fp != stdout [all...] |
rdswitch.c | 91 FILE * fp; local 96 if ((fp = fopen(filename, "r")) == NULL) { 102 while (read_text_integer(fp, &val, &termchar)) { /* read 1st element of table */ 105 fclose(fp); 110 if (! read_text_integer(fp, &val, &termchar)) { 112 fclose(fp); 129 fclose(fp); 133 fclose(fp); 187 FILE * fp; local 194 if ((fp = fopen(filename, "r")) == NULL) [all...] |
/external/libmicrohttpd/doc/examples/ |
largepost.c | 29 FILE *fp; member in struct:connection_info_struct 83 FILE *fp; local 91 if (!con_info->fp) 93 if (NULL != (fp = fopen (filename, "rb"))) 95 fclose (fp); 101 con_info->fp = fopen (filename, "ab"); 102 if (!con_info->fp) 108 if (!fwrite (data, size, sizeof (char), con_info->fp)) 136 if (con_info->fp) 137 fclose (con_info->fp); [all...] |
/external/libopus/silk/ |
debug.c | 85 FILE *fp; local 106 fp = fopen(file_name, "w"); 107 fprintf(fp, " min avg %% max count\n"); 110 fprintf(fp, "%-28s", silk_Timer_tags[k]); 112 fprintf(fp, " %-27s", silk_Timer_tags[k]); 114 fprintf(fp, " %-26s", silk_Timer_tags[k]); 116 fprintf(fp, " %-25s", silk_Timer_tags[k]); 118 fprintf(fp, " %-24s", silk_Timer_tags[k]); 121 fprintf(fp, "%8.2f", (1e6 * (silk_max_64(silk_Timer_min[k] - del, 0))) / lpFrequency.QuadPart); 122 fprintf(fp, "%12.2f %6.2f", avg, 100.0 * avg / sum_avg * silk_Timer_cnt[k]) 136 FILE *fp; local [all...] |
/external/libpng/contrib/libtests/ |
timepng.c | 38 static int read_png(FILE *fp) 55 png_init_io(png_ptr, fp); 111 static int perform_one_test(FILE *fp, int nfiles) 117 rewind(fp); 123 if (read_png(fp)) 125 if (ferror(fp)) 181 static int add_one_file(FILE *fp, char *name) 192 putc(ch, fp); 204 if (ferror(fp)) 225 FILE *fp = tmpfile() local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_main.c | 47 dump_type(FILE *fp, 50 fprintf(fp, "%s%s%u%sx%u", 284 dump_vec(FILE *fp, struct lp_type type, const void *src) 289 fprintf(fp, " "); 303 fprintf(fp, "%f", value); 331 fprintf(fp, format, value); 358 fprintf(fp, format, value); 368 FILE *fp = NULL; local 380 fp = fopen(argv[++i], "wt"); 396 if(fp) { [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
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->insn[i] << 16) 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...] |
nv30_vertprog.c | 58 struct nv30_fragprog *fp = nv30->fragprog.program; local 64 if (memcmp(vp->texcoord, fp->texcoord, sizeof(vp->texcoord))) { 67 memcpy(vp->texcoord, fp->texcoord, sizeof(vp->texcoord)); 212 PUSH_DATA (push, vp->or | fp->vp_or);
|