Searched refs:jblbuf (Results 1 – 4 of 4) sorted by relevance
/third_party/ejdb/src/jbi/ |
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() 42 void *nbuf = realloc(ctx->jblbuf, nsize); in jbi_consumer() 47 ctx->jblbuf = nbuf; in jbi_consumer() 53 rc = jbl_from_buf_keep_onstack(&jbl, ctx->jblbuf, vsz); in jbi_consumer()
|
D | jbi_sorter_consumer.c | 199 rc = iwkv_cursor_copy_val(cur, ctx->jblbuf + sizeof(id), ctx->jblbufsz - sizeof(id), &vsz); in jbi_sorter_consumer() 205 …rc = iwkv_get_copy(ctx->jbc->cdb, &key, ctx->jblbuf + sizeof(id), ctx->jblbufsz - sizeof(id), &vsz… in jbi_sorter_consumer() 214 void *nbuf = realloc(ctx->jblbuf, nsize); in jbi_sorter_consumer() 218 ctx->jblbuf = nbuf; in jbi_sorter_consumer() 224 rc = jbl_from_buf_keep_onstack(&jbl, ctx->jblbuf + sizeof(id), vsz); in jbi_sorter_consumer() 253 memcpy(ctx->jblbuf, &id, sizeof(id)); in jbi_sorter_consumer() 279 memcpy(ssc->docs + ssc->docs_npos, ctx->jblbuf, vsz); in jbi_sorter_consumer() 282 rc = sof->write(sof, ssc->docs_npos, ctx->jblbuf, vsz, &sz); in jbi_sorter_consumer()
|
/third_party/ejdb/src/ |
D | ejdb2_internal.h | 185 uint8_t *jblbuf; /**< Buffer used to keep currently processed document */ member
|
D | ejdb2.c | 745 ctx->jblbuf = malloc(ctx->jblbufsz); in _jb_exec_scan_init() 746 if (!ctx->jblbuf) { in _jb_exec_scan_init() 783 free(ctx->jblbuf); in _jb_exec_scan_release()
|