Home
last modified time | relevance | path

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

123456789

/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/llvm-project/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()
/external/libaom/libaom/aom_dsp/
Dgrain_table.c46 fscanf(file, "E %" PRId64 " %" PRId64 " %d %hd %d\n", &entry->start_time, in grain_table_entry_read()
56 num_read = fscanf(file, "p %d %d %d %d %d %d %d %d %d %d %d %d\n", in grain_table_entry_read()
68 if (!fscanf(file, "\tsY %d ", &pars->num_y_points)) { in grain_table_entry_read()
74 if (2 != fscanf(file, "%d %d", &pars->scaling_points_y[i][0], in grain_table_entry_read()
81 if (!fscanf(file, "\n\tsCb %d", &pars->num_cb_points)) { in grain_table_entry_read()
87 if (2 != fscanf(file, "%d %d", &pars->scaling_points_cb[i][0], in grain_table_entry_read()
94 if (!fscanf(file, "\n\tsCr %d", &pars->num_cr_points)) { in grain_table_entry_read()
100 if (2 != fscanf(file, "%d %d", &pars->scaling_points_cr[i][0], in grain_table_entry_read()
108 fscanf(file, "\n\tcY"); in grain_table_entry_read()
111 if (1 != fscanf(file, "%d", &pars->ar_coeffs_y[i])) { in grain_table_entry_read()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcert-err34-c.c11 extern int fscanf(FILE * restrict stream, const char * restrict format, ...);
34 fscanf(stdin, "%lld", &ll); in f1()
38 fscanf(stdin, "%llu", &ull); in f1()
42 fscanf(stdin, "%ju", &uim); in f1()
46 fscanf(stdin, "%lg", &d); in f1()
Dcert-err34-c.cpp7 extern int fscanf(FILE * stream, const char * format, ...);
17 using ::fscanf; using ::sscanf;
28 std::fscanf(std::stdin, "%lld", &ll); in f1()
/external/libvpx/libvpx/test/
Dnon_greedy_mv_test.cc26 fscanf(input, "%d,%d\n", rows_ptr, cols_ptr); in read_in_mf()
31 fscanf(input, "%d,%d;", &row, &col); in read_in_mf()
48 fscanf(input, "%d,%d\n", rows_ptr, cols_ptr); in read_in_local_var()
54 fscanf(input, "%d,%d,%d,%d;", &M00, &M01, &M10, &M11); in read_in_local_var()
94 fscanf(input, "%d,%d\n", &(ref_frame_ptr->y_height), in load_frame_info()
103 fscanf(input, "%d,", &value); in load_frame_info()
/external/mesa3d/src/intel/tools/
Di965_disasm.c63 if (fscanf(fp, " { ") == EOF) { in i965_disasm_read_c_literal_file()
68 if (fscanf(fp, "0x%x , 0x%x", &temp[0], &temp[1]) == 2) { in i965_disasm_read_c_literal_file()
76 while (fscanf(fp, " , 0x%x , 0x%x ", &temp[0], &temp[1]) == 2) { in i965_disasm_read_c_literal_file()
81 if (fscanf(fp, "}") == EOF) { in i965_disasm_read_c_literal_file()
/external/rnnoise/src/
Drnn_reader.c49 if (fscanf(f, "rnnoise-nu model file version %d\n", &in) != 1 || in != 1) in rnnoise_model_from_file()
73 if (fscanf(f, "%d", &in) != 1 || in < 0 || in > 128) { \ in rnnoise_model_from_file()
103 if (fscanf(f, "%d", &in) != 1) { \ in rnnoise_model_from_file()
/external/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc478 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in TEST()
481 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in TEST()
691 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in TEST()
694 if (fscanf(f_bn, "%d", &aux_var) == EOF) { in TEST()
730 if (fscanf(fp_gns, "%d", &cur_delay) == EOF) { in TEST()
732 if (fscanf(fp_gns, "%d", &cur_delay) == EOF) { in TEST()
/external/igt-gpu-tools/assembler/
Ddisasm-main.c51 if (fscanf (input, "x%x", &inst[n]) == 1) { in read_program()
82 if (fscanf (input, "x%2x", &temp) == 1) { in read_program_binary()
/external/llvm-project/mlir/lib/ExecutionEngine/
DSparseUtils.cpp54 if (fscanf(file, "%63s %63s %63s %63s %63s\n", header, object, format, field, in readHeader()
87 if (fscanf(file, "%" PRIu64 " %" PRIu64 " %lg\n", i, j, d) != 3) { in readItem()
/external/toybox/toys/other/
Dxxd.c113 while (fscanf(fp, " 0x%02x,", &tmp) == 1) { in do_xxd_reverse()
125 if (fscanf(fp, "%llx: ", &pos) == 1) { in do_xxd_reverse()
/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.c1063 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1069 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1075 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1082 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1088 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1094 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1112 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1118 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility()
1127 n += fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility()
1133 n += fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility()
[all …]
/external/ltp/lib/
Dtst_pid.c49 rc = fscanf(f, "%i", &used_pids); in tst_get_free_pids_()
Dtst_process_state.c64 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait2()
/external/grpc-grpc/src/cpp/server/load_reporter/
Dget_cpu_stats_linux.cc35 fscanf(fp, "cpu %lu %lu %lu %lu", &user, &nice, &system, &idle); in GetCpuStatsImpl()
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/load_reporter/
Dget_cpu_stats_linux.cc35 if (fscanf(fp, "cpu %lu %lu %lu %lu", &user, &nice, &system, &idle) != 4) { in GetCpuStatsImpl()
/external/llvm-project/clang/test/Sema/
Dformat-strings-scanf.c29 int fscanf(FILE * restrict, const char * restrict, ...) ;
90fscanf(f, "%ld", i); // expected-warning{{format specifies type 'long *' but the argument has type… in test_variants()
/external/ltp/testcases/kernel/containers/netns/
Dnetns_helper.h46 n = fscanf(ipf, "ip utility, iproute2-ss%u", &ipver); in check_iproute()
/external/ltp/testcases/open_posix_testsuite/include/
Daffinity.h49 fscanf(f, "%d", &cpu); in get_online_cpu_from_sysfs()
/external/webrtc/rtc_base/
Dmemory_usage.cc39 if (fscanf(file, "%*s%d", &result) != 1) { in GetProcessResidentSizeBytes()

123456789