Home
last modified time | relevance | path

Searched refs:env_value_is_valid (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/test/
Dtest-env-util.c332 TEST(env_value_is_valid) { in TEST() argument
333 assert_se(env_value_is_valid("")); in TEST()
334 assert_se(env_value_is_valid("głąb kapuściany")); in TEST()
335 assert_se(env_value_is_valid("printf \"\\x1b]0;<mock-chroot>\\x07<mock-chroot>\"")); in TEST()
336 assert_se(env_value_is_valid("tab\tcharacter")); in TEST()
337 assert_se(env_value_is_valid("new\nline")); in TEST()
338 assert_se(env_value_is_valid("Show this?\rNope. Show that!")); in TEST()
339 assert_se(env_value_is_valid("new DOS\r\nline")); in TEST()
341 assert_se(!env_value_is_valid("\xc5")); /* A truncated utf-8-encoded "ł". in TEST()
/systemd-251/src/basic/
Denv-util.h19 bool env_value_is_valid(const char *e);
Denv-util.c57 bool env_value_is_valid(const char *e) { in env_value_is_valid() function
87 if (!env_value_is_valid(eq + 1)) in env_assignment_is_valid()