Searched refs:DIGITS (Results 1 – 23 of 23) sorted by relevance
/systemd-251/src/basic/ |
D | string-util.h | 18 #define DIGITS "0123456789" macro 22 #define ALPHANUMERICAL LETTERS DIGITS 23 #define HEXDIGITS DIGITS "abcdefABCDEF" 24 #define LOWERCASE_HEXDIGITS DIGITS "abcdef"
|
D | procfs-util.c | 110 n = strspn(p, DIGITS); in procfs_tasks_get_current() 195 n = strspn(digits, DIGITS); in convert_meminfo_value_to_uint64_bytes()
|
D | login-util.c | 11 return id[strspn(id, LETTERS DIGITS)] == '\0'; in session_id_valid()
|
D | devnum-util.c | 18 n = strspn(s, DIGITS); in parse_devnum()
|
D | time-util.c | 1055 p += strspn(p, DIGITS); in parse_time() 1230 p += strspn(p, DIGITS); in parse_nsec()
|
D | parse-util.c | 621 s += strspn(s, DIGITS); in parse_fractional_part_u()
|
D | unit-name.c | 25 DIGITS \
|
D | env-util.c | 25 DIGITS LETTERS \
|
D | cgroup-util.c | 1586 DIGITS LETTERS \
|
/systemd-251/src/test/ |
D | test-string-util.c | 949 assert_se(strspn_from_end(NULL, DIGITS) == 0); in TEST() 950 assert_se(strspn_from_end("", DIGITS) == 0); in TEST() 951 assert_se(strspn_from_end("hoge", DIGITS) == 0); in TEST() 952 assert_se(strspn_from_end("1234", DIGITS) == 4); in TEST() 953 assert_se(strspn_from_end("aaa1234", DIGITS) == 4); in TEST() 954 assert_se(strspn_from_end("aaa1234aaa", DIGITS) == 0); in TEST() 955 assert_se(strspn_from_end("aaa12aa34", DIGITS) == 2); in TEST()
|
D | test-ellipsize.c | 109 test_ellipsize_one(DIGITS LETTERS DIGITS LETTERS); in TEST()
|
/systemd-251/src/boot/ |
D | bless-boot.c | 165 k = strspn(e, DIGITS); in parse_counter() 181 k = strspn(e, DIGITS); in parse_counter()
|
/systemd-251/src/shared/ |
D | serialize.c | 155 pos += strspn(value + pos, DIGITS); in deserialize_dual_timestamp()
|
D | dissect-image.c | 219 need_p = strchr(DIGITS, whole_devname[strlen(whole_devname)-1]); /* Last char a digit? */ in make_partition_devname()
|
/systemd-251/src/backlight/ |
D | backlight.c | 74 c += strspn(c, DIGITS); in find_pci_or_platform_parent()
|
/systemd-251/src/libsystemd/sd-device/ |
D | test-sd-device.c | 173 assert_se(in_charset(val, DIGITS)); in test_sd_device_one()
|
D | sd-device.c | 1188 n = strspn_from_end(sysname, DIGITS); in device_set_sysname_and_sysnum()
|
/systemd-251/src/network/ |
D | networkd-route-util.c | 496 if (in_charset(name, DIGITS)) { in config_parse_route_table_names()
|
/systemd-251/src/udev/ |
D | udev-builtin-net_id.c | 573 validchars = UPPERCASE_LETTERS DIGITS; in names_platform()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 42 #define VALID_DEPLOYMENT_CHARS (DIGITS LETTERS "-.:")
|
/systemd-251/src/portable/ |
D | portablectl.c | 149 if (!in_charset(name, DIGITS LETTERS "-.")) in extract_prefix()
|
/systemd-251/src/resolve/ |
D | resolved-manager.c | 1172 if (!strchr(DIGITS, p[-1])) in manager_next_random_name()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 1223 else if (!in_charset(optarg, DIGITS)) in parse_argv()
|