Searched refs:jblbufsz (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() 40 if (vsz > ctx->jblbufsz) { in jbi_consumer() 41 size_t nsize = MAX(vsz, ctx->jblbufsz * 2); in jbi_consumer() 48 ctx->jblbufsz = nsize; 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() 212 if (vsz + sizeof(id) > ctx->jblbufsz) { in jbi_sorter_consumer() 213 size_t nsize = MAX(vsz + sizeof(id), ctx->jblbufsz * 2); in jbi_sorter_consumer() 219 ctx->jblbufsz = nsize; in jbi_sorter_consumer()
|
/third_party/ejdb/src/ |
D | ejdb2_internal.h | 186 size_t jblbufsz; /**< Size of jblbuf allocated memory */ member
|
D | ejdb2.c | 744 ctx->jblbufsz = ctx->jbc->db->opts.document_buffer_sz; in _jb_exec_scan_init() 745 ctx->jblbuf = malloc(ctx->jblbufsz); in _jb_exec_scan_init() 747 ctx->jblbufsz = 0; in _jb_exec_scan_init()
|