Lines Matching refs:prefix
9 char prefix[256]; in main() local
122 OBJECT_PATH_FOREACH_PREFIX(prefix, "/") { in main()
123 log_info("<%s>", prefix); in main()
128 OBJECT_PATH_FOREACH_PREFIX(prefix, "/xxx") { in main()
129 log_info("<%s>", prefix); in main()
130 assert_se(streq(prefix, "/")); in main()
137 OBJECT_PATH_FOREACH_PREFIX(prefix, "/xxx/yyy/zzz") { in main()
138 log_info("<%s>", prefix); in main()
139 assert_se(r != 0 || streq(prefix, "/xxx/yyy")); in main()
140 assert_se(r != 1 || streq(prefix, "/xxx")); in main()
141 assert_se(r != 2 || streq(prefix, "/")); in main()