Home
last modified time | relevance | path

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

1234

/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()
/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/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/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/clang/test/Analysis/Inputs/
Dsystem-header-simulator.h18 int fscanf(FILE *restrict, const char *restrict, ...);
/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/libvpx/libvpx/test/
Dtest_vector_test.cc84 const int res = fscanf(md5_file_, "%s %s", expected_md5, junk); in DecompressedFrameHook()
/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/bison/darwin-lib/
Dstdio.h714 # undef fscanf
715 # define fscanf rpl_fscanf
717 _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...)
720 _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...));
722 _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...));
724 _GL_CXXALIASWARN (fscanf);
/external/bison/linux-lib/
Dstdio.h714 # undef fscanf
715 # define fscanf rpl_fscanf
717 _GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...)
720 _GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...));
722 _GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...));
724 _GL_CXXALIASWARN (fscanf);
/external/linux-tools-perf/util/
Dcgroup.c28 while (fscanf(fp, "%*s %"STR(MAX_PATH)"s %"STR(MAX_PATH)"s %" in cgroupfs_find_mountpoint()
/external/stlport/stlport/stl/
D_cstdio.h82 using _STLP_VENDOR_CSTD::fscanf;

1234