/external/opencv3/modules/imgcodecs/test/ |
test_grfmt.cpp | 618 FILE* fp = fopen(filename.c_str(), "wb"); local 619 ASSERT_TRUE(fp != NULL); 620 ASSERT_EQ((size_t)1, fwrite(tiff_sample_data, 86, 1, fp)); 621 fclose(fp);
|
/external/pdfium/third_party/lpng_v163/ |
pngwrite.c | 2271 FILE *fp = fopen(file_name, "wb"); local [all...] |
/external/selinux/libselinux/src/ |
label_file.c | 423 FILE *fp; local 445 fp = fopen(path, "r"); 446 if (fp) { 447 __fsetlocking(fp, FSETLOCKING_BYCALLER); 449 if (fstat(fileno(fp), &sb) < 0) 457 if (fread(&magic, sizeof magic, 1, fp) != 1) { 458 if (ferror(fp)) { 460 fclose(fp); 463 clearerr(fp); 468 fclose(fp); [all...] |
/external/skia/src/effects/ |
SkTableColorFilter.cpp | 563 const GrFragmentProcessor* fp = filter->asFragmentProcessor(d->fContext); local 564 SkASSERT(fp); 565 return fp;
|
/external/skia/src/effects/gradients/ |
SkLinearGradient.cpp | 436 const GrFragmentProcessor* fp = shader->asFragmentProcessor(d->fContext, local 438 GrAlwaysAssert(fp); 439 return fp;
|
/external/tcpdump/ |
addrtoname.c | 861 register FILE *fp; local 864 fp = fopen(PCAP_ETHERS_FILE, "r"); 865 if (fp != NULL) { 866 while ((ep = pcap_next_etherent(fp)) != NULL) { 870 (void)fclose(fp);
|
/external/toybox/toys/pending/ |
diff.c | 73 FILE *fp; member in struct:file 197 static int read_tok(FILE *fp, off_t *off, int tok) 204 t = fgetc(fp); 269 fseek(file[i].fp, 0, SEEK_SET); 272 tok = read_tok(file[i].fp, &off, tok); 349 fseek(file[0].fp, TT.offset[0][i - 1], SEEK_SET); 350 fseek(file[1].fp, TT.offset[1][J[i] - 1], SEEK_SET); 356 tok0 = read_tok(file[0].fp, NULL, tok0); 357 tok1 = read_tok(file[1].fp, NULL, tok1); 376 if (IS_STDIN(files[i])) file[i].fp = read_stdin() [all...] |
/external/v8/src/ic/ |
ic.h | 88 Address fp() const { return fp_; } function in class:v8::internal::IC
|
/external/v8/src/ppc/ |
simulator-ppc.h | 138 fp, enumerator in enum:v8::internal::Simulator::Register 343 // Handle arguments and return value for runtime FP functions.
|
/external/valgrind/coregrind/ |
m_stacktrace.c | 57 thread's IP SP, FP if that's meaningful, and LR if that's 106 // unwinding with fp chain is ok: 110 // Unwind with FP is not ok, must use CF unwind: 115 /* An unwind done by following the fp chain technique can be incorrect 121 So, by default, the unwinding will be done using the fp chain. 125 FPUNWIND (0): there is CF info, and it gives the same result as fp unwind. 127 with the fast fp chain, without further CF checking 128 NOINFO (1): there is no CF info (so, fp unwind is the only do-able thing) 132 Of course, if each fp unwind implies a check done with a CF unwind, 176 UInt Ck; // unwind fp invalid+store FPUNWIN 714 Addr fp = sp; local [all...] |
/external/vboot_reference/futility/ |
cmd_sign.c | 429 FILE *fp = fopen(filename, "w"); local 430 if (!fp) { 436 if (1 != fwrite(vblock->buf, vblock->len, 1, fp)) { 439 fclose(fp); 442 if (fclose(fp)) {
|
/external/vboot_reference/tests/ |
cgptlib_test.c | 1489 test_func fp; member in struct:__anon26452 [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
inv_gesture_test.c | 117 FILE *fp; local 119 fp = fopen(filename, "r"); 120 if (fp!=NULL) { 121 fscanf(fp, "%d\n", var); 122 fclose(fp); 133 FILE *fp; local 139 fp = fopen(filename, "w"); 140 if (fp != NULL) { 141 fprintf(fp, "%d\n", data); 142 fclose(fp); 258 FILE *fp; local 353 FILE *fp; local 402 FILE *fp; local 444 FILE *fp; local 468 FILE *fp; local 501 FILE *fp; local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 216 FILE *fp; local 220 if ((fp = fopen(dmp_path, "rb")) < 0) { 223 i = fread(dmp_img, 1, DMP_CODE_SIZE, fp); 225 fclose(fp); 226 fp = fopen("/dev/read_img.h", "wt"); 227 fprintf(fp, "char rec[]={\n"); 229 fprintf(fp, "0x%02x, ", dmp_img[i]); 231 fprintf(fp, "\n"); 234 fprintf(fp, "};\n "); 235 fclose(fp); 535 FILE *fp = fopen(file_name, "rt"); local 568 int fp; local [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
spkr_protection.c | 428 FILE *fp; local 438 fp = fopen(CALIB_FILE,"wb"); 439 if (!fp) { 447 fwrite(&status.r0[i], sizeof(status.r0[i]), 1, fp); 448 fwrite(&protCfg.t0[i], sizeof(protCfg.t0[i]), 1, fp); 450 fclose(fp); 528 FILE *fp; local 564 fp = fopen(CALIB_FILE,"rb"); 565 if (fp) { 577 fread(&protCfg.r0[i], sizeof(protCfg.r0[i]), 1, fp); [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioUsbALSA.cpp | 95 FILE *fp; local [all...] |
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
spkr_protection.c | 436 FILE *fp; local 446 fp = fopen(CALIB_FILE,"wb"); 447 if (!fp) { 455 fwrite(&status.r0[i], sizeof(status.r0[i]), 1, fp); 456 fwrite(&protCfg.t0[i], sizeof(protCfg.t0[i]), 1, fp); 458 fclose(fp); 535 FILE *fp; local 571 fp = fopen(CALIB_FILE,"rb"); 572 if (fp) { 584 fread(&protCfg.r0[i], sizeof(protCfg.r0[i]), 1, fp); [all...] |
usb.c | 158 FILE *fp; local
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
wifilogger.cpp | 1371 FILE *fp; local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/ |
G729DecTest.c | 374 FILE *fp; variable 497 fp =fopen(argv[1], "r"); 651 fp= fopen(argv[1], "r"); [all...] |
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
V4LCameraAdapter.cpp | 539 char *fp = NULL; local 604 fp = this->GetFrame(index); 605 if(!fp) { 616 memcpy(buffer->opaque, fp, yuv422i_buff_size); 628 write(fd, fp, yuv422i_buff_size ); 1137 char *fp = NULL; local [all...] |
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
bvblend.h | 89 float fp; member in union:bvalpha
|
/system/core/debuggerd/ |
debuggerd.cpp | 107 FILE* fp = fopen(path, "r"); local 108 if (!fp) { 114 while (fgets(line, sizeof(line), fp)) { 127 fclose(fp);
|
/system/core/fs_mgr/ |
fs_mgr_verity.cpp | 435 static int metadata_add(FILE *fp, long start, const char *tag, 438 if (fseek(fp, start, SEEK_SET) < 0 || 439 fprintf(fp, "%s %u\n", tag, length) < 0) { 443 *offset = ftell(fp); 445 if (fseek(fp, length, SEEK_CUR) < 0 || 446 fprintf(fp, METADATA_EOD " 0\n") < 0) { 456 FILE *fp = NULL; local 468 fp = fopen(fname, "r+"); 470 if (!fp) { 476 if (fseek(fp, start, SEEK_SET) < 0 | [all...] |
/system/core/libbacktrace/ |
BacktraceOffline.cpp | 634 FILE* fp = fopen(filename.c_str(), "reb"); local 635 if (fp == nullptr) { 639 if (fread(buf, 4, 1, fp) != 1) { 640 fclose(fp); 643 fclose(fp); 653 FILE* fp = fopen(apk_path.c_str(), "reb"); local 654 if (fp == nullptr) { 658 if (fread(buf, 4, 1, fp) != 1) { 659 fclose(fp); 662 fclose(fp); [all...] |