Searched refs:slice_build_subslice (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-unit-name.c | 504 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/ |
D | unit-name.h | 66 int slice_build_subslice(const char *slice, const char *name, char **subslice);
|
D | unit-name.c | 815 int slice_build_subslice(const char *slice, const char *name, char **ret) { in slice_build_subslice() function
|
/systemd-251/src/login/ |
D | logind-user.c | 75 r = slice_build_subslice(SPECIAL_USER_SLICE, lu, &u->slice); in user_new()
|