Home
last modified time | relevance | path

Searched refs:vbufsz (Results 1 – 3 of 3) sorted by relevance

/third_party/ejdb/src/tests/
Dejdb_test2.c27 const int vbufsz = 512 * 1024; in ejdb_test2_2() local
28 const int dbufsz = vbufsz + 128; in ejdb_test2_2()
29 char *vbuf = malloc(vbufsz); in ejdb_test2_2()
33 memset(vbuf, 'z', vbufsz); in ejdb_test2_2()
34 vbuf[vbufsz - 1] = '\0'; in ejdb_test2_2()
/third_party/iowow/src/kv/
Diwkv.h341 IW_EXPORT iwrc iwkv_get_copy(IWDB db, const IWKV_val *key, void *vbuf, size_t vbufsz, size_t *vsz);
449 IW_EXPORT iwrc iwkv_cursor_copy_val(IWKV_cursor cur, void *vbuf, size_t vbufsz, size_t *vsz);
Diwkv.c3477 iwrc iwkv_get_copy(IWDB db, const IWKV_val *key, void *vbuf, size_t vbufsz, size_t *vsz) { in iwkv_get_copy() argument
3510 memcpy(vbuf, oval, MIN(vbufsz, ovalsz)); in iwkv_get_copy()
3823 iwrc iwkv_cursor_copy_val(IWKV_cursor cur, void *vbuf, size_t vbufsz, size_t *vsz) { in iwkv_cursor_copy_val() argument
3848 memcpy(vbuf, oval, MIN(vbufsz, ovalsz)); in iwkv_cursor_copy_val()