Home
last modified time | relevance | path

Searched refs:jblbuf (Results 1 – 4 of 4) sorted by relevance

/third_party/ejdb/src/jbi/
Djbi_sorter_consumer.c198 rc = iwkv_cursor_copy_val(cur, ctx->jblbuf + sizeof(id), ctx->jblbufsz - sizeof(id), &vsz); 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()
213 void *nbuf = realloc(ctx->jblbuf, nsize); in jbi_sorter_consumer()
217 ctx->jblbuf = nbuf; in jbi_sorter_consumer()
223 rc = jbl_from_buf_keep_onstack(&jbl, ctx->jblbuf + sizeof(id), vsz); in jbi_sorter_consumer()
252 memcpy(ctx->jblbuf, &id, sizeof(id)); in jbi_sorter_consumer()
278 memcpy(ssc->docs + ssc->docs_npos, ctx->jblbuf, vsz); in jbi_sorter_consumer()
281 rc = sof->write(sof, ssc->docs_npos, ctx->jblbuf, vsz, &sz); in jbi_sorter_consumer()
Djbi_consumer.c17 rc = iwkv_cursor_copy_val(cur, ctx->jblbuf, ctx->jblbufsz, &vsz); in jbi_consumer()
23 rc = iwkv_get_copy(ctx->jbc->cdb, &key, ctx->jblbuf, ctx->jblbufsz, &vsz); in jbi_consumer()
43 void *nbuf = realloc(ctx->jblbuf, nsize); in jbi_consumer()
48 ctx->jblbuf = nbuf; in jbi_consumer()
54 RCC(rc, finish, jbl_from_buf_keep_onstack(&jbl, ctx->jblbuf, vsz)); in jbi_consumer()
/third_party/ejdb/src/
Dejdb2_internal.h182 uint8_t *jblbuf; /**< Buffer used to keep currently processed document */ member
Dejdb2.c696 ctx->jblbuf = malloc(ctx->jblbufsz); in _jb_exec_scan_init()
697 if (!ctx->jblbuf) { in _jb_exec_scan_init()
735 free(ctx->jblbuf); in _jb_exec_scan_release()