/kernel/liteos_m/testsuites/unittest/posix/src/stdlib/ |
H A D | strtoull_test.c | 79 unsigned long long ret = strtoull(nPtr, &endPtr, 10); 81 LOG("[DEMO] posix stdlib test case 1:strtoull(base=10) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr); 83 LOG("[DEMO] posix stdlib test case 1:strtoull(base=10) ret:%llu,%s fail.\n", ret, nPtr); 99 unsigned long long ret = strtoull(nPtr, &endPtr, 2); 101 LOG("[DEMO] posix stdlib test case 2:strtoull(base=2) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr); 103 LOG("[DEMO] posix stdlib test case 2:strtoull(base=2) ret:%llu,%s fail.\n", ret, nPtr); 119 unsigned long long ret = strtoull(nPtr, &endPtr, 16); 121 LOG("[DEMO] posix stdlib test case 3:strtoull(base=16) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr); 123 LOG("[DEMO] posix stdlib test case 3:strtoull(base=16) ret:%llu,%s fail.\n", ret, nPtr); 139 unsigned long long ret = strtoull(nPt [all...] |
/kernel/liteos_m/testsuites/unittest/xts/io/ |
H A D | xts_io_stdlib_test.c | 226 * @tc.name strtoull basic function test 233 unsigned long long ret = strtoull(nPtr, &endPtr, 10); /* 10 common data for test, no special meaning */ 237 ret = strtoull(endPtr, &endPtr, 2); /* 2 common data for test, no special meaning */ 241 ret = strtoull(endPtr, &endPtr, 16); /* 16 common data for test, no special meaning */ 245 ret = strtoull(endPtr, &endPtr, 8); /* 8 common data for test, no special meaning */ 249 ret = strtoull(endPtr, &endPtr, 65); /* 65 common data for test, no special meaning */ 253 ret = strtoull(endPtr, &endPtr, 0); 257 ret = strtoull(endPtr, &endPtr, 0); 262 ret = strtoull(nPtr1, &endPtr, 10); /* 10 common data for test, no special meaning */ 266 ret = strtoull(endPt [all...] |
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | treeboot-bamboo.c | 25 mac64 = strtoull((char *)PIBS_MAC0, 0, 16); in read_pibs_mac() 28 mac64 = strtoull((char *)PIBS_MAC1, 0, 16); in read_pibs_mac()
|
H A D | planetcore.c | 58 *val = strtoull(str, NULL, 10); in planetcore_get_decimal() 68 *val = strtoull(str, NULL, 16); in planetcore_get_hex()
|
H A D | stdlib.h | 5 unsigned long long int strtoull(const char *ptr, char **end, int base);
|
H A D | stdlib.c | 13 unsigned long long int strtoull(const char *ptr, char **end, int base) in strtoull() function
|
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | treeboot-bamboo.c | 25 mac64 = strtoull((char *)PIBS_MAC0, 0, 16); in read_pibs_mac() 28 mac64 = strtoull((char *)PIBS_MAC1, 0, 16); in read_pibs_mac()
|
H A D | planetcore.c | 58 *val = strtoull(str, NULL, 10); in planetcore_get_decimal() 68 *val = strtoull(str, NULL, 16); in planetcore_get_hex()
|
H A D | stdlib.h | 5 unsigned long long int strtoull(const char *ptr, char **end, int base);
|
H A D | stdlib.c | 13 unsigned long long int strtoull(const char *ptr, char **end, int base) in strtoull() function
|
/kernel/linux/linux-6.6/tools/perf/arch/loongarch/annotate/ |
H A D | instructions.c | 20 ops->target.addr = strtoull(c, &endptr, 16); in loongarch_call__parse() 71 ops->target.addr = strtoull(c, NULL, 16); in loongarch_jump__parse() 73 ops->target.addr = strtoull(ops->raw, NULL, 16); in loongarch_jump__parse()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
H A D | null_syscall.c | 86 v = strtoull(p + 1, &end, 0); in get_proc_frequency() 110 clock_frequency = strtoull(override, NULL, 10); in get_proc_frequency()
|
/kernel/linux/linux-6.6/tools/perf/arch/arm64/util/ |
H A D | header.c | 105 u64 map_id = strtoull(mapcpuid, NULL, 16); in strcmp_cpuid_str() 108 u64 id = strtoull(idstr, NULL, 16); in strcmp_cpuid_str()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/ |
H A D | null_syscall.c | 87 v = strtoull(p + 1, &end, 0); in get_proc_frequency() 111 clock_frequency = strtoull(override, NULL, 10); in get_proc_frequency()
|
/kernel/linux/linux-5.10/tools/perf/arch/s390/annotate/ |
H A D | instructions.c | 17 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse() 77 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | trace-event-parse.c | 140 addr = strtoull(addr_str, NULL, 16); in parse_ftrace_printk() 207 return strtoull(flag, NULL, 0); in eval_flag()
|
H A D | smt.c | 38 siblings = strtoull(str, NULL, 16); in smt_on()
|
/kernel/linux/linux-6.6/tools/perf/arch/s390/annotate/ |
H A D | instructions.c | 17 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse() 74 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | trace-event-parse.c | 142 addr = strtoull(addr_str, NULL, 16); in parse_ftrace_printk() 209 return strtoull(flag, NULL, 0); in eval_flag()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 51 base = strtoull(size, &scale, 0); in parse_size() 180 unsigned long long total = strtoull(buf + strlen(hugepages_total), NULL, 10); in get_def_hugetlb_pagesz() 188 return strtoull(buf + strlen(hugepagesize), NULL, 10) << 10; in get_def_hugetlb_pagesz()
|
/kernel/liteos_m/testsuites/unittest/fuzz/src/stdlib/ |
H A D | strtoull_fuzz.c | 70 (void)strtoull(str, endPtr, base); in StrtoullFuzzTest() 73 printf("Fuzz test in line [%d] strtoull ok\n", __LINE__); in StrtoullFuzzTest()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc.h | 36 val = strtoull(p, end, 10); in xstrtoull()
|
/kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
H A D | acpi_cppc.c | 53 value = strtoull(linebuf, &endp, 0); in acpi_cppc_get_data()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc.h | 36 val = strtoull(p, end, 10); in xstrtoull()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 27 base = strtoull(size, &scale, 0); in parse_size()
|