Home
last modified time | relevance | path

Searched refs:isdigit (Results 1 – 25 of 200) sorted by relevance

12345678

/openbmc/linux/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()
/openbmc/u-boot/lib/
H A Dstrto.c41 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp-'0' : (islower(*cp) in simple_strtoul()
134 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp - '0' in simple_strtoull()
152 if (isdigit(end[-1])) { in trailing_strtoln()
154 if (!isdigit(*p)) in trailing_strtoln()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A D0002-tmail-Include-ctype.h-for-isdigit.patch4 Subject: [PATCH 2/2] tmail: Include ctype.h for isdigit
20 +#include <ctype.h> /* for isdigit */
/openbmc/linux/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()
/openbmc/linux/include/linux/
H A Dctype.h41 #define isdigit(c) __builtin_isdigit(c) macro
43 static inline int isdigit(int c) in isdigit() function
/openbmc/linux/tools/include/linux/
H A Dctype.h41 #define isdigit(c) __builtin_isdigit(c) macro
47 #define isdigit(c) __isdigit(c) macro
/openbmc/u-boot/drivers/usb/gadget/
H A Depautoconf.c18 #define isdigit(c) ('0' <= (c) && (c) <= '9') macro
103 if (!isdigit(*tmp)) { in ep_matches()
146 if (isdigit(ep->name[2])) { in ep_matches()
/openbmc/u-boot/drivers/video/
H A Dvideomodes.c247 while (*p && !isdigit(*p)) in video_get_video_mode()
254 while (*p && !isdigit(*p)) in video_get_video_mode()
261 while (*p && !isdigit(*p)) in video_get_video_mode()
268 while (*p && !isdigit(*p)) in video_get_video_mode()
/openbmc/linux/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()
/openbmc/qemu/pc-bios/s390-ccw/
H A Dlibc.c41 if (!isdigit(*(unsigned char *)str)) { in atoui()
/openbmc/linux/tools/bpf/bpftool/
H A Dperf.c171 while (isdigit(*pch)) { in show_proc()
191 while (isdigit(*pch)) { in show_proc()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.h57 return isdigit(c) ? c - '0' : tolower(c) - 'a' + 10; in hex2val()
/openbmc/qemu/scripts/qapi/
H A Dcommon.py55 elif c_fun_str[i - 1].isdigit():
121 or name[0].isdigit()):
/openbmc/qemu/include/qemu/
H A Dctype.h14 #define qemu_isdigit(c) isdigit((unsigned char)(c))
/openbmc/openbmc/meta-facebook/recipes-phosphor/hostlogger/
H A Dphosphor-hostlogger_%.bbappend7 …_INST_CNT = "${@sum([1 for item in d.getVar('HOST_LOGGER_INST', True).split() if item.isdigit()])}"
/openbmc/skeleton/pysystemmgr/obmc/system/
H A D__init__.py21 offset = int("".join(list(filter(str.isdigit, name))))
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/fs/smb/client/
H A Dcifsroot.c32 if (isdigit(*start) || *start == '.') in parse_srvaddr()
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dhex_utils_test.cpp48 if (isdigit(c) != 0) in TEST()
/openbmc/linux/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()

12345678