Home
last modified time | relevance | path

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

123

/external/clang/test/Analysis/
Dtaint-tester.c94 int fscanf(FILE *restrict stream, const char *restrict format, ...);
105 fscanf(stdin, "%s %d", s, &t); in fscanfTest()
118 fscanf(fp, "%s%d", s, &t); // expected-warning + {{tainted}} in fscanfTest()
126 fscanf(stdin, "%d", &i); in stdinTest1()
134 fscanf(pp, "%d", &ii); in stdinTest2()
137 fscanf(p, "%d", &ii); in stdinTest2()
144 fscanf(p, "%d", &ii); in stdinTest2()
151 fscanf(*ppp, "%d", &iii); in stdinTest3()
159 fscanf(stdin, "%d", &i); in stdinTest4()
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()
54 fscanf(stdin, "%d", &i); in testErrnoInternal()
Dtaint-generic.c8 int fscanf(FILE *restrict stream, const char *restrict format, ...);
78 fscanf(stdin, "%s", s); in testUncontrolledFormatString()
Dsystem-header-simulator.h13 int fscanf(FILE *restrict, const char *restrict, ...);
/external/v8/test/cctest/
Dtest-serialize.cc411 #define fscanf fscanf_s in ReserveSpaceForPartialSnapshot() macro
413 CHECK_EQ(1, fscanf(fp, "new %d\n", &new_size)); in ReserveSpaceForPartialSnapshot()
414 CHECK_EQ(1, fscanf(fp, "pointer %d\n", &pointer_size)); in ReserveSpaceForPartialSnapshot()
415 CHECK_EQ(1, fscanf(fp, "data %d\n", &data_size)); in ReserveSpaceForPartialSnapshot()
416 CHECK_EQ(1, fscanf(fp, "code %d\n", &code_size)); in ReserveSpaceForPartialSnapshot()
417 CHECK_EQ(1, fscanf(fp, "map %d\n", &map_size)); in ReserveSpaceForPartialSnapshot()
418 CHECK_EQ(1, fscanf(fp, "cell %d\n", &cell_size)); in ReserveSpaceForPartialSnapshot()
419 CHECK_EQ(1, fscanf(fp, "large %d\n", &large_size)); in ReserveSpaceForPartialSnapshot()
421 #undef fscanf in ReserveSpaceForPartialSnapshot()
/external/quake/quake/src/WinQuake/
Dhost_cmd.cpp607 fscanf (f, "%i\n", &version); in Host_Loadgame_f()
614 fscanf (f, "%s\n", str); in Host_Loadgame_f()
616 fscanf (f, "%f\n", &spawn_parms[i]); in Host_Loadgame_f()
618 fscanf (f, "%f\n", &tfloat); in Host_Loadgame_f()
628 fscanf (f, "%s\n",mapname); in Host_Loadgame_f()
629 fscanf (f, "%f\n",&time); in Host_Loadgame_f()
650 fscanf (f, "%s\n", str); in Host_Loadgame_f()
791 fscanf (f, "%i\n", &version); in LoadGamestate()
798 fscanf (f, "%s\n", str); in LoadGamestate()
801 fscanf (f, "%f\n", &sk); in LoadGamestate()
[all …]
/external/libvpx/vp8/common/x86/
Dboolcoder.cxx106 fscanf( fp, "%d", &w); in bool_coder_spec()
108 fscanf( fp, "%d", &v); in bool_coder_spec()
111 fscanf( fp, "%d", &ebits); in bool_coder_spec()
112 fscanf( fp, "%d", &mbits); in bool_coder_spec()
117 fscanf( fp, "%d", &v); in bool_coder_spec()
/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/icu4c/test/iotest/
Dfiletst.c1024 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1030 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1036 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1043 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1049 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1055 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1073 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1079 fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1088 fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility()
1094 fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility()
[all …]
/external/valgrind/main/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/oprofile/libutil/
Dop_lockfile.c31 if (fscanf(fp, "%d", &value) != 1) { in op_read_lock_file()
Dop_fileio.c110 if (fscanf(fp, "%u", &value) != 1) { in op_read_int_from_file()
/external/opencv/cvaux/src/
Dcvcalibfilter.cpp713 if( fscanf( f, "%d", &d ) != 1 || d <= 0 || d > 10 ) in LoadCameraParams()
722 fscanf( f, "%f", &((float*)(cameraParams + i))[j] ); in LoadCameraParams()
734 fscanf(f, "%f ", &(stereo.quad[i][j].x) ); in LoadCameraParams()
735 fscanf(f, "%f ", &(stereo.quad[i][j].y) ); in LoadCameraParams()
744 fscanf(f, "%lf ", &(stereo.coeffs[i][j/3][j%3]) ); in LoadCameraParams()
/external/qemu-pc-bios/bochs/bios/
Dusage.cc78 retval = fscanf(org_file, "0x%x\n", &org); in main()
/external/blktrace/btt/
Ddevmap.c74 while (fscanf(fp, "%255[a-zA-Z0-9 :.,/_-]\n", line) == 1) { in dev_map_read()
/external/valgrind/main/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/llvm/test/CodeGen/ARM/
D2010-06-21-LdStMultipleBug.ll16 …%0 = call i32 (%struct.FILE*, i8*, ...)* @fscanf(%struct.FILE* %fp, i8* getelementptr inbounds ([1…
140 …%49 = call i32 (%struct.FILE*, i8*, ...)* @fscanf(%struct.FILE* %fp, i8* getelementptr inbounds ([…
148 declare i32 @fscanf(%struct.FILE* nocapture, i8* nocapture, ...) nounwind
/external/linux-tools-perf/util/
Dcgroup.c28 while (fscanf(fp, "%*s %"STR(MAX_PATH)"s %"STR(MAX_PATH)"s %" in cgroupfs_find_mountpoint()
Ddebugfs.c67 while (fscanf(fp, "%*s %" in debugfs_find_mountpoint()
Dcpumap.c58 n = fscanf(onlnf, "%u%c", &cpu, &sep); in cpu_map__read_all_cpu_map()
/external/stlport/stlport/stl/
D_cstdio.h82 using _STLP_VENDOR_CSTD::fscanf;
/external/iproute2/tc/
Dtc_core.c195 if (fscanf(fp, "%08x%08x%08x", &t2us, &us2t, &clock_res) != 3) { in tc_core_init()
/external/e2fsprogs/intl/
Dlocalcharset.c169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases()
/external/openssh/openbsd-compat/
Dport-linux.c273 if (fscanf(fp, "%d", &oom_adj_save) != 1) in oom_adjust_setup()

123