Home
last modified time | relevance | path

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

/third_party/ejdb/src/jbi/
Djbi_util.c8 void jbi_jbl_fill_ikey(JBIDX idx, JBL jbv, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]) { in jbi_jbl_fill_ikey() argument
10 jbl_type_t jbvt = jbl_type(jbv); in jbi_jbl_fill_ikey()
19 ikey->size = jbl_size(jbv); in jbi_jbl_fill_ikey()
20 ikey->data = (void*) jbl_get_str(jbv); in jbi_jbl_fill_ikey()
23 ikey->size = (size_t) iwitoa(jbl_get_i64(jbv), numbuf, JBNUMBUF_SIZE); in jbi_jbl_fill_ikey()
27 if (jbl_get_i32(jbv)) { in jbi_jbl_fill_ikey()
36 jbi_ftoa(jbl_get_f64(jbv), numbuf, &ikey->size); in jbi_jbl_fill_ikey()
50 *llv = jbl_get_i64(jbv); in jbi_jbl_fill_ikey()
53 *llv = iwatoi(jbl_get_str(jbv)); in jbi_jbl_fill_ikey()
67 jbi_ftoa(jbl_get_f64(jbv), numbuf, &ikey->size); in jbi_jbl_fill_ikey()
[all …]
/third_party/ejdb/src/
Dejdb2.c153 JBL jbv; in _jb_coll_load_meta_lr() local
156 iwrc rc = jbl_at(jbm, "/name", &jbv); in _jb_coll_load_meta_lr()
158 jbc->name = jbl_get_str(jbv); in _jb_coll_load_meta_lr()
159 jbl_destroy(&jbv); in _jb_coll_load_meta_lr()
163 rc = jbl_at(jbm, "/id", &jbv); in _jb_coll_load_meta_lr()
165 jbc->dbid = (uint32_t) jbl_get_i64(jbv); in _jb_coll_load_meta_lr()
166 jbl_destroy(&jbv); in _jb_coll_load_meta_lr()
502 struct _JBL jbv = { 0 }, jbvprev = { 0 }; in _jb_idx_record_add() local
511 jbv_found = jbl ? _jbl_at(jbl, idx->ptr, &jbv) : false; in _jb_idx_record_add()
513 jbv_type = jbl_type(&jbv); in _jb_idx_record_add()
[all …]
Dejdb2_internal.h208 void jbi_jbl_fill_ikey(JBIDX idx, JBL jbv, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]);