Home
last modified time | relevance | path

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

12345

/third_party/musl/libc-test/src/functional/
Dfscanf.c46 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()
Dungetc.c34 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()
Dtest_src_functional.gni13 "fscanf",
/third_party/musl/src/stdio/
Dfscanf.c4 int fscanf(FILE *restrict f, const char *restrict fmt, ...) in fscanf() function
14 weak_alias(fscanf, __isoc99_fscanf);
/third_party/minimp3/huffopt/
Dhuffopt.c96 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/
Dxxd.c113 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/
Dvfscanf.c25 ret = __ms_vfscanf_internal (stream, format, arg, fscanf); in __ms_vfscanf()
/third_party/ltp/lib/
Dtst_pid.c49 rc = fscanf(f, "%i", &used_pids); in tst_get_free_pids_()
Dtst_process_state.c73 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait2()
/third_party/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()
/third_party/icu/icu4c/source/test/iotest/
Dfiletst.c1035 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/
Dlib1900.c66 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/
Dnetns_helper.h46 n = fscanf(ipf, "ip utility, iproute2-ss%u", &ipver); in check_iproute()
/third_party/ltp/testcases/open_posix_testsuite/include/
Daffinity.h49 fscanf(f, "%d", &cpu); in get_online_cpu_from_sysfs()
Dproc.h44 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait3()
/third_party/flutter/skia/tools/
DProcStats.cpp53 int rc = fscanf(statm, "%*d %lld", &rssPages); in getCurrResidentSetSizeMB()
/third_party/libxml2/
Dtrio.h198 # undef fscanf
199 # define fscanf trio_fscanf macro
/third_party/uboot/u-boot-2020.01/tools/
Dzynqimage.c258 r = fscanf(fp, "%x %x", &reginit.address, &reginit.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/
Dsemget05.c79 if (fscanf(fp, "%*d %*d %*d %d", &getmaxid) == 1) in main()
/third_party/toybox/toys/pending/
Droute.c142 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/
Dcstdio16 using ::fscanf;
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_utils.c96 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/
Dht_utils.c99 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/
DProcStats.cpp69 int rc = fscanf(statm, "%*d %lld", &rssPages); in getCurrResidentSetSizeBytes()
/third_party/musl/src/misc/
Dmntent.c38 fscanf(f, "%*[^\n]%*[\n]"); in getmntent_r()

12345