Searched refs:string_has_cc (Results 1 – 13 of 13) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 271 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/ |
D | systemctl-set-environment.c | 175 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/ |
D | user-util.c | 766 … 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()
|
D | string-util.h | 145 bool string_has_cc(const char *p, const char *ok) _pure_;
|
D | os-util.c | 25 if (string_has_cc(s, NULL)) in image_name_is_valid()
|
D | env-file.c | 502 if (string_has_cc(p, NULL) || chars_intersect(p, WHITESPACE SHELL_NEED_QUOTES)) { in write_env_var()
|
D | string-util.c | 257 bool string_has_cc(const char *p, const char *ok) { in string_has_cc() function
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 989 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/ |
D | sysupdate-resource.c | 405 if (string_has_cc(fn, NULL)) in resource_load_from_web()
|
D | sysupdate.c | 1084 if (string_has_cc(c, NULL)) in component_name_valid()
|
/systemd-251/src/shared/ |
D | dns-domain.c | 976 if (string_has_cc(name, NULL)) in dns_service_name_is_valid()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup.c | 504 if (!isempty(unescaped) && !string_has_cc(unescaped, NULL)) in disk_description()
|
/systemd-251/src/home/ |
D | homectl.c | 3160 if (string_has_cc(optarg, NULL)) in parse_argv()
|