Searched refs:unit_instance_is_valid (Results 1 – 5 of 5) sorted by relevance
416 TEST(unit_instance_is_valid) { in TEST() argument417 assert_se(unit_instance_is_valid("fooBar")); in TEST()418 assert_se(unit_instance_is_valid("foo-bar")); in TEST()419 assert_se(unit_instance_is_valid("foo.stUff")); in TEST()420 assert_se(unit_instance_is_valid("fOo123.stuff")); in TEST()421 assert_se(unit_instance_is_valid("@f_oo123.Stuff")); in TEST()423 assert_se(!unit_instance_is_valid("$¢£")); in TEST()424 assert_se(!unit_instance_is_valid("")); in TEST()425 assert_se(!unit_instance_is_valid("foo bar")); in TEST()426 assert_se(!unit_instance_is_valid("foo/bar")); in TEST()
100 bool unit_instance_is_valid(const char *i) { in unit_instance_is_valid() function284 if (!unit_instance_is_valid(instance)) in unit_name_build_from_type()469 if (!unit_instance_is_valid(i)) in unit_name_replace_instance()
21 bool unit_instance_is_valid(const char *i) _pure_;
120 if (!unit_instance_is_valid(s)) in log_namespace_name_valid()
1293 if (printed && !unit_instance_is_valid(printed)) in config_parse_default_instance()