Home
last modified time | relevance | path

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

12345

/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/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc388 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
391 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
636 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
639 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in main()
674 if (fscanf(fp_gns, "%d", &cur_delay) == EOF) { in main()
676 if (fscanf(fp_gns, "%d", &cur_delay) == EOF) { in main()
Dtest_iSACfixfloat.c224 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
227 fscanf(f_bn, "%d", &bottleneck); in main()
438 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
441 fscanf(f_bn, "%d", &bottleneck); in main()
/external/webrtc/webrtc/modules/audio_coding/test/
Dinsert_packet_with_timing.cc223 EXPECT_EQ(1, fscanf(send_ts_fid_, "%u\n", &t)); in SendTimestamp()
229 EXPECT_EQ(1, fscanf(receive_ts_fid_, "%u\n", &t)); in ReceiveTimestamp()
235 EXPECT_EQ(1, fscanf(seq_num_fid_, "%d\n", &n)); in SequenceNumber()
/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/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/curl/tests/libtest/
Dlib1900.c66 if(fscanf(f, "%d %s\n", &filetime, buf)) { in parse_url_file()
73 if(fscanf(f, "blacklist_site %s\n", buf)) { in parse_url_file()
/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/opencv3/3rdparty/libjasper/
Djas_seq.c391 if (fscanf(in, "%d %d", &xoff, &yoff) != 2) in jas_seq2d_input()
393 if (fscanf(in, "%d %d", &numcols, &numrows) != 2) in jas_seq2d_input()
405 if (fscanf(in, "%ld", &x) != 1) { in jas_seq2d_input()
/external/v8/src/base/platform/
Dplatform-cygwin.cc79 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; in GetSharedLibraryAddresses()
80 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; in GetSharedLibraryAddresses()
Dplatform-openbsd.cc85 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; in GetSharedLibraryAddresses()
86 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; in GetSharedLibraryAddresses()
/external/libxml2/
Dtrio.h198 # undef fscanf
199 # define fscanf trio_fscanf macro
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc342 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
345 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
674 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
677 if (fscanf(f_bn, "%d", &bottleneck) == EOF) { in main()
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration.cpp350 values_read = fscanf(datafile,"%d",&numTests); in run()
355 values_read = fscanf(datafile,"%s",i_dat_file); in run()
374 values_read = fscanf(file,"%d %d\n",&(imageSize.width),&(imageSize.height)); in run()
384 values_read = fscanf(file,"%d %d\n",&(etalonSize.width),&(etalonSize.height)); in run()
396 values_read = fscanf(file,"%d\n",&numImages); in run()
438 values_read = fscanf(file,"%lf %lf %lf\n",&x,&y,&z); in run()
455 values_read = fscanf(file,"%lf %lf\n",&x,&y); in run()
468 values_read = fscanf(file,"%lf %lf",&goodFcx,&goodFcy); in run()
473 values_read = fscanf(file,"%lf %lf",&goodCx,&goodCy); in run()
478 values_read = fscanf(file,"%lf",goodDistortion+0); CV_Assert(values_read == 1); in run()
[all …]
/external/toybox/toys/pending/
Droute.c116 if (fscanf(fp, "%*[^\n]\n") < 0) perror_exit("fscanf"); //skip 1st line in display_routes()
117 while ((items = fscanf(fp, "%63s%lx%lx%X%d%d%d%lx%d%d%d\n", iface, &dest, in display_routes()
406 while ((items = fscanf(fp, "%32s%x%*s%*x%32s%x%x%x%x%10s\n", ipv6_dest_addr+8, in display_routes6()
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc64 fscanf(fd, "%s %c %s", oneNMAddr, &symbolType, symbolName); in CompareToNM()
/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/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/iproute2/netem/
Dstats.c36 fscanf(fp, "%lf", &x[i]); in stats()
/external/valgrind/tests/
Dos_test.c39 if (fp == NULL || fscanf(fp, "%d.%d.%d", &a1, &a2, &a3) != 3) return False; in matches_version()

12345