Home
last modified time | relevance | path

Searched refs:string_has_cc (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/test/
Dtest-string-util.c271 TEST(string_has_cc) { in TEST() argument
272 assert_se(string_has_cc("abc\1", NULL)); in TEST()
273 assert_se(string_has_cc("abc\x7f", NULL)); in TEST()
274 assert_se(string_has_cc("abc\x7f", NULL)); in TEST()
275 assert_se(string_has_cc("abc\t\x7f", "\t")); in TEST()
276 assert_se(string_has_cc("abc\t\x7f", "\t")); in TEST()
277 assert_se(string_has_cc("\x7f", "\t")); in TEST()
278 assert_se(string_has_cc("\x7f", "\t\a")); in TEST()
280 assert_se(!string_has_cc("abc\t\t", "\t")); in TEST()
281 assert_se(!string_has_cc("abc\t\t\a", "\t\a")); in TEST()
[all …]
/systemd-251/src/systemctl/
Dsystemctl-set-environment.c175 if (string_has_cc(*e, NULL)) in verb_import_environment()
198 if (string_has_cc(eq + 1, NULL)) in verb_import_environment()
/systemd-251/src/basic/
Duser-util.c766 … if (string_has_cc(u, NULL)) /* CC characters are just dangerous (and \n in particular is the in valid_user_group_name()
853 if (string_has_cc(d, NULL)) in valid_gecos()
904 if (string_has_cc(p, NULL)) in valid_home()
Dstring-util.h145 bool string_has_cc(const char *p, const char *ok) _pure_;
Dos-util.c25 if (string_has_cc(s, NULL)) in image_name_is_valid()
Denv-file.c502 if (string_has_cc(p, NULL) || chars_intersect(p, WHITESPACE SHELL_NEED_QUOTES)) { in write_env_var()
Dstring-util.c257 bool string_has_cc(const char *p, const char *ok) { in string_has_cc() function
/systemd-251/src/hostname/
Dhostnamed.c989 if (prop == PROP_PRETTY_HOSTNAME && string_has_cc(name, NULL)) in set_machine_info()
995 if (prop == PROP_LOCATION && string_has_cc(name, NULL)) in set_machine_info()
/systemd-251/src/sysupdate/
Dsysupdate-resource.c405 if (string_has_cc(fn, NULL)) in resource_load_from_web()
Dsysupdate.c1084 if (string_has_cc(c, NULL)) in component_name_valid()
/systemd-251/src/shared/
Ddns-domain.c976 if (string_has_cc(name, NULL)) in dns_service_name_is_valid()
/systemd-251/src/cryptsetup/
Dcryptsetup.c504 if (!isempty(unescaped) && !string_has_cc(unescaped, NULL)) in disk_description()
/systemd-251/src/home/
Dhomectl.c3160 if (string_has_cc(optarg, NULL)) in parse_argv()