Searched refs:jblbuf (Results 1 – 4 of 4) sorted by relevance
/third_party/ejdb/src/jbi/ |
D | jbi_sorter_consumer.c | 198 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()
|
D | jbi_consumer.c | 17 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/ |
D | ejdb2_internal.h | 182 uint8_t *jblbuf; /**< Buffer used to keep currently processed document */ member
|
D | ejdb2.c | 696 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()
|