Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-unit-name.c504 assert_se(slice_build_subslice(SPECIAL_ROOT_SLICE, "foo", &a) >= 0); in TEST()
505 assert_se(slice_build_subslice(a, "bar", &b) >= 0); in TEST()
507 assert_se(slice_build_subslice(b, "barfoo", &a) >= 0); in TEST()
509 assert_se(slice_build_subslice(a, "foobar", &b) >= 0); in TEST()
514 assert_se(slice_build_subslice("foo.service", "bar", &a) < 0); in TEST()
515 assert_se(slice_build_subslice("foo", "bar", &a) < 0); in TEST()
/systemd-251/src/basic/
Dunit-name.h66 int slice_build_subslice(const char *slice, const char *name, char **subslice);
Dunit-name.c815 int slice_build_subslice(const char *slice, const char *name, char **ret) { in slice_build_subslice() function
/systemd-251/src/login/
Dlogind-user.c75 r = slice_build_subslice(SPECIAL_USER_SLICE, lu, &u->slice); in user_new()