Home
last modified time | relevance | path

Searched refs:env_name_is_valid (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/test/
Dtest-env-util.c320 TEST(env_name_is_valid) { in TEST() argument
321 assert_se(env_name_is_valid("test")); in TEST()
323 assert_se(!env_name_is_valid(NULL)); in TEST()
324 assert_se(!env_name_is_valid("")); in TEST()
325 assert_se(!env_name_is_valid("xxx\a")); in TEST()
326 assert_se(!env_name_is_valid("xxx\007b")); in TEST()
327 assert_se(!env_name_is_valid("\007\009")); in TEST()
328 assert_se(!env_name_is_valid("5_starting_with_a_number_is_wrong")); in TEST()
329 assert_se(!env_name_is_valid("#¤%&?_only_numbers_letters_and_underscore_allowed")); in TEST()
/systemd-251/src/basic/
Denv-util.c53 bool env_name_is_valid(const char *e) { in env_name_is_valid() function
117 if (!env_name_is_valid(*p)) in strv_env_name_is_valid()
129 if (!env_assignment_is_valid(*p) && !env_name_is_valid(*p)) in strv_env_name_or_assignment_is_valid()
430 if (!env_name_is_valid(assignment)) in strv_env_replace_strdup_passthrough()
445 if (!env_name_is_valid(key)) in strv_env_assign()
Denv-util.h18 bool env_name_is_valid(const char *e);
Denv-file.c456 if (!env_name_is_valid(key)) { in merge_env_file_push()
/systemd-251/src/systemctl/
Dsystemctl-set-environment.c188 if (!env_name_is_valid(*a)) in verb_import_environment()
/systemd-251/src/shared/
Dexec-util.c280 if (!env_name_is_valid(*x)) { in gather_environment_generate()
Dcondition.c296 if (r == 0 || isempty(word) || !env_name_is_valid(key)) in condition_test_osrelease()
/systemd-251/src/core/
Dload-fragment.c2883 if (!env_name_is_valid(k)) { in config_parse_pass_environ()
2958 if (!env_assignment_is_valid(k) && !env_name_is_valid(k)) { in config_parse_unset_environ()