Home
last modified time | relevance | path

Searched refs:unit_prefix_is_valid (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-unit-name.c429 TEST(unit_prefix_is_valid) { in TEST() argument
430 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 …]
/systemd-251/src/basic/
Dunit-name.c90 bool unit_prefix_is_valid(const char *p) { in unit_prefix_is_valid() function
278 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()
Dunit-name.h20 bool unit_prefix_is_valid(const char *p) _pure_;
/systemd-251/src/shared/
Ddropin.c201 if (!unit_prefix_is_valid(prefix)) in unit_file_find_dirs()