/external/ppp/pppd/plugins/radius/ |
avpair.c | 369 VALUE_PAIR *vp, *fp = NULL, *lp = NULL; local 378 if (!fp) 379 fp = vp; 386 return fp;
|
/external/selinux/libselinux/src/ |
get_context_list.c | 157 static int get_context_order(FILE * fp, 188 while ((len = getline(&line, &line_len, fp)) > 0) { 273 FILE *fp; local 278 fp = fopen(selinux_failsafe_context_path(), "r"); 279 if (!fp) 282 ptr = fgets_unlocked(buf, sizeof buf, fp); 283 fclose(fp); 403 FILE *fp; local 440 fp = fopen(fname, "r"); 441 if (fp) { [all...] |
seusers.c | 278 FILE *fp = NULL; local 281 fp = fopen(path, "r"); 283 if (fp == NULL) goto err; 284 __fsetlocking(fp, FSETLOCKING_BYCALLER); 285 while (getline(&buffer, &size, fp) > 0) { 327 if (fp) fclose(fp);
|
/external/selinux/libsemanage/src/ |
database_policydb.c | 93 FILE *fp = NULL; local 114 fp = fopen(fname, "rb"); 115 if (fp == NULL && errno != ENOENT) { 122 if (fp != NULL) { 123 __fsetlocking(fp, FSETLOCKING_BYCALLER); 129 sepol_policy_file_set_fp(pf, fp); 136 fclose(fp); 137 fp = NULL; 150 if (fp) 151 fclose(fp); [all...] |
/external/selinux/policycoreutils/semodule_deps/ |
semodule_deps.c | 87 FILE *fp = NULL; local 99 fp = fopen(filename, "r"); 100 if (!fp) { 105 sepol_policy_file_set_fp(pf, fp); 113 fclose(fp); 119 if (fp) 120 fclose(fp);
|
/external/selinux/policycoreutils/sestatus/ |
sestatus.c | 91 FILE *fp = fopen(CONF, "r"); local 97 if (fp == NULL) { 102 while (!feof(fp)) { 103 if (!fgets(buf, sizeof buf, fp)) 160 fclose(fp);
|
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 42 FILE* fp = 0; local 43 errno_t err = fopen_s( &fp, filename, mode ); 44 if ( !err && fp ) 45 return fp; 1087 FILE* fp = TiXmlFOpen( filename, "w" ); 1088 if ( fp ) 1090 bool result = SaveFile( fp ); 1091 fclose( fp ); 1098 bool TiXmlDocument::SaveFile( FILE* fp ) const 1106 fputc( TIXML_UTF_LEAD_0, fp ); [all...] |
/external/skia/src/effects/ |
SkAvoidXfermode.cpp | 214 const AvoidFP& fp = fpBase.cast<AvoidFP>(); variable 216 return fOpColor == fp.fOpColor && 217 fTolerance == fp.fTolerance && 218 fMode == fp.fMode;
|
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 195 const GrFragmentProcessor* fp = shader->asFragmentProcessor(d->fContext, local 198 GrAlwaysAssert(fp); 199 return fp;
|
/external/skia/src/gpu/effects/ |
GrConvexPolyEffect.cpp | 70 GrFragmentProcessor* fp; local 75 fp = AARectEffect::Create(edgeType, rect); 76 } while (nullptr == fp); 77 return fp; 345 GrFragmentProcessor* fp; local 349 fp = GrConvexPolyEffect::Create(edgeType, count, edges); 350 } while (nullptr == fp); 351 return fp;
|
GrRRectEffect.cpp | 119 GrFragmentProcessor* fp; local 123 fp = GrRRectEffect::Create(et, rrect); 124 } while (nullptr == fp); 125 return fp; 474 GrFragmentProcessor* fp; local 478 fp = GrRRectEffect::Create(et, rrect); 479 } while (nullptr == fp); 480 return fp; [all...] |
/external/skia/tests/ |
GLProgramsTest.cpp | 106 static GrFragmentProcessor* Create(const GrFragmentProcessor* fp) { 107 return new BlockInputFragmentProcessor(fp); 199 const GrFragmentProcessor* fp; local 201 fp = GrProcessorTestFactory<GrFragmentProcessor>::Create(d); 202 SkASSERT(fp); 203 if (0 == fp->numChildProcessors()) { 206 fp->unref(); 208 return fp; 223 const GrFragmentProcessor* fp; local 225 fp = GrXfermodeFragmentProcessor::CreateFromTwoProcessors(minLevelsChild, otherChild, mode) [all...] |
/external/tcpdump/ |
print-atalk.c | 543 FILE *fp; local 550 && (fp = fopen("/etc/atalk.names", "r"))) { 554 while (fgets(line, sizeof(line), fp)) { 573 fclose(fp);
|
/external/toybox/scripts/ |
config2help.c | 143 FILE *fp = xfopen(filename, "r"); local 151 if (getline(&line, &len, fp) < 1) break; 183 fclose(fp); 211 FILE *fp; local 222 fp = xfopen(argv[2], "r"); 227 if (getline(&line, &len, fp) < 1) break;
|
/external/toybox/toys/pending/ |
bootchartd.c | 66 static int dump_proc_data(FILE *fp) 73 fputs(TT.buf, fp); 91 fputs(toybuf, fp); 104 fputc('\n', fp); 112 FILE *fp = fopen(fname, "r"); local 114 if (!fp) return 0; 115 for (;getline(&line, &len, fp) != -1; line = NULL) { 138 fclose(fp);
|
fsck.c | 367 FILE *fp; local 380 if (!(fp = setmntent(tmp, "r"))) perror_exit("setmntent failed:"); 381 while (getmntent_r(fp, &mt, toybuf, 4096)) create_db(&mt); 382 endmntent(fp);
|
/external/v8/src/base/platform/ |
platform-cygwin.cc | 67 FILE* fp = fopen("/proc/self/maps", "r"); local 68 if (fp == NULL) return result; 79 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; 80 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; 87 c = getc(fp); 93 ungetc(c, fp); // Push the '/' back into the stream to be read below. 96 if (fgets(lib_name, kLibNameLen, fp) == NULL) break; 112 c = getc(fp); 118 fclose(fp);
|
platform-linux.cc | 67 // what FP ABI used. 68 // GCC versions 4.4 and below don't support hard-fp. 69 // GCC versions 4.5 may support hard-fp without defining __ARM_PCS or 92 #error "Your version of GCC does not report the FP ABI compiled for." \ 150 FILE* fp = fopen("/proc/self/maps", "r"); local 151 if (fp == NULL) return result; 162 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; 163 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; 170 c = getc(fp); 177 ungetc(c, fp); [all...] |
platform-openbsd.cc | 73 FILE* fp = fopen("/proc/self/maps", "r"); local 74 if (fp == NULL) return result; 85 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; 86 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; 93 c = getc(fp); 99 ungetc(c, fp); // Push the '/' back into the stream to be read below. 102 if (fgets(lib_name, kLibNameLen, fp) == NULL) break; 118 c = getc(fp); 124 fclose(fp);
|
/external/v8/src/profiler/ |
cpu-profiler.cc | 48 Address fp = isolate->c_entry_fp(isolate->thread_local_top()); local 49 regs.sp = fp - fp_to_sp_delta; 50 regs.fp = fp; 64 regs.fp = frame->fp();
|
/external/valgrind/perf/ |
ffbench.c | 2 // Valgrind's handling of FP operations. It is representative of all 3 // programs that do a lot of FP operations. 338 FILE *fp; local 358 fp = fopen("fft.cap", "w"); 359 if (fp == NULL) { 363 putc(':', fp); 364 putc(1, fp); 365 fwrite(patarr, SCRN, 1, fp); 366 putc(6, fp); 367 fclose(fp); [all...] |
/external/vboot_reference/futility/ |
cmd_dump_fmap.c | 120 FILE *fp = fopen(outname, "wb"); local 121 if (!fp) { 135 ah->area_size, 1, fp)) { 143 fclose(fp);
|
cmd_gbb_utility.c | 201 FILE *fp = NULL; local 205 fp = fopen(filename, "rb"); 206 if (!fp) { 212 if (0 != fstat(fileno(fp), &sb)) { 227 if (1 != fread(buf, sb.st_size, 1, fp)) { 233 if (fp && 0 != fclose(fp)) { 247 if (fp && 0 != fclose(fp)) 256 FILE *fp; local 292 FILE *fp; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_fec_test.cc | 76 FILE* fp = fopen(in_filename_.c_str(), "rb"); local 77 ASSERT_FALSE(fp == NULL); 80 fseek(fp, 0, SEEK_END); 81 loop_length_samples_ = ftell(fp) / sizeof(int16_t); 82 rewind(fp); 89 ASSERT_EQ(fread(&in_data_[0], sizeof(int16_t), loop_length_samples_, fp), 91 fclose(fp);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
DecTestBench.c | 680 FILE *fp; local 682 fp = fopen("dec_api.trc", "at"); 684 if (!fp) 687 fwrite(string, 1, strlen(string), fp); 688 fwrite("\n", 1,1, fp); 690 fclose(fp);
|