/third_party/musl/libc-test/src/functional/ |
D | fscanf.c | 46 TEST(i, fscanf(f, "%s %[own]", a, b), 2, "got %d fields, expected %d"); in main() 52 TEST(i, fscanf(f, "ld %5i%2i", &x, &y), 1, "got %d fields, expected %d"); in main() 62 TEST(i, fscanf(f, " %n%*d%n", &x, &y), 0, "%d != %d"); in main() 73 TEST(i, fscanf(f, "%10[^]]%n%10[].]%n", a, &x, b, &y), 2, "%d != %d"); in main() 88 TEST(i, fscanf(f, "%lf%n %d", &u, &x, &y), 0, "%d != %d"); in main() 98 TEST(i, fscanf(f, "%lf%n%c %d", &u, &x, a, &y), 3, "%d != %d"); in main() 112 TEST(i, fscanf(f, "%lf%n %i", &u, &x, &y), 2, "%d != %d"); in main() 124 TEST(i, fscanf(f, "%x%n", &x, &y), 0, "%d != %d"); in main()
|
D | ungetc.c | 34 TEST(i, fscanf(f, "%[h]", a), 0, "got %d fields, expected %d"); in main() 46 TEST(i, fscanf(f, "%[x]", a), 0, "got %d fields, expected %d"); in main()
|
D | test_src_functional.gni | 13 "fscanf",
|
/third_party/musl/src/stdio/ |
D | fscanf.c | 4 int fscanf(FILE *restrict f, const char *restrict fmt, ...) in fscanf() function 14 weak_alias(fscanf, __isoc99_fscanf);
|
/third_party/minimp3/huffopt/ |
D | huffopt.c | 96 if (4 != fscanf(f, "\n.table %d %d %d %d", &tab, &mx, &my, &lin)) in read_codebook() 98 fscanf(f, "%*[^\n]"); in read_codebook() 110 while (4 != fscanf(f, "\n%d %d %d %s", &x, &y, &len, code)) in read_codebook() 112 fscanf(f, "%*[^\n]"); in read_codebook() 117 while (3 != fscanf(f, "\n%d %d %s", &y, &len, code)) in read_codebook() 119 fscanf(f, "%*[^\n]"); in read_codebook()
|
/third_party/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()
|
/third_party/mingw-w64/mingw-w64-crt/stdio/ |
D | vfscanf.c | 25 ret = __ms_vfscanf_internal (stream, format, arg, fscanf); in __ms_vfscanf()
|
/third_party/ltp/lib/ |
D | tst_pid.c | 49 rc = fscanf(f, "%i", &used_pids); in tst_get_free_pids_()
|
D | tst_process_state.c | 73 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait2()
|
/third_party/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()
|
/third_party/icu/icu4c/source/test/iotest/ |
D | filetst.c | 1035 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1041 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1047 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1054 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1060 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1066 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1084 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1090 n += fscanf(myCFile, "%s", readBuf); in TestFilePrintCompatibility() 1099 n += fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility() 1105 n += fscanf(myCFile, "%c", &cVal); in TestFilePrintCompatibility() [all …]
|
/third_party/curl/tests/libtest/ |
D | lib1900.c | 66 if(fscanf(f, "%d %199s\n", &filetime, buf)) { in parse_url_file() 73 if(fscanf(f, "blocklist_site %199s\n", buf)) { in parse_url_file()
|
/third_party/ltp/testcases/kernel/containers/netns/ |
D | netns_helper.h | 46 n = fscanf(ipf, "ip utility, iproute2-ss%u", &ipver); in check_iproute()
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
D | affinity.h | 49 fscanf(f, "%d", &cpu); in get_online_cpu_from_sysfs()
|
D | proc.h | 44 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait3()
|
/third_party/flutter/skia/tools/ |
D | ProcStats.cpp | 53 int rc = fscanf(statm, "%*d %lld", &rssPages); in getCurrResidentSetSizeMB()
|
/third_party/libxml2/ |
D | trio.h | 198 # undef fscanf 199 # define fscanf trio_fscanf macro
|
/third_party/uboot/u-boot-2020.01/tools/ |
D | zynqimage.c | 258 r = fscanf(fp, "%x %x", ®init.address, ®init.data); in zynqimage_parse_initparams() 263 r = fscanf(fp, "%*[^\n]\n"); /* Skip to next line */ in zynqimage_parse_initparams()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semget/ |
D | semget05.c | 79 if (fscanf(fp, "%*d %*d %*d %d", &getmaxid) == 1) in main()
|
/third_party/toybox/toys/pending/ |
D | route.c | 142 if (fscanf(fp, "%*[^\n]\n") < 0) perror_exit("fscanf"); //skip 1st line in display_routes() 143 while ((items = fscanf(fp, "%63s%lx%lx%X%d%d%d%lx%d%d%d\n", iface, &dest, in display_routes() 419 while ((items = fscanf(fp, "%32s%x%*s%*x%32s%x%x%x%x%15s\n", ipv6_dest_addr+8, in display_routes6()
|
/third_party/boost/boost/compatibility/cpp_c_headers/ |
D | cstdio | 16 using ::fscanf;
|
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_utils.c | 96 if (fscanf(pfile, "%d %s %c %d %d %d %d %d %d %d %d %d %d %d %d %d %d\ in get_current_cpu()
|
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/ |
D | ht_utils.c | 99 if (fscanf(pfile, "%d %s %c %d %d %d %d %d %d %d %d %d %d %d %d %d\ in get_current_cpu()
|
/third_party/skia/tools/ |
D | ProcStats.cpp | 69 int rc = fscanf(statm, "%*d %lld", &rssPages); in getCurrResidentSetSizeBytes()
|
/third_party/musl/src/misc/ |
D | mntent.c | 38 fscanf(f, "%*[^\n]%*[\n]"); in getmntent_r()
|