Home
last modified time | relevance | path

Searched refs:utf8_is_valid (Results 1 – 23 of 23) sorted by relevance

/systemd-251/src/test/
Dtest-utf8.c37 TEST(utf8_is_valid) { in TEST() argument
38 assert_se(utf8_is_valid("ascii is valid unicode")); in TEST()
39 assert_se(utf8_is_valid("\342\204\242")); in TEST()
40 assert_se(!utf8_is_valid("\341\204")); in TEST()
107 assert_se(utf8_is_valid(p1)); in TEST()
111 assert_se(utf8_is_valid(p2)); in TEST()
115 assert_se(utf8_is_valid(p3)); in TEST()
123 assert_se(utf8_is_valid(p1)); in TEST()
127 assert_se(utf8_is_valid(p2)); in TEST()
131 assert_se(utf8_is_valid(p3)); in TEST()
[all …]
Dtest-ellipsize.c23 if (!utf8_is_valid(n)) in test_ellipsize_mem_one()
/systemd-251/src/resolve/
Dresolved-util.c51 assert(utf8_is_valid(utf8)); in resolve_system_hostname()
62 if (!utf8_is_valid(label)) in resolve_system_hostname()
Dresolved-dns-packet.c1396 if (!utf8_is_valid(t)) { in dns_packet_read_string()
/systemd-251/src/basic/
Dlocale-util.c140 if (!utf8_is_valid((char*) p + e[i].name_offset)) in add_locales_from_archive()
244 if (!utf8_is_valid(name)) in locale_is_valid()
Duser-util.c763 … if (!utf8_is_valid(u)) /* We want to synthesize JSON from this, hence insist on UTF-8 */ in valid_user_group_name()
850 if (!utf8_is_valid(d)) in valid_gecos()
901 if (!utf8_is_valid(p)) in valid_home()
Dutf8.h18 static inline char *utf8_is_valid(const char *s) { in utf8_is_valid() function
Denv-file.c277 if (!utf8_is_valid(key)) { in check_utf8ness_and_warn()
286 if (value && !utf8_is_valid(value)) { in check_utf8ness_and_warn()
Dos-util.c28 if (!utf8_is_valid(s)) in image_name_is_valid()
Denv-util.c61 if (!utf8_is_valid(e)) in env_value_is_valid()
/systemd-251/src/libsystemd/sd-utf8/
Dsd-utf8.c11 return utf8_is_valid(s); in sd_utf8_is_valid()
/systemd-251/src/shared/
Dkbd-util.c120 if (!utf8_is_valid(name)) in keymap_is_valid()
Dparse-helpers.c24 if (!utf8_is_valid(path)) in path_simplify_and_warn()
Duser-record-nss.c15 return s && utf8_is_valid(s) ? s : NULL; in utf8_only()
29 if (utf8_is_valid(src[i])) in strv_extend_strv_utf8_only()
Ddns-domain.c973 if (!utf8_is_valid(name)) in dns_service_name_is_valid()
Dconf-parser.c192 if (!utf8_is_valid(l)) in parse_line()
/systemd-251/src/libsystemd/sd-bus/
Dbus-socket.c295 return !!utf8_is_valid(token); in verify_anonymous_token()
Dbus-message.c3324 if (!utf8_is_valid(s)) in validate_string()
/systemd-251/src/sysupdate/
Dsysupdate.c1087 if (!utf8_is_valid(c)) in component_name_valid()
/systemd-251/src/systemctl/
Dsystemctl-show.c1608 if (!utf8_is_valid(str)) in print_property()
/systemd-251/src/core/
Ddbus-execute.c2362 if (!utf8_is_valid(copy)) in bus_exec_context_set_transient_property()
Dservice.c4186 else if (!utf8_is_valid(e)) in service_notify_message()
/systemd-251/src/partition/
Drepart.c999 if (!utf8_is_valid(resolved)) { in config_parse_label()