Home
last modified time | relevance | path

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

/bionic/tests/
Dstdio_test.cpp498 CheckInfNan(snprintf, sscanf, "%s", in TEST()
502 CheckInfNan(snprintf, sscanf, "%s", in TEST()
506 CheckInfNan(snprintf, sscanf, "%s", in TEST()
510 CheckInfNan(snprintf, sscanf, "%s", in TEST()
514 CheckInfNan(snprintf, sscanf, "%s", in TEST()
518 CheckInfNan(snprintf, sscanf, "%s", in TEST()
522 CheckInfNan(snprintf, sscanf, "%s", in TEST()
526 CheckInfNan(snprintf, sscanf, "%s", in TEST()
998 ASSERT_EQ(9, sscanf(" hello 123 456abAB! 1.23 0x1.2p3 world", in TEST()
1021 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.cpp299 ASSERT_EQ(4, sscanf(content.c_str(), "%d (cat) %*c %d %d %d", &ps->pid, &ps->ppid, &ps->pgrp, in GetChildStat()
317 if (sscanf(line.c_str(), "SigBlk: %" SCNx64, &ps->sigblk) == 1) saw_blk = true; in GetChildStatus()
318 if (sscanf(line.c_str(), "SigIgn: %" SCNx64, &ps->sigign) == 1) saw_ign = true; in GetChildStatus()
Dutils.h111 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.cpp279 return sscanf(buf.release, "%ld.%ld", major, minor) == 2; in parse_kernel_release()
/bionic/libc/bionic/
Dsysinfo.cpp43 return (sscanf(s, "cpu%u%c", &cpu, &dummy) == 1); in __matches_cpuN()
Dmntent.cpp45 if (sscanf(buf, " %n%*s%n %n%*s%n %n%*s%n %n%*s%n %d %d", in getmntent_r()
Dpthread_attr.cpp176 if (sscanf(end_of_comm + 1, " %*c " in __get_main_stack_startstack()
211 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { in __pthread_attr_getstack_main_thread()
Dgrp_pwd.cpp418 if (sscanf(name, "oem_%u", &id) != 1) { in oem_id_from_name()
/bionic/benchmarks/
Dstdio_benchmark.cpp213 if (sscanf("file /etc/passwd", "file %s", s) != 1) abort(); in BM_stdio_scanf_s()
221 if (sscanf("size 12345", "size %d", &i) != 1) abort(); in BM_stdio_scanf_d()
234 if (sscanf("6f000000-6f01e000 rwxp 00000000 00:0c 16389419 /system/lib/libcomposer.so", in BM_stdio_scanf_maps()
Dbionic_benchmarks.cpp241 ret = sscanf(arg.c_str(), "AT_ONEBUF_MANUAL_ALIGN_%" SCNd64 "_SIZE_%" SCNd64, in ParseOnebufManualStr()
244 ret = sscanf(arg.c_str(), "AT_ONEBUF_MANUAL_ALIGN_%" SCNd64 "_SIZE_" in ParseOnebufManualStr()
285 ret = sscanf(arg.c_str(), "AT_TWOBUF_MANUAL_ALIGN1_%" SCNd64 "_ALIGN2_%" SCNd64 "_SIZE_%" SCNd64, in ParseTwobufManualStr()
288 ret = sscanf(arg.c_str(), "AT_TWOBUF_MANUAL_ALIGN1_%" SCNd64 "_ALIGN2_%" SCNd64 "_SIZE_" in ParseTwobufManualStr()
/bionic/libc/malloc_debug/
DMapData.cpp51 if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %4s %" PRIxPTR " %*x:%*x %*d %n", &start, &end, in parse_line()
/bionic/tests/headers/posix/
Dstdio_h.c133 FUNCTION(sscanf, int (*f)(const char*, const char*, ...)); in stdio_h()
/bionic/libc/include/
Dstdio.h134 int sscanf(const char* __s, const char* __fmt, ...) __scanflike(2, 3);
/bionic/libc/tools/
Dposix-2013.txt982 sscanf
/bionic/libc/stdio/
Dstdio.cpp984 int sscanf(const char* s, const char* fmt, ...) { in sscanf() function
/bionic/tools/versioner/platforms/
Dlibc.map.txt985 sscanf;
/bionic/libc/
Dlibc.map.txt985 sscanf;