Home
last modified time | relevance | path

Searched refs:fscanf (Results 1 – 25 of 96) sorted by relevance

1234

/external/clang/test/Analysis/
Dglobal-region-invalidation.c30 fscanf(stdin, "%d", &i); in stdinTest()
33 fscanf(stdin, "%d", &i); in stdinTest()
42 fscanf(stdin, "%d", &i); in testErrnoSystem()
44 fscanf(stdin, "%d", &i); // errno gets invalidated here. in testErrnoSystem()
49 fscanf(stdin, "%d", &i); // errno gets invalidated here. in testErrnoSystem()
57 fscanf(stdin, "%d", &i); in testErrnoInternal()
Dtaint-tester.c92 fscanf(stdin, "%s %d", s, &t); in fscanfTest()
105 fscanf(fp, "%s%d", s, &t); // expected-warning + {{tainted}} in fscanfTest()
113 fscanf(stdin, "%d", &i); in stdinTest1()
121 fscanf(pp, "%d", &ii); in stdinTest2()
124 fscanf(p, "%d", &ii); in stdinTest2()
131 fscanf(p, "%d", &ii); in stdinTest2()
138 fscanf(*ppp, "%d", &iii); in stdinTest3()
146 fscanf(stdin, "%d", &i); in stdinTest4()
Dtaint-generic.c8 int fscanf(FILE *restrict stream, const char *restrict format, ...);
78 fscanf(stdin, "%s", s); in testUncontrolledFormatString()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
Dkenny.c393 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
396 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
642 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
645 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
680 if (fscanf(fp_gns, "%d", &cur_delay) == EOF) { in main()
682 if (fscanf(fp_gns, "%d", &cur_delay) == EOF) { in main()
Dtest_iSACfixfloat.c248 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
251 fscanf(f_bn, "%d", &bottleneck); in main()
468 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
471 fscanf(f_bn, "%d", &bottleneck); in main()
/external/linux-tools-perf/src/tools/perf/util/
Dcpumap.c55 n = fscanf(file, "%u%c", &cpu, &sep); in cpu_map__read()
230 ret = fscanf(fp, "%d", &cpu); in cpu_map__get_socket()
293 ret = fscanf(fp, "%d", &cpu); in cpu_map__get_core()
Dsysfs.c50 fscanf(fp, "%*s %" STR(PATH_MAX) "s %99s %*s %*d %*d\n", in sysfs_find_mountpoint()
/external/clang/test/Sema/
Dformat-strings-scanf.c11 int fscanf(FILE * restrict, const char * restrict, ...) ;
72fscanf(f, "%ld", i); // expected-warning{{format specifies type 'long *' but the argument has type… in test_variants()
/external/v8/test/cctest/
Dtest-serialize.cc253 #define fscanf fscanf_s in ReserveSpaceForSnapshot() macro
255 CHECK_EQ(1, fscanf(fp, "new %d\n", &new_size)); in ReserveSpaceForSnapshot()
256 CHECK_EQ(1, fscanf(fp, "pointer %d\n", &pointer_size)); in ReserveSpaceForSnapshot()
257 CHECK_EQ(1, fscanf(fp, "data %d\n", &data_size)); in ReserveSpaceForSnapshot()
258 CHECK_EQ(1, fscanf(fp, "code %d\n", &code_size)); in ReserveSpaceForSnapshot()
259 CHECK_EQ(1, fscanf(fp, "map %d\n", &map_size)); in ReserveSpaceForSnapshot()
260 CHECK_EQ(1, fscanf(fp, "cell %d\n", &cell_size)); in ReserveSpaceForSnapshot()
261 CHECK_EQ(1, fscanf(fp, "property cell %d\n", &property_cell_size)); in ReserveSpaceForSnapshot()
263 #undef fscanf in ReserveSpaceForSnapshot()
/external/skia/experimental/LightSymbolsUtil/lightsymbols/
Dlightsymbols.cc76 if (fscanf(file, "%i", &id) == 0) break; in GetCallStackCore()
99 if (fscanf(file, "%i", &id) == 0) break; in GetCallStackCore()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c1032 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1038 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1044 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1051 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1057 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1063 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1081 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1087 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1096 n += fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility()
1102 n += fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility()
[all …]
/external/valgrind/VEX/useful/
Dsmchash.c42 r= fscanf(f, "GuestBytes %llx %d ", &gb->ga, &gb->nbytes); in read_one()
59 r= fscanf(f, "%02x ", &b); in read_one()
65 r= fscanf(f, " %08x\n", &esum); in read_one()
/external/opencv/cvaux/src/
Dcvcalibfilter.cpp710 if( fscanf( f, "%d", &d ) != 1 || d <= 0 || d > 10 ) in LoadCameraParams()
719 fscanf( f, "%f", &((float*)(cameraParams + i))[j] ); in LoadCameraParams()
731 fscanf(f, "%f ", &(stereo.quad[i][j].x) ); in LoadCameraParams()
732 fscanf(f, "%f ", &(stereo.quad[i][j].y) ); in LoadCameraParams()
741 fscanf(f, "%lf ", &(stereo.coeffs[i][j/3][j%3]) ); in LoadCameraParams()
/external/libxml2/
Dtrio.h198 # undef fscanf
199 # define fscanf trio_fscanf macro
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc64 fscanf(fd, "%s %c %s", oneNMAddr, &symbolType, symbolName); in CompareToNM()
/external/linux-tools-perf/src/tools/lib/lk/
Ddebugfs.c47 while (fscanf(fp, "%*s %" STR(PATH_MAX) "s %99s %*s %*d %*d\n", in debugfs_find_mountpoint()
/external/skia/tools/
DProcStats.cpp52 int rc = fscanf(statm, "%*d %lld", &rssPages); in getCurrResidentSetSizeMB()
/external/blktrace/btt/
Ddevmap.c74 while (fscanf(fp, "%255[a-zA-Z0-9 :.,/_-]\n", line) == 1) { in dev_map_read()
/external/valgrind/tests/
Dos_test.c38 if (fp == NULL || fscanf(fp, "%d.%d.%d", &a1, &a2, &a3) != 3) return False; in matches_version()
/external/iproute2/netem/
Dstats.c36 fscanf(fp, "%lf", &x[i]); in stats()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h22 int fscanf(FILE *restrict, const char *restrict, ...);
/external/bison/lib/
Dstdio.in.h402 # undef fscanf
403 # define fscanf rpl_fscanf
405 _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...)
408 _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...));
410 _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...));
412 _GL_CXXALIASWARN (fscanf);
/external/llvm/test/CodeGen/ARM/
D2010-06-21-LdStMultipleBug.ll16 …%0 = call i32 (%struct.FILE*, i8*, ...) @fscanf(%struct.FILE* %fp, i8* getelementptr inbounds ([14…
140 …%49 = call i32 (%struct.FILE*, i8*, ...) @fscanf(%struct.FILE* %fp, i8* getelementptr inbounds ([1…
148 declare i32 @fscanf(%struct.FILE* nocapture, i8* nocapture, ...) nounwind
/external/v8/src/base/platform/
Dplatform-cygwin.cc127 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; in GetSharedLibraryAddresses()
128 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; in GetSharedLibraryAddresses()
/external/libvpx/libvpx/test/
Dtest_vector_test.cc52 const int res = fscanf(md5_file_, "%s %s", expected_md5, junk); in DecompressedFrameHook()

1234