Searched refs:env_name_is_valid (Results 1 – 8 of 8) sorted by relevance
320 TEST(env_name_is_valid) { in TEST() argument321 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()
53 bool env_name_is_valid(const char *e) { in env_name_is_valid() function117 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()
18 bool env_name_is_valid(const char *e);
456 if (!env_name_is_valid(key)) { in merge_env_file_push()
188 if (!env_name_is_valid(*a)) in verb_import_environment()
280 if (!env_name_is_valid(*x)) { in gather_environment_generate()
296 if (r == 0 || isempty(word) || !env_name_is_valid(key)) in condition_test_osrelease()
2883 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()