Home
last modified time | relevance | path

Searched refs:in_charset (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/busctl/
Dbusctl-introspect.c119 } 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/
Dsysupdate-util.c13 if (!in_charset(s, ALPHANUMERICAL ".,_-+")) in version_is_valid()
/systemd-251/src/basic/
Dunit-name.c97 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()
Dstring-util.c1049 … 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()
Duser-util.c776 … 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()
Dstring-util.h131 static inline bool _pure_ in_charset(const char *s, const char* charset) { in in_charset() function
/systemd-251/src/test/
Dtest-tmpfile-util.c22 assert_se(in_charset(suffix, HEXDIGITS)); in test_tempfn_random_one()
Dtest-fileio.c649 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()
Dtest-string-util.c524 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/
Defi-loader.c258 return in_charset(s, ALPHANUMERICAL "+-_."); in efi_loader_entry_name_valid()
Dpkcs11-util.c35 if (!in_charset(p, ALPHANUMERICAL ".~/-_?;&%=")) in pkcs11_uri_valid()
/systemd-251/src/libsystemd/sd-device/
Dtest-sd-device.c173 assert_se(in_charset(val, DIGITS)); in test_sd_device_one()
/systemd-251/src/network/
Dnetworkd-route-util.c496 if (in_charset(name, DIGITS)) { in config_parse_route_table_names()
/systemd-251/src/udev/
Dudev-builtin-net_id.c591 if (!in_charset(vendor, validchars)) in names_platform()
/systemd-251/src/hostname/
Dhostnamed.c270 return in_charset(deployment, VALID_DEPLOYMENT_CHARS); in valid_deployment()
/systemd-251/src/portable/
Dportablectl.c149 if (!in_charset(name, DIGITS LETTERS "-.")) in extract_prefix()
/systemd-251/src/libsystemd/sd-bus/
Dsd-bus.c1446 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/
Ddbus-cgroup.c1650 else if (!in_charset(rwm, "rwm")) in bus_cgroup_set_property()
Dcgroup.c650 assert(isempty(mode) || in_charset(mode, "rwm")); in cgroup_add_device_allow()
Dload-fragment.c4173 if (!isempty(p) && !in_charset(p, "rwm")) { in config_parse_device_allow()
/systemd-251/src/nspawn/
Dnspawn.c1223 else if (!in_charset(optarg, DIGITS)) in parse_argv()