Searched refs:unit_prefix_is_valid (Results 1 – 4 of 4) sorted by relevance
429 TEST(unit_prefix_is_valid) { in TEST() argument430 assert_se(unit_prefix_is_valid("fooBar")); in TEST()431 assert_se(unit_prefix_is_valid("foo-bar")); in TEST()432 assert_se(unit_prefix_is_valid("foo.stUff")); in TEST()433 assert_se(unit_prefix_is_valid("fOo123.stuff")); in TEST()434 assert_se(unit_prefix_is_valid("foo123.Stuff")); in TEST()436 assert_se(!unit_prefix_is_valid("$¢£")); in TEST()437 assert_se(!unit_prefix_is_valid("")); in TEST()438 assert_se(!unit_prefix_is_valid("foo bar")); in TEST()439 assert_se(!unit_prefix_is_valid("foo/bar")); in TEST()[all …]
90 bool unit_prefix_is_valid(const char *p) { in unit_prefix_is_valid() function278 if (!unit_prefix_is_valid(prefix)) in unit_name_build_from_type()628 if (!unit_prefix_is_valid(prefix)) in unit_name_from_path_instance()825 if (!unit_prefix_is_valid(name)) in slice_build_subslice()
20 bool unit_prefix_is_valid(const char *p) _pure_;
201 if (!unit_prefix_is_valid(prefix)) in unit_file_find_dirs()