/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 97 FILE *fp; local 98 if ((fp = fopen("/sys/devices/system/soc/soc0/id", "r")) != NULL) { 99 fscanf(fp, "%d", &id); 100 fclose(fp); [all...] |
/external/checkpolicy/test/ |
dismod.c | 75 FILE * fp) 78 fprintf(fp, "{"); 81 fprintf(fp, "%s ", perm); 82 fprintf(fp, "}"); 86 policydb_t * p, FILE * fp) 90 fprintf(fp, "{"); 95 fprintf(fp, " %s", perm); 98 fprintf(fp, " }"); 101 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, 109 fprintf(fp, " [%s%s]", prefix, id) 295 FILE *fp; local 500 FILE *fp; local [all...] |
/external/chromium/chrome/browser/download/ |
download_manager_unittest.cc | 536 FILE* fp = file_util::OpenFile(new_path, "w"); local 537 file_util::CloseFile(fp);
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_database_unittest.cc | 1101 FILE* fp = file_util::OpenFile(database_filename_, "r+"); local [all...] |
/external/chromium_org/base/process/ |
process_util_unittest.cc | 79 FILE* fp; local 82 fp = fopen(filename, "r"); 83 } while (!fp); 84 fclose(fp); 89 FILE* fp = fopen(filename, "w"); local 90 fclose(fp);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nvfx_fragprog.c | 20 struct nv30_fragprog *fp; member in struct:nvfx_fpc 80 struct nv30_fragprog *fp = fpc->fp; local 82 fp->insn_len += size; 83 fp->insn = realloc(fp->insn, sizeof(uint32_t) * fp->insn_len); 89 struct nv30_fragprog *fp = fpc->fp; local 90 uint32_t *hw = &fp->insn[fpc->inst_offset] 162 struct nv30_fragprog *fp = fpc->fp; local 191 struct nv30_fragprog *fp = fpc->fp; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_surface.c | 435 struct nv50_program *fp; member in struct:nv50_blitctx::__anon15402 443 struct nv50_program fp; member in struct:nv50_blitctx 578 blit->fp.type = PIPE_SHADER_FRAGMENT; 579 blit->fp.translated = TRUE; 580 blit->fp.code = (uint32_t *)code; /* const_cast */ 581 blit->fp.code_size = sizeof(code); 582 blit->fp.max_gpr = 5; 583 blit->fp.max_out = 4; 584 blit->fp.in_nr = 1; 585 blit->fp.in[0].mask = 0x7; /* last component flat * [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_surface.c | 456 struct nvc0_program *fp; member in struct:nvc0_blitctx::__anon15412 464 struct nvc0_program fp; member in struct:nvc0_blitctx 644 blit->fp.type = PIPE_SHADER_FRAGMENT; 645 blit->fp.translated = TRUE; 647 blit->fp.code = (uint32_t *)code_nve4; /* const_cast */ 648 blit->fp.code_size = sizeof(code_nve4); 650 blit->fp.code = (uint32_t *)code_nvc0; /* const_cast */ 651 blit->fp.code_size = sizeof(code_nvc0); 653 blit->fp.max_gpr = 4; 655 blit->fp.hdr[0] = 0x00021462; /* fragprog magic * [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_fragprog.c | 1318 struct i915_fragment_program *fp = local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_program.c | 503 struct gl_fragment_program *fp; /* we free this temp program below */ local 506 &fp, &variant->bitmap_sampler); 508 variant->parameters = _mesa_clone_parameter_list(fp->Base.Parameters); 509 stfp = st_fragment_program(fp); 514 struct gl_fragment_program *fp; /* we free this temp program below */ local 517 fp = st_make_drawpix_z_stencil_program(st, key->drawpixels_z, 522 st_make_drawpix_fragment_program(st, &stfp->Base, &fp); 523 variant->parameters = _mesa_clone_parameter_list(fp->Base.Parameters); 526 stfp = st_fragment_program(fp); 761 struct gl_fragment_program *fp = &stfp->Base local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/conf/ |
conf.h | 126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, variable 164 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
conf.h | 126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, variable 164 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline);
|
/external/clang/test/Analysis/ |
taint-tester.c | 87 FILE *fp; local 97 if((fp=fopen("test", "w")) == 0) // expected-warning + {{tainted}} 99 fprintf(fp, "%s %d", s, t); // expected-warning + {{tainted}} 100 fclose(fp); // expected-warning + {{tainted}} 103 if((fp=fopen("test","r")) == 0) // expected-warning + {{tainted}} 105 fscanf(fp, "%s%d", s, &t); // expected-warning + {{tainted}} 161 FILE *fp; local
|
/external/clang/test/SemaCXX/ |
cstyle-cast.cpp | 37 f fp = 0; local 39 f *fpp = (f*)(&fp); 207 fnptr fp = 0; local 208 (void)(fnptr2)(fp); 209 void *vp = (void*)(fp);
|
/external/dropbear/ |
keyimport.c | 145 FILE*fp; local 163 fp = fopen(filename, "w"); 164 if (!fp) { 172 1, buf->len - buf->pos, fp); 176 fclose(fp); 200 static void base64_encode_fp(FILE * fp, unsigned char *data, 216 fwrite(out, 1, outlen, fp); 217 fputc('\n', fp); 364 FILE *fp = NULL; local 377 fp = stdin 706 FILE *fp; local [all...] |
/external/harfbuzz_ng/util/ |
options.hh | 275 fp = NULL; 284 if (fp) 285 fclose (fp); 307 FILE *fp; member in struct:text_options_t 321 fp = NULL; 326 if (fp) 327 fclose (fp); 354 mutable FILE *fp; member in struct:output_options_t
|
/external/icu4c/i18n/ |
udat.cpp | 222 FieldPosition fp; local 225 fp.setField(position->field); 227 ((DateFormat*)format)->format(dateToFormat, res, fp); 230 position->beginIndex = fp.getBeginIndex(); 231 position->endIndex = fp.getEndIndex(); [all...] |
/external/iproute2/misc/ |
ifstat.c | 149 void load_raw_table(FILE *fp) 155 while (fgets(buf, sizeof(buf), fp) != NULL) { 212 void dump_raw_db(FILE *fp, int to_hist) 216 fprintf(fp, "#%s\n", info_source); 235 fprintf(fp, "%d %s ", n->ifindex, n->name); 237 fprintf(fp, "%llu %u ", vals[i], (unsigned)rates[i]); 238 fprintf(fp, "\n"); 247 void format_rate(FILE *fp, unsigned long long *vals, double *rates, int i) 251 fprintf(fp, "%7lluM ", vals[i]/mega); 253 fprintf(fp, "%7lluK ", vals[i]/kilo) 522 FILE *fp = fdopen(clnt, "w"); local [all...] |
nstat.c | 114 void load_good_table(FILE *fp) 120 while (fgets(buf, sizeof(buf), fp) != NULL) { 160 void load_ugly_table(FILE *fp) 166 while (fgets(buf, sizeof(buf), fp) != NULL) { 200 if (fgets(buf, sizeof(buf), fp) == NULL) 233 FILE *fp = fdopen(net_snmp_open(), "r"); local 234 if (fp) { 235 load_ugly_table(fp); 236 fclose(fp); 242 FILE *fp = fdopen(net_snmp6_open(), "r") local 251 FILE *fp = fdopen(net_netstat_open(), "r"); local 407 FILE *fp = fdopen(clnt, "w"); local [all...] |
/external/iputils/ninfod/ |
ninfod.c | 443 FILE *fp; local 458 FILE *fp = NULL; local 463 if ((fp = fopen(opt_p, "r"))) { 464 if (fscanf(fp, "%d", &pid) != 1) { 471 fclose(fp); 476 fp = fopen_excl(opt_p); 477 if (!fp) { 491 if (fp) { 492 fprintf(fp, "%d\n", getpid()); 493 fclose(fp); [all...] |
/external/libppp/src/ |
datalink.c | 560 datalink_LayerStart(void *v, struct fsm *fp) 565 if (fp->proto == PROTO_LCP) 566 (*dl->parent->LayerStart)(dl->parent->object, fp); local 570 datalink_LayerUp(void *v, struct fsm *fp) 576 if (fp->proto == PROTO_LCP) { 592 } else if (fp->proto == PROTO_CCP) 749 datalink_LayerDown(void *v, struct fsm *fp) 754 if (fp->proto == PROTO_LCP) { 760 (*dl->parent->LayerDown)(dl->parent->object, fp); 778 datalink_LayerFinish(void *v, struct fsm *fp) [all...] |
fsm.c | 129 struct fsm *fp = (struct fsm *)v; local 131 log_Printf(fp->LogLevel, "%s: Stopped timer expired\n", fp->link->name); 132 if (fp->OpenTimer.state == TIMER_RUNNING) { 134 fp->link->name, fp->name); 135 timer_Stop(&fp->OpenTimer); 137 if (fp->state == ST_STOPPED) 138 fsm2initial(fp); 142 fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode 229 struct fsm *fp = (struct fsm *)v; local 412 struct fsm *fp = (struct fsm *)v; local 576 (*fp->parent->LayerUp)(fp->parent->object, fp); local 652 (*fp->parent->LayerUp)(fp->parent->object, fp); local [all...] |
/external/libselinux/src/ |
label_file.c | 401 FILE *fp; local 427 if ((fp = fopen(path, "r")) == NULL) 430 if (fstat(fileno(fp), &sb) < 0) 459 while (fgets(line_buf, sizeof line_buf - 1, fp) 500 rewind(fp); 526 fclose(fp);
|
/external/libvpx/libvpx/build/make/ |
obj_int_extract.c | 756 FILE *fp; local 777 fp = fopen(f, "rb"); 779 if (!fp) { 784 if (fseek(fp, 0, SEEK_END)) { 789 file_size = ftell(fp); 797 rewind(fp); 799 if (fread(file_buf, sizeof(char), file_size, fp) != file_size) { 804 if (fclose(fp)) {
|
/external/linux-tools-perf/util/ |
annotate.c | 433 FILE *fp; local 442 fp = popen(cmd, "r"); 443 if (!fp) 446 if (getline(&path, &line_len, fp) < 0 || !line_len) 457 pclose(fp);
|