Lines Matching refs:prefix
26 char prefix[256];
139 OBJECT_PATH_FOREACH_PREFIX(prefix, "/") {
140 log_info("<%s>", prefix);
145 OBJECT_PATH_FOREACH_PREFIX(prefix, "/xxx") {
146 log_info("<%s>", prefix);
147 assert_se(streq(prefix, "/"));
154 OBJECT_PATH_FOREACH_PREFIX(prefix, "/xxx/yyy/zzz") {
155 log_info("<%s>", prefix);
156 assert_se(r != 0 || streq(prefix, "/xxx/yyy"));
157 assert_se(r != 1 || streq(prefix, "/xxx"));
158 assert_se(r != 2 || streq(prefix, "/"));