/systemd-251/src/busctl/ |
D | busctl-introspect.c | 119 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_annotation() 238 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 306 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 360 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 422 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 497 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 552 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 631 } else if (t != XML_TEXT || !in_charset(name, WHITESPACE)) in parse_xml_node() 718 } else if (r != XML_TEXT || !in_charset(name, WHITESPACE)) { in parse_xml_introspect()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-util.c | 13 if (!in_charset(s, ALPHANUMERICAL ".,_-+")) in version_is_valid()
|
/systemd-251/src/basic/ |
D | unit-name.c | 97 return in_charset(p, VALID_CHARS); in unit_prefix_is_valid() 111 return in_charset(i, "@" VALID_CHARS); in unit_instance_is_valid() 724 if (string_is_glob(name) && in_charset(name, VALID_CHARS_GLOB)) { in unit_name_mangle_with_suffix()
|
D | string-util.c | 1049 … if (!in_charset(e, "\n")) /* We only consider things truncated if we remove something that in string_truncate_lines() 1163 return in_charset(s1, ok) && in_charset(s2, ok); in streq_skip_trailing_chars()
|
D | user-util.c | 776 … if (in_charset(u, "0123456789")) /* Don't allow fully numeric strings, they might be confused in valid_user_group_name() 783 … if (u[0] == '-' && in_charset(u + 1, "0123456789")) /* Don't allow negative fully numeric in valid_user_group_name()
|
D | string-util.h | 131 static inline bool _pure_ in_charset(const char *s, const char* charset) { in in_charset() function
|
/systemd-251/src/test/ |
D | test-tmpfile-util.c | 22 assert_se(in_charset(suffix, HEXDIGITS)); in test_tempfn_random_one()
|
D | test-fileio.c | 649 assert_se(in_charset(p, "0123456789abcdef")); in TEST() 655 assert_se(in_charset(p, "0123456789abcdef")); in TEST() 661 assert_se(in_charset(p, "0123456789abcdef")); in TEST() 667 assert_se(in_charset(p, "0123456789abcdef")); in TEST()
|
D | test-string-util.c | 524 TEST(in_charset) { in TEST() argument 525 assert_se(in_charset("dddaaabbbcccc", "abcd")); in TEST() 526 assert_se(!in_charset("dddaaabbbcccc", "abc f")); in TEST()
|
/systemd-251/src/shared/ |
D | efi-loader.c | 258 return in_charset(s, ALPHANUMERICAL "+-_."); in efi_loader_entry_name_valid()
|
D | pkcs11-util.c | 35 if (!in_charset(p, ALPHANUMERICAL ".~/-_?;&%=")) in pkcs11_uri_valid()
|
/systemd-251/src/libsystemd/sd-device/ |
D | test-sd-device.c | 173 assert_se(in_charset(val, DIGITS)); in test_sd_device_one()
|
/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 | 591 if (!in_charset(vendor, validchars)) in names_platform()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 270 return in_charset(deployment, VALID_DEPLOYMENT_CHARS); in valid_deployment()
|
/systemd-251/src/portable/ |
D | portablectl.c | 149 if (!in_charset(name, DIGITS LETTERS "-.")) in extract_prefix()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | sd-bus.c | 1446 if (!in_charset(p, "0123456789") || *p == '\0') { in bus_set_address_system_remote() 1462 if (!in_charset(m, "0123456789") && hostname_is_valid(m, 0)) in bus_set_address_system_remote()
|
/systemd-251/src/core/ |
D | dbus-cgroup.c | 1650 else if (!in_charset(rwm, "rwm")) in bus_cgroup_set_property()
|
D | cgroup.c | 650 assert(isempty(mode) || in_charset(mode, "rwm")); in cgroup_add_device_allow()
|
D | load-fragment.c | 4173 if (!isempty(p) && !in_charset(p, "rwm")) { in config_parse_device_allow()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 1223 else if (!in_charset(optarg, DIGITS)) in parse_argv()
|