Searched refs:env_value_is_valid (Results 1 – 3 of 3) sorted by relevance
332 TEST(env_value_is_valid) { in TEST() argument333 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()
19 bool env_value_is_valid(const char *e);
57 bool env_value_is_valid(const char *e) { in env_value_is_valid() function87 if (!env_value_is_valid(eq + 1)) in env_assignment_is_valid()