Home
last modified time | relevance | path

Searched refs:isdigit (Results 1 - 25 of 247) sorted by relevance

12345678910

/kernel/liteos_m/testsuites/unittest/posix/src/ctype/
H A Disdigit_test.c75 int ret = isdigit(a);
77 LOG("[DEMO] posix ctype test case 1:isdigit(%c) ok.\n", a);
80 LOG("[DEMO] posix ctype test case 1:isdigit(%c) fail.\n", a);
94 int ret = isdigit(a);
96 LOG("[DEMO] posix ctype test case 2:isdigit(%c) ok.\n", a);
99 LOG("[DEMO] posix ctype test case 2:isdigit(%c) fail.\n", a);
113 int ret = isdigit(a);
115 LOG("[DEMO] posix ctype test case 3:isdigit(%c) ok.\n", a);
118 LOG("[DEMO] posix ctype test case 3:isdigit(%c) fail.\n", a);
132 int ret = isdigit(
[all...]
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dctype.h37 int isdigit(int c) in isdigit() function
78 return isdigit(c) || (unsigned int)(c - 'A') < 6 || (unsigned int)(c - 'a') < 6; in isxdigit()
90 return isalpha(c) || isdigit(c); in isalnum()
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dctype.h5 static inline int isdigit(int ch) in isdigit() function
12 if (isdigit(ch)) in isxdigit()
H A Dprintf.c22 while (isdigit(**s)) in skip_atoi()
158 if (isdigit(*fmt)) in vsprintf()
174 if (isdigit(*fmt)) in vsprintf()
H A Dstring.c94 while (isdigit(*s)) in atou()
133 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull()
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dctype.h5 static inline int isdigit(int ch) in isdigit() function
12 if (isdigit(ch)) in isxdigit()
H A Dprintf.c22 while (isdigit(**s)) in skip_atoi()
158 if (isdigit(*fmt)) in vsprintf()
174 if (isdigit(*fmt)) in vsprintf()
H A Dstring.c94 while (isdigit(*s)) in atou()
133 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dcpufeature.c251 if (!isdigit(ext_end[-1])) in riscv_parse_isa_string()
254 while (isdigit(*--ext_end)) in riscv_parse_isa_string()
257 if (tolower(ext_end[0]) != 'p' || !isdigit(ext_end[-1])) { in riscv_parse_isa_string()
262 while (isdigit(*--ext_end)) in riscv_parse_isa_string()
291 if (!isdigit(*isa)) in riscv_parse_isa_string()
294 while (isdigit(*++isa)) in riscv_parse_isa_string()
300 if (!isdigit(*++isa)) { in riscv_parse_isa_string()
305 while (isdigit(*++isa)) in riscv_parse_isa_string()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/
H A Dguest_sprintf.c12 static int isdigit(int ch) in isdigit() function
21 while (isdigit(**s)) in skip_atoi()
169 if (isdigit(*fmt)) in guest_vsnprintf()
185 if (isdigit(*fmt)) in guest_vsnprintf()
/kernel/linux/linux-6.6/include/linux/
H A Dctype.h41 #define isdigit(c) __builtin_isdigit(c) macro
43 static inline int isdigit(int c) in isdigit() function
/kernel/linux/linux-6.6/tools/include/linux/
H A Dctype.h41 #define isdigit(c) __builtin_isdigit(c) macro
47 #define isdigit(c) __isdigit(c) macro
/kernel/linux/linux-5.10/tools/power/cpupower/utils/
H A Dcpufreq-set.c74 for (scan = str; isdigit(*scan) || *scan == '.'; scan++) { in string_to_frequency()
98 for (cp = 0; isdigit(str[cp]); cp++) in string_to_frequency()
102 while (power > -1 && isdigit(str[cp+1])) { in string_to_frequency()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/
H A Dcpufreq-set.c74 for (scan = str; isdigit(*scan) || *scan == '.'; scan++) { in string_to_frequency()
98 for (cp = 0; isdigit(str[cp]); cp++) in string_to_frequency()
102 while (power > -1 && isdigit(str[cp+1])) { in string_to_frequency()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dperf.c166 while (isdigit(*pch)) { in show_proc()
187 while (isdigit(*pch)) { in show_proc()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dperf.c171 while (isdigit(*pch)) { in show_proc()
191 while (isdigit(*pch)) { in show_proc()
/kernel/liteos_m/testsuites/unittest/fuzz/src/ctype/
H A Disdigit_fuzz.c57 (void)isdigit(c); in IsdigitFuzzTest()
60 printf("Fuzz test in line [%d] isdigit ok\n", __LINE__); in IsdigitFuzzTest()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dutprint.c144 while (isdigit((int)*string)) { in acpi_ut_scan_number()
374 if (isdigit((int)*format)) { in vsnprintf()
391 if (isdigit((int)*format)) { in vsnprintf()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dutprint.c144 while (isdigit((int)*string)) { in acpi_ut_scan_number()
374 if (isdigit((int)*format)) { in vsnprintf()
391 if (isdigit((int)*format)) { in vsnprintf()
/kernel/linux/linux-5.10/security/
H A Ddevice_cgroup.c684 } else if (isdigit(*b)) { in devcgroup_update_access()
689 if (!isdigit(*b)) in devcgroup_update_access()
706 } else if (isdigit(*b)) { in devcgroup_update_access()
711 if (!isdigit(*b)) in devcgroup_update_access()
/kernel/linux/linux-6.6/security/
H A Ddevice_cgroup.c685 } else if (isdigit(*b)) { in devcgroup_update_access()
690 if (!isdigit(*b)) in devcgroup_update_access()
707 } else if (isdigit(*b)) { in devcgroup_update_access()
712 if (!isdigit(*b)) in devcgroup_update_access()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.h57 return isdigit(c) ? c - '0' : tolower(c) - 'a' + 10; in hex2val()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.h57 return isdigit(c) ? c - '0' : tolower(c) - 'a' + 10; in hex2val()
/kernel/linux/linux-5.10/kernel/
H A Dreboot.c555 if (isdigit(*(str+1))) in reboot_setup()
558 isdigit(*(str+3))) in reboot_setup()
/kernel/linux/linux-6.6/block/
H A Dearly-lookup.c175 while (p > s && isdigit(p[-1])) in devt_from_devname()
188 if (p < s + 2 || !isdigit(p[-2]) || p[-1] != 'p') in devt_from_devname()

Completed in 12 milliseconds

12345678910