/third_party/ejdb/src/jbi/ |
D | jbi_util.c | 8 void jbi_jbl_fill_ikey(JBIDX idx, JBL jbv, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]) { in jbi_jbl_fill_ikey() argument 23 ikey->size = (size_t) iwitoa(jbl_get_i64(jbv), numbuf, JBNUMBUF_SIZE); in jbi_jbl_fill_ikey() 83 …jqval_fill_ikey(JBIDX idx, const JQVAL *jqval, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]) { in jbi_jqval_fill_ikey() argument 98 ikey->size = (size_t) iwitoa(jqval->vi64, numbuf, JBNUMBUF_SIZE); in jbi_jqval_fill_ikey() 160 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]… in jbi_node_fill_ikey() argument 175 ikey->size = (size_t) iwitoa(node->vi64, numbuf, JBNUMBUF_SIZE); in jbi_node_fill_ikey()
|
D | jbi_uniq_scanner.c | 3 static_assert(IW_VNUMBUFSZ <= JBNUMBUF_SIZE, "IW_VNUMBUFSZ <= JBNUMBUF_SIZE"); 11 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_eq() 36 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_in_node() 82 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_scan() 164 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_noxpr_scan()
|
D | jbi_dup_scanner.c | 7 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_eq() 69 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_in_node() 146 char numbuf[JBNUMBUF_SIZE]; in _jbi_consume_scan()
|
/third_party/ejdb/src/ |
D | ejdb2_internal.h | 50 static_assert(JBNUMBUF_SIZE >= IWFTOA_BUFSIZE, "JBNUMBUF_SIZE >= IWFTOA_BUFSIZE"); 208 void jbi_jbl_fill_ikey(JBIDX idx, JBL jbv, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]); 209 …_jqval_fill_ikey(JBIDX idx, const JQVAL *jqval, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]); 210 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]…
|
D | ejdb2cfg.h | 51 #define JBNUMBUF_SIZE 64 macro
|
D | ejdb2.c | 113 char buf[sizeof(KEY_PREFIX_IDXMETA) + JBNUMBUF_SIZE]; in _jb_coll_load_indexes_lr() 421 char keybuf[JBNUMBUF_SIZE + sizeof(KEY_PREFIX_COLLMETA)]; in _jb_coll_acquire_keeplock2() 499 char numbuf[JBNUMBUF_SIZE]; in _jb_idx_record_add() 1115 …char keybuf[sizeof(KEY_PREFIX_IDXMETA) + 1 + 2 * JBNUMBUF_SIZE]; // Full key format: i.<coldbid>.<… in ejdb_remove_index() 1161 …char keybuf[sizeof(KEY_PREFIX_IDXMETA) + 1 + 2 * JBNUMBUF_SIZE]; // Full key format: i.<coldbid>.<… in ejdb_ensure_index() 1572 …char keybuf[sizeof(KEY_PREFIX_IDXMETA) + 1 + 2 * JBNUMBUF_SIZE]; // Full key format: i.<coldbid>.<… in ejdb_remove_collection() 1641 char keybuf[JBNUMBUF_SIZE + sizeof(KEY_PREFIX_COLLMETA)]; in ejdb_rename_collection()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 79 char nbuf[JBNUMBUF_SIZE]; in _jql_set_placeholder() 80 iwitoa(index, nbuf, JBNUMBUF_SIZE); in _jql_set_placeholder() 540 char nbuf[JBNUMBUF_SIZE]; in _jql_cmp_jqval_pair() 541 iwitoa(rv->vi64, nbuf, JBNUMBUF_SIZE); in _jql_cmp_jqval_pair() 546 char nbuf[JBNUMBUF_SIZE]; in _jql_cmp_jqval_pair() 658 char nbuf[JBNUMBUF_SIZE]; in _jql_match_regexp() 659 static_assert(JBNUMBUF_SIZE >= IWFTOA_BUFSIZE, "JBNUMBUF_SIZE >= IWFTOA_BUFSIZE"); in _jql_match_regexp() 693 iwitoa(rv->vi64, nbuf, JBNUMBUF_SIZE); in _jql_match_regexp() 748 iwitoa(lv->vi64, nbuf, JBNUMBUF_SIZE); in _jql_match_regexp() 884 char nbuf[JBNUMBUF_SIZE]; in _jql_match_starts() [all …]
|
/third_party/ejdb/src/tmpl/ |
D | ejdb2cfg.h | 51 #define JBNUMBUF_SIZE 64 macro
|
/third_party/ejdb/src/jbr/ |
D | jbr.c | 113 char nbuf[JBNUMBUF_SIZE + 2]; // + \r\n in _jbr_flush_chunk() 130 int sz = snprintf(nbuf, JBNUMBUF_SIZE, "%zX\r\n", iwxstr_size(wbuf)); in _jbr_flush_chunk() 267 char nbuf[JBNUMBUF_SIZE]; in _jbr_on_query() 399 char nbuf[JBNUMBUF_SIZE]; in _jbr_on_post() 560 char nbuf[JBNUMBUF_SIZE]; in _jbr_fill_ctx() 567 if (nlen > JBNUMBUF_SIZE - 1) { in _jbr_fill_ctx() 669 #define _WS_KEYPREFIX_BUFSZ (JBNUMBUF_SIZE + JBR_MAX_KEY_LEN + 2) 1203 char nbuf[JBNUMBUF_SIZE]; in _jbr_ws_on_message() 1204 for (pos = 0; pos < len && pos < JBNUMBUF_SIZE - 1 && isdigit(data[pos]); ++pos) { in _jbr_ws_on_message() 1307 char nbuf[JBNUMBUF_SIZE]; in _jbr_start_thread()
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 216 char nbuf[JBNUMBUF_SIZE + 1]; in _jqp_placeholder() 218 int len = iwitoa(aux->num_placeholders++, nbuf + 1, JBNUMBUF_SIZE); in _jqp_placeholder() 1378 char nbuf[JBNUMBUF_SIZE]; in _jqp_print_opts() 1379 iwitoa(aux->skip->intval.value, nbuf, JBNUMBUF_SIZE); in _jqp_print_opts() 1393 char nbuf[JBNUMBUF_SIZE]; in _jqp_print_opts() 1394 iwitoa(aux->limit->intval.value, nbuf, JBNUMBUF_SIZE); in _jqp_print_opts()
|
/third_party/ejdb/src/jbl/ |
D | jbl.c | 536 char buf[JBNUMBUF_SIZE]; in _jbl_write_double() 542 char buf[JBNUMBUF_SIZE]; in _jbl_write_int() 1250 char buf[JBNUMBUF_SIZE]; in _jbl_visitor_update_jptr_cursor() 1254 iwitoa(idx, buf, JBNUMBUF_SIZE); in _jbl_visitor_update_jptr_cursor() 1274 char buf[JBNUMBUF_SIZE]; in _jbn_visitor_update_jptr_cursor() 1278 iwitoa(idx, buf, JBNUMBUF_SIZE); in _jbn_visitor_update_jptr_cursor() 2212 char b1[JBNUMBUF_SIZE]; in _jbl_compare_nodes() 2213 char b2[JBNUMBUF_SIZE]; in _jbl_compare_nodes()
|