Home
last modified time | relevance | path

Searched refs:UNIT_NAME_ANY (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/test/ !
Dtest-unit-name.c42 test_unit_name_is_valid_one("foo.service", UNIT_NAME_ANY, true); in TEST()
48 test_unit_name_is_valid_one("foo@bar.service", UNIT_NAME_ANY, true); in TEST()
54 test_unit_name_is_valid_one("foo@bar@bar.service", UNIT_NAME_ANY, true); in TEST()
60 test_unit_name_is_valid_one("foo@.service", UNIT_NAME_ANY, true); in TEST()
67 test_unit_name_is_valid_one("_strange::::.service", UNIT_NAME_ANY, true); in TEST()
69 test_unit_name_is_valid_one(".service", UNIT_NAME_ANY, false); in TEST()
70 test_unit_name_is_valid_one("", UNIT_NAME_ANY, false); in TEST()
71 test_unit_name_is_valid_one("foo.waldo", UNIT_NAME_ANY, false); in TEST()
72 test_unit_name_is_valid_one("@.service", UNIT_NAME_ANY, false); in TEST()
73 test_unit_name_is_valid_one("@piep.service", UNIT_NAME_ANY, false); in TEST()
[all …]
/systemd-251/src/basic/ !
Dunit-name.c134 if (!unit_name_is_valid(n, UNIT_NAME_ANY)) in unit_name_to_prefix()
156 if (!unit_name_is_valid(n, UNIT_NAME_ANY)) in unit_name_to_instance()
190 if (!unit_name_is_valid(n, UNIT_NAME_ANY)) in unit_name_to_prefix_and_instance()
210 if (!unit_name_is_valid(n, UNIT_NAME_ANY)) in unit_name_to_type()
227 if (!unit_name_is_valid(n, UNIT_NAME_ANY)) in unit_name_change_suffix()
245 if (!unit_name_is_valid(s, UNIT_NAME_ANY)) in unit_name_change_suffix()
720 if (unit_name_is_valid(name, UNIT_NAME_ANY)) in unit_name_mangle_with_suffix()
767 if (!FLAGS_SET(flags, UNIT_NAME_MANGLE_GLOB) && !unit_name_is_valid(s, UNIT_NAME_ANY)) in unit_name_mangle_with_suffix()
890 if (!unit_name_is_valid(a, UNIT_NAME_ANY) || !unit_name_is_valid(b, UNIT_NAME_ANY)) in unit_name_prefix_equal()
Dunit-file.c260 if (unit_name_is_valid(chopped, UNIT_NAME_ANY) || in directory_name_is_valid()
470 if (!unit_name_is_valid(de->d_name, UNIT_NAME_ANY)) in unit_file_build_name_map()
489 if (!unit_name_is_valid(de->d_name, UNIT_NAME_ANY)) { in unit_file_build_name_map()
Dunit-name.h15 UNIT_NAME_ANY = UNIT_NAME_PLAIN|UNIT_NAME_TEMPLATE|UNIT_NAME_INSTANCE, enumerator
/systemd-251/src/shared/ !
Dinstall.c635 if (!unit_name_is_valid(de->d_name, UNIT_NAME_ANY)) in remove_marked_symlinks_fd()
822 assert(unit_name_is_valid(info->name, UNIT_NAME_ANY)); in find_symlinks_in_directory()
1120 if (!unit_name_is_valid(name, UNIT_NAME_ANY)) in install_info_add()
1921 UnitNameFlags valid_dst_type = UNIT_NAME_ANY; in install_info_symlink_wants()
1990 if (unit_name_is_valid(dst, UNIT_NAME_ANY)) { in install_info_symlink_wants()
2245 if (!unit_name_is_valid(*i, UNIT_NAME_ANY)) { in unit_file_mask()
2294 if (!unit_name_is_valid(*i, UNIT_NAME_ANY)) in unit_file_unmask()
2389 if (!unit_name_is_valid(fn, UNIT_NAME_ANY)) in unit_file_link()
2486 if (!unit_name_is_valid(*i, UNIT_NAME_ANY)) in unit_file_revert()
2629 if (!unit_name_is_valid(target, UNIT_NAME_ANY)) in unit_file_add_dependency()
[all …]
/systemd-251/src/core/ !
Dload-dropin.c52 if (!unit_name_is_valid(entry, UNIT_NAME_ANY)) { in process_deps()
Ddbus-manager.c913 if (!unit_name_is_valid(*unit, UNIT_NAME_ANY)) in method_list_units_by_names()
/systemd-251/src/analyze/ !
Danalyze-verify-util.c55 if (!unit_name_is_valid(name, UNIT_NAME_ANY)) in verify_prepare_filename()
/systemd-251/src/portable/ !
Dportable.c257 if (!unit_name_is_valid(de->d_name, UNIT_NAME_ANY)) in extract_now()
1565 if (!unit_name_is_valid(de->d_name, UNIT_NAME_ANY)) in portable_detach()
1745 if (!unit_name_is_valid(de->d_name, UNIT_NAME_ANY)) in portable_get_state_internal()