Lines Matching refs:roots
42 /* roots can be either /foo, ~user/bar or baz */
43 ARRAY(const char *) roots;
411 p_array_init(&ctx->roots, ctx->ctx.pool, 8);
475 array_append(&ctx->roots, &root, 1);
478 array_sort(&ctx->roots, i_strcmp_p);
480 for (i = 1; i < array_count(&ctx->roots); ) {
481 parentp = array_idx(&ctx->roots, i-1);
482 childp = array_idx(&ctx->roots, i);
488 array_delete(&ctx->roots, i, 1);
496 const char *const *roots;
501 roots = array_get(&ctx->roots, &count);
504 ctx->dir = fs_list_read_dir(ctx, roots[ctx->root_idx],