Searched refs:build_ctx (Results 1 - 4 of 4) sorted by relevance
/dovecot/src/plugins/fts-squat/ |
H A D | squat-test.c | 39 struct squat_trie_build_context *build_ctx; local 69 if (squat_trie_build_init(trie, &build_ctx) < 0) 125 ret = squat_trie_build_more(build_ctx, seq, index_type, 128 ret = squat_trie_build_more(build_ctx, seq, index_type, 133 if (squat_trie_build_deinit(&build_ctx, NULL) < 0)
|
H A D | squat-uidlist.h | 47 int squat_uidlist_rebuild_init(struct squat_uidlist_build_context *build_ctx,
|
H A D | fts-backend-squat.c | 29 struct squat_trie_build_context *build_ctx; member in struct:squat_fts_backend_update_context 210 if (squat_trie_build_more(ctx->build_ctx, ctx->uid, 226 if (ctx->build_ctx == NULL) 234 (void)squat_trie_build_deinit(&ctx->build_ctx, NULL); 238 if (squat_trie_build_deinit(&ctx->build_ctx, &uids) < 0) 273 if (squat_trie_build_init(backend->trie, &ctx->build_ctx) < 0) 337 return squat_trie_build_more(ctx->build_ctx, ctx->uid, ctx->squat_type,
|
H A D | squat-uidlist.c | 78 struct squat_uidlist_build_context *build_ctx; member in struct:squat_uidlist_rebuild_context 896 int squat_uidlist_rebuild_init(struct squat_uidlist_build_context *build_ctx, argument 905 if (build_ctx->build_hdr.link_count == 0) 909 if (build_ctx->build_hdr.link_count < 910 build_ctx->build_hdr.count*2/3) 917 if (squat_uidlist_read_to_memory(build_ctx->uidlist) < 0) 920 temp_path = t_strconcat(build_ctx->uidlist->path, ".tmp", NULL); 921 fd = squat_trie_create_fd(build_ctx->uidlist->trie, temp_path, O_TRUNC); 926 ctx->uidlist = build_ctx->uidlist; 927 ctx->build_ctx [all...] |
Completed in 31 milliseconds