Home
last modified time | relevance | path

Searched refs:sscanf (Results 1 – 25 of 37) sorted by relevance

12

/bionic/tests/
Dstdio_test.cpp540 CheckInfNan(snprintf, sscanf, "%s", in TEST()
544 CheckInfNan(snprintf, sscanf, "%s", in TEST()
548 CheckInfNan(snprintf, sscanf, "%s", in TEST()
552 CheckInfNan(snprintf, sscanf, "%s", in TEST()
556 CheckInfNan(snprintf, sscanf, "%s", in TEST()
560 CheckInfNan(snprintf, sscanf, "%s", in TEST()
564 CheckInfNan(snprintf, sscanf, "%s", in TEST()
568 CheckInfNan(snprintf, sscanf, "%s", in TEST()
1054 ASSERT_EQ(9, sscanf(" hello 123 456abAB! 1.23 0x1.2p3 world", in TEST()
1077 CheckScanf(sscanf, "abcd", "%[abc]", 1, "abc"); in TEST()
[all …]
Dinttypes_test.cpp57 sscanf("123", "%" SCNd##FMT_SUFFIX, &dst_int##TYPE_SUFFIX); \
60 sscanf("123", "%" SCNi##FMT_SUFFIX, &dst_int##TYPE_SUFFIX); \
63 sscanf("173", "%" SCNo##FMT_SUFFIX, &dst_int##TYPE_SUFFIX); \
66 sscanf("123", "%" SCNu##FMT_SUFFIX, &dst_uint##TYPE_SUFFIX); \
69 sscanf("7B", "%" SCNx##FMT_SUFFIX, &dst_uint##TYPE_SUFFIX); \
Dsys_prctl_test.cpp54 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end)) in TEST()
Dspawn_test.cpp301 ASSERT_EQ(4, sscanf(content.c_str(), "%d (cat) %*c %d %d %d", &ps->pid, &ps->ppid, &ps->pgrp, in GetChildStat()
319 if (sscanf(line.c_str(), "SigBlk: %" SCNx64, &ps->sigblk) == 1) saw_blk = true; in GetChildStatus()
320 if (sscanf(line.c_str(), "SigIgn: %" SCNx64, &ps->sigign) == 1) saw_ign = true; in GetChildStatus()
Dutils.h122 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %4s %" SCNxPTR " %x:%x %lu %n", in parse_maps()
Dsystem_properties_test.cpp75 ASSERT_EQ(3, sscanf(name, "property_%d.%d.%d", &name_i, &name_j, &name_k)); in hierarchical_test_callback()
76 ASSERT_EQ(3, sscanf(value, "value_%d.%d.%d", &value_i, &value_j, &value_k)); in hierarchical_test_callback()
Dfcntl_test.cpp291 return sscanf(buf.release, "%ld.%ld", major, minor) == 2; in parse_kernel_release()
/bionic/libc/bionic/
Dsysinfo.cpp44 return (sscanf(s, "cpu%u%c", &cpu, &unused) == 1); in __matches_cpuN()
Dpthread_attr.cpp176 if (sscanf(end_of_comm + 1, " %*c " in __get_main_stack_startstack()
212 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { in __pthread_attr_getstack_main_thread()
Dmntent.cpp45 if (sscanf(buf, " %n%*s%n %n%*s%n %n%*s%n %n%*s%n %d %d", in getmntent_r()
Dgrp_pwd.cpp447 if (sscanf(name, "oem_%u", &id) != 1) { in oem_id_from_name()
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_150.S25 CALL(sscanf)
Dliblinker_reloc_bench_023.S232 CALL(sscanf)
Dliblinker_reloc_bench_081.S309 CALL(sscanf)
Dliblinker_reloc_bench_144.S208 CALL(sscanf)
Dliblinker_reloc_bench_031.S341 CALL(sscanf)
Dliblinker_reloc_bench_076.S314 CALL(sscanf)
Dliblinker_reloc_bench_006.S654 CALL(sscanf)
Dliblinker_reloc_bench_084.S979 CALL(sscanf)
/bionic/benchmarks/
Dstdio_benchmark.cpp212 if (sscanf("file /etc/passwd", "file %s", s) != 1) abort(); in BM_stdio_scanf_s()
220 if (sscanf("size 12345", "size %d", &i) != 1) abort(); in BM_stdio_scanf_d()
233 if (sscanf("6f000000-6f01e000 rwxp 00000000 00:0c 16389419 /system/lib/libcomposer.so", in BM_stdio_scanf_maps()
Dbionic_benchmarks.cpp243 ret = sscanf(arg.c_str(), "AT_ONEBUF_MANUAL_ALIGN_%" SCNd64 "_SIZE_%" SCNd64, in ParseOnebufManualStr()
246 ret = sscanf(arg.c_str(), "AT_ONEBUF_MANUAL_ALIGN_%" SCNd64 "_SIZE_" in ParseOnebufManualStr()
287 ret = sscanf(arg.c_str(), "AT_TWOBUF_MANUAL_ALIGN1_%" SCNd64 "_ALIGN2_%" SCNd64 "_SIZE_%" SCNd64, in ParseTwobufManualStr()
290 ret = sscanf(arg.c_str(), "AT_TWOBUF_MANUAL_ALIGN1_%" SCNd64 "_ALIGN2_%" SCNd64 "_SIZE_" in ParseTwobufManualStr()
/bionic/tests/headers/posix/
Dstdio_h.c133 FUNCTION(sscanf, int (*f)(const char*, const char*, ...)); in stdio_h()
/bionic/libc/malloc_debug/
DMapData.cpp51 if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %4s %" PRIxPTR " %*x:%*x %*d %n", &start, &end, in parse_line()
/bionic/libc/include/
Dstdio.h134 int sscanf(const char* __s, const char* __fmt, ...) __scanflike(2, 3);
/bionic/libc/tools/
Dposix-2013.txt982 sscanf

12