/external/autotest/client/tests/kvm/deps/ |
rss.cpp | 573 FILE *fp = fopen(filename, "rb"); local 574 if (!fp) return FALSE; 577 int bytes_read = fread(ci->chunk_buffer, 1, ci->chunk_size, fp); 581 if (ferror(fp)) 584 fclose(fp); 590 fclose(fp); 597 FILE *fp = fopen(filename, "wb"); local 598 if (!fp) return FALSE; 606 if (fwrite(ci->chunk_buffer, bytes_received, 1, fp) < 1) 609 fclose(fp); 777 FILE *fp = fopen(path, "rb"); local [all...] |
/external/blktrace/ |
blkiomon.c | 69 FILE *fp; member in struct:output 113 fprintf(debug.fp, "--- %s ---\n", descr); 114 fprintf(debug.fp, "magic %16d\n", bit->magic); 115 fprintf(debug.fp, "sequence %16d\n", bit->sequence); 116 fprintf(debug.fp, "time %16ld\n", (unsigned long)bit->time); 117 fprintf(debug.fp, "sector %16ld\n", (unsigned long)bit->sector); 118 fprintf(debug.fp, "bytes %16d\n", bit->bytes); 119 fprintf(debug.fp, "action %16x\n", bit->action); 120 fprintf(debug.fp, "pid %16d\n", bit->pid); 121 fprintf(debug.fp, "device %16d\n", bit->device) [all...] |
/external/bzip2/ |
bzlib.c | 1394 FILE *fp = NULL; local 1517 FILE *fp; local [all...] |
/external/dhcpcd-6.8.2/ |
dhcpcd.c | 95 FILE *fp; local 98 if ((fp = fopen(pidfile, "r")) == NULL) { 102 if (fscanf(fp, "%d", &pid) != 1) 104 fclose(fp); [all...] |
/external/gmock/test/ |
gmock-generated-actions_test.cc | 659 function_type* fp = &Dummy; local 660 return (*fp)(true); [all...] |
/external/google-breakpad/src/testing/test/ |
gmock-generated-actions_test.cc | 659 function_type* fp = &Dummy; local 660 return (*fp)(true); [all...] |
/external/harfbuzz_ng/util/ |
options.hh | 332 fp = NULL; 346 if (fp) 347 fclose (fp); 368 FILE *fp; member in struct:text_options_t 383 fp = NULL; 390 if (fp) 391 fclose (fp); 421 mutable FILE *fp; member in struct:output_options_t
|
/external/icu/icu4c/source/i18n/ |
udat.cpp | 232 FieldPosition fp; local 235 fp.setField(position->field); 237 ((DateFormat*)format)->format(dateToFormat, res, fp); 240 position->beginIndex = fp.getBeginIndex(); 241 position->endIndex = fp.getEndIndex(); 270 FieldPosition fp; local 273 fp.setField(position->field); 275 ((DateFormat*)format)->format(*(Calendar*)calendar, res, fp); 278 position->beginIndex = fp.getBeginIndex(); 279 position->endIndex = fp.getEndIndex() [all...] |
/external/iproute2/ip/ |
xfrm_state.c | 871 FILE *fp = (FILE*)arg; local 911 fprintf(fp, "Deleted "); 913 fprintf(fp, "Updated "); 915 fprintf(fp, "Expired "); 940 xfrm_state_info_print(xsinfo, tb, fp, NULL, NULL); 943 fprintf(fp, "\t"); 944 fprintf(fp, "hard %u", xexp->hard); 945 fprintf(fp, "%s", _SL_); 949 fprintf(fp, "\n"); 950 fflush(fp); 1234 FILE *fp = (FILE*)arg; local [all...] |
/external/iproute2/lib/ |
utils.c | 674 FILE *fp; local 686 fp = fopen(name, "r"); 688 if (fp) { 690 if (fscanf(fp, "%*08x%*08x%08x%08x", &nom, &denom) == 2) 693 fclose(fp); 904 int print_timestamp(FILE *fp) 916 fprintf(fp, "[%s.%06ld] ", tshort, tv.tv_usec); 921 fprintf(fp, "Timestamp: %s %ld usec\n", 1021 void print_nlmsg_timestamp(FILE *fp, const struct nlmsghdr *n) 1028 fprintf(fp, "Timestamp: %s %lu us\n", tstr, usecs) [all...] |
/external/iproute2/misc/ |
arpd.c | 128 FILE *fp; local 132 if ((fp = fopen(buf, "w")) != NULL) { 137 fputs(buf, fp); 138 fclose(fp); 143 if ((fp = fopen(buf, "w")) != NULL) { 145 fputs(buf, fp); 146 fclose(fp); 161 FILE *fp; local 165 if ((fp = fopen(buf, "w")) != NULL) { 167 fputs(buf, fp); 691 FILE *fp; local [all...] |
ifstat.c | 178 static void load_raw_table(FILE *fp) 184 while (fgets(buf, sizeof(buf), fp) != NULL) { 241 static void dump_raw_db(FILE *fp, int to_hist) 243 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; 252 fprintf(fp, "#%s\n", info_source); 280 fprintf(fp, "%d %s ", n->ifindex, n->name); 282 fprintf(fp, "%llu %u ", vals[i], 284 fprintf(fp, "\n"); 298 static void format_rate(FILE *fp, const unsigned long long *vals, 304 fprintf(fp, "%7lluM ", vals[i]/mega) 615 FILE *fp = fdopen(clnt, "w"); local [all...] |
nstat.c | 117 static void load_good_table(FILE *fp) 123 while (fgets(buf, sizeof(buf), fp) != NULL) { 171 static void load_ugly_table(FILE *fp) 177 while (fgets(buf, sizeof(buf), fp) != NULL) { 213 if (fgets(buf, sizeof(buf), fp) == NULL) 248 FILE *fp = fdopen(net_snmp_open(), "r"); local 249 if (fp) { 250 load_ugly_table(fp); 251 fclose(fp); 257 FILE *fp = fdopen(net_snmp6_open(), "r") local 266 FILE *fp = fdopen(net_netstat_open(), "r"); local 457 FILE *fp = fdopen(clnt, "w"); local [all...] |
/external/iptables/libxtables/ |
xtoptions.c | 1111 FILE *fp; local 1115 fp = fopen(file, "re"); 1116 if (fp == NULL) 1119 while (fgets(buf, sizeof(buf), fp) != NULL) { 1171 fclose(fp); 1174 fclose(fp); [all...] |
/external/libedit/src/ |
history.c | 735 FILE *fp; local 745 if ((fp = fopen(fname, "r")) == NULL) 748 if ((line = fgetln(fp, &sz)) == NULL) 757 for (i = 0; (line = fgetln(fp, &sz)) != NULL; i++) { 785 (void) fclose(fp); 796 FILE *fp; local 806 if ((fp = fopen(fname, "w")) == NULL) 809 if (fchmod(fileno(fp), S_IRUSR|S_IWUSR) == -1) 811 if (fputs(hist_cookie, fp) == EOF) 832 (void) fprintf(fp, "%s\n", ptr) [all...] |
/external/libpcap/ |
sf-pcap-ng.c | 231 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, 236 amt_read = fread(buf, 1, bytes_to_read, fp); 238 if (ferror(fp)) { 256 read_block(FILE *fp, pcap_t *p, struct block_cursor *cursor, char *errbuf) 261 status = read_bytes(fp, &bhdr, sizeof(bhdr), 0, errbuf); 316 if (read_bytes(fp, p->buffer + sizeof(bhdr), 645 pcap_ng_check_header(bpf_u_int32 magic, FILE *fp, u_int precision, char *errbuf, 693 amt_read = fread(&total_length, 1, sizeof(total_length), fp); 695 if (ferror(fp)) { 709 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp); 956 FILE *fp = p->rfile; local [all...] |
/external/libpng/ |
pngwrite.c | 2325 FILE *fp = fopen(file_name, "wb"); local [all...] |
/external/libselinux/src/ |
label_file.c | 416 FILE *fp; local 438 fp = fopen(path, "r"); 439 if (fp) { 440 if (fstat(fileno(fp), &sb) < 0) 447 if (fread(&magic, sizeof magic, 1, fp) != 1) { 449 fclose(fp); 455 fclose(fp); 456 fp = NULL; 459 rewind(fp); 474 if (!fp) [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_driver.h | 158 } fp; member in union:nv50_ir_prog_info::__anon19688
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs.h | 342 const struct gl_fragment_program *fp; member in class:fs_visitor
|
brw_wm_fp.c | 512 struct gl_program_parameter_list *paramList = c->fp->program.Base.Parameters; 533 struct gl_program_parameter_list *paramList = c->fp->program.Base.Parameters; 606 * above. See piglit fp-dst-aliasing-[12]. 667 const GLuint unit = c->fp->program.Base.SamplerUnits[inst->TexSrcUnit]; 981 if (c->fp->program.Base.OutputsWritten & (1 << FRAG_RESULT_COLOR)) { 1054 struct brw_fragment_program *fp = c->fp; local 1058 printf("pre-fp:\n"); 1059 _mesa_fprint_program_opt(stdout, &fp->program.Base, PROG_PRINT_DEBUG, 1080 for (insn = 0; insn < fp->program.Base.NumInstructions; insn++) [all...] |
brw_wm_surface_state.c | 968 struct brw_fragment_program *fp = local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_bitmap.c | 182 struct st_fragment_program *fp = (struct st_fragment_program *) local 185 if (!fp) 188 get_bitmap_visitor(fp, orig->glsl_to_tgsi, samplerIndex); 189 return &fp->Base.Base; 429 fpv = st_get_fp_variant(st, st->fp, &key);
|
st_context.h | 132 struct st_fragment_program *fp; /**< Currently bound fragment program */ member in struct:st_context
|
st_mesa_to_tgsi.c | 862 const struct gl_fragment_program *fp = local 896 if (fp->OriginUpperLeft) { 921 if (fp->PixelCenterInteger) { [all...] |