/external/clang/test/Analysis/ |
D | global-region-invalidation.c | 30 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()
|
D | taint-tester.c | 92 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()
|
D | taint-generic.c | 8 int fscanf(FILE *restrict stream, const char *restrict format, ...); 78 fscanf(stdin, "%s", s); in testUncontrolledFormatString()
|
/external/llvm-project/clang/test/Analysis/ |
D | global-region-invalidation.c | 30 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()
|
D | taint-tester.c | 92 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/ |
D | grain_table.c | 46 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/ |
D | cert-err34-c.c | 11 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()
|
D | cert-err34-c.cpp | 7 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/ |
D | non_greedy_mv_test.cc | 26 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/ |
D | i965_disasm.c | 63 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/ |
D | rnn_reader.c | 49 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/ |
D | kenny.cc | 478 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/ |
D | disasm-main.c | 51 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/ |
D | SparseUtils.cpp | 54 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/ |
D | xxd.c | 113 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/ |
D | format-strings-scanf.c | 11 int fscanf(FILE * restrict, const char * restrict, ...) ; 72 …fscanf(f, "%ld", i); // expected-warning{{format specifies type 'long *' but the argument has type… in test_variants()
|
/external/icu/icu4c/source/test/iotest/ |
D | filetst.c | 1063 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/grpc-grpc/src/cpp/server/load_reporter/ |
D | get_cpu_stats_linux.cc | 35 fscanf(fp, "cpu %lu %lu %lu %lu", &user, &nice, &system, &idle); in GetCpuStatsImpl()
|
/external/ltp/lib/ |
D | tst_pid.c | 49 rc = fscanf(f, "%i", &used_pids); in tst_get_free_pids_()
|
D | tst_process_state.c | 64 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait2()
|
/external/llvm-project/clang/test/Sema/ |
D | format-strings-scanf.c | 29 int fscanf(FILE * restrict, const char * restrict, ...) ; 90 …fscanf(f, "%ld", i); // expected-warning{{format specifies type 'long *' but the argument has type… in test_variants()
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/load_reporter/ |
D | get_cpu_stats_linux.cc | 35 if (fscanf(fp, "cpu %lu %lu %lu %lu", &user, &nice, &system, &idle) != 4) { in GetCpuStatsImpl()
|
/external/ltp/testcases/kernel/containers/netns/ |
D | netns_helper.h | 46 n = fscanf(ipf, "ip utility, iproute2-ss%u", &ipver); in check_iproute()
|
/external/strace/tests/ |
D | attach-p-cmd-p.c | 66 if (fscanf(fp, "%d", &pid) < 0) in wait_for_peer_termination()
|
/external/strace/tests-m32/ |
D | attach-p-cmd-p.c | 66 if (fscanf(fp, "%d", &pid) < 0) in wait_for_peer_termination()
|