Searched refs:jbc (Results 1 – 7 of 7) sorted by relevance
/third_party/ejdb/src/ |
D | ejdb2.c | 4 static iwrc _jb_put_new_lw(JBCOLL jbc, JBL jbl, int64_t *id); 51 static void _jb_coll_release(JBCOLL jbc) { in _jb_coll_release() argument 52 if (jbc->meta) { in _jb_coll_release() 53 jbl_destroy(&jbc->meta); in _jb_coll_release() 56 for (JBIDX idx = jbc->idx; idx; idx = nidx) { in _jb_coll_release() 60 jbc->idx = 0; in _jb_coll_release() 61 pthread_rwlock_destroy(&jbc->rwl); in _jb_coll_release() 62 free(jbc); in _jb_coll_release() 65 static iwrc _jb_coll_load_index_lr(JBCOLL jbc, IWKV_val *mval) { in _jb_coll_load_index_lr() argument 87 RCC(rc, finish, iwkv_db(jbc->db->iwkv, idx->dbid, idx->idbf, &idx->idb)); in _jb_coll_load_index_lr() [all …]
|
D | ejdb2_internal.h | 108 JBCOLL jbc; /**< Owner document collection */ member 138 JBCOLL jbc; member 178 JBCOLL jbc; /**< Collection */ member 219 iwrc jb_put(JBCOLL jbc, JBL jbl, int64_t id); 220 iwrc jb_del(JBCOLL jbc, JBL jbl, int64_t id); 221 iwrc jb_cursor_set(JBCOLL jbc, IWKV_cursor cur, int64_t id, JBL jbl); 222 iwrc jb_cursor_del(JBCOLL jbc, IWKV_cursor cur, int64_t id, JBL jbl);
|
/third_party/ejdb/src/jbi/ |
D | jbi_consumer.c | 23 rc = iwkv_get_copy(ctx->jbc->cdb, &key, ctx->jblbuf, ctx->jblbufsz, &vsz); in jbi_consumer() 31 "\n\tEntry id: %" PRId64, ctx->jbc->dbid, ctx->midx.idx->dbid, id); in jbi_consumer() 35 "\n\tEntry id: %" PRId64, ctx->jbc->dbid, id); in jbi_consumer() 86 rc = jb_cursor_del(ctx->jbc, cur, id, &jbl); in jbi_consumer() 88 rc = jb_del(ctx->jbc, &jbl, id); in jbi_consumer() 95 rc = jb_cursor_set(ctx->jbc, cur, id, &sn); in jbi_consumer() 97 rc = jb_put(ctx->jbc, &sn, id); in jbi_consumer() 107 rc = jb_cursor_del(ctx->jbc, cur, id, &jbl); in jbi_consumer() 109 rc = jb_del(ctx->jbc, &jbl, id); in jbi_consumer()
|
D | jbi_sorter_consumer.c | 64 rc = jb_del(ctx->jbc, jbl, doc->id); in _jbi_scan_sorter_apply() 72 rc = jb_put(ctx->jbc, &sn, doc->id); in _jbi_scan_sorter_apply() 126 RCC(rc, finish, jb_del(ctx->jbc, &jbl, id)); in _jbi_scan_sorter_do() 192 EJDB db = ctx->jbc->db; in jbi_sorter_consumer() 204 …rc = iwkv_get_copy(ctx->jbc->cdb, &key, ctx->jblbuf + sizeof(id), ctx->jblbufsz - sizeof(id), &vsz… in jbi_sorter_consumer()
|
D | jbi_full_scanner.c | 7 iwrc rc = iwkv_cursor_open(ctx->jbc->cdb, &cur, ctx->cursor_init, 0); in jbi_full_scanner()
|
D | jbi_selection.c | 310 for (struct _JBIDX *idx = ctx->jbc->idx; idx && *snp < JB_SOLID_EXPRNUM; idx = idx->next) { in _jbi_collect_indexes() 395 for (struct _JBIDX *idx = ctx->jbc->idx; idx; idx = idx->next) { in _jbi_select_index_for_orderby() 436 …if (!(aux->qmode & JQP_QRY_NOIDX) && ctx->jbc->idx) { // we have indexes associated with collection in jbi_selection()
|
/third_party/rust/crates/regex/bench/src/data/ |
D | 1MB.txt | 24605 jbc
|