Home
last modified time | relevance | path

Searched refs:unit_instance_is_valid (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-unit-name.c416 TEST(unit_instance_is_valid) { in TEST() argument
417 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()
/systemd-251/src/basic/
Dunit-name.c100 bool unit_instance_is_valid(const char *i) { in unit_instance_is_valid() function
284 if (!unit_instance_is_valid(instance)) in unit_name_build_from_type()
469 if (!unit_instance_is_valid(i)) in unit_name_replace_instance()
Dunit-name.h21 bool unit_instance_is_valid(const char *i) _pure_;
Dsyslog-util.c120 if (!unit_instance_is_valid(s)) in log_namespace_name_valid()
/systemd-251/src/shared/
Dinstall.c1293 if (printed && !unit_instance_is_valid(printed)) in config_parse_default_instance()