/third_party/ejdb/src/jbl/ |
D | jbl.h | 151 } *JBL_NODE; typedef 177 JBL_NODE vnode; 364 IW_EXPORT iwrc jbn_clone(JBL_NODE src, JBL_NODE *targetp, IWPOOL *pool); 374 IW_EXPORT void jbn_apply_from(JBL_NODE target, JBL_NODE from); 393 JBL_NODE src, 395 JBL_NODE target, 415 JBL_NODE src, 416 JBL_NODE target, 519 IW_EXPORT iwrc jbn_at(JBL_NODE node, const char *path, JBL_NODE *res); 521 IW_EXPORT int jbn_path_compare(JBL_NODE n1, JBL_NODE n2, const char *path, jbl_type_t vtype, iwrc *… [all …]
|
D | jbl.c | 17 IW_INLINE void _jbn_remove_item(JBL_NODE parent, JBL_NODE child); 18 static void _jbn_add_item(JBL_NODE parent, JBL_NODE node); 165 iwrc jbn_from_json_printf_va(JBL_NODE *node, IWPOOL *pool, const char *format, va_list va) { in jbn_from_json_printf_va() 183 iwrc jbn_from_json_printf(JBL_NODE *node, IWPOOL *pool, const char *format, ...) { in jbn_from_json_printf() 510 JBL_NODE node; in jbl_from_json() 1199 iwrc jbn_visit(JBL_NODE node, int lvl, JBN_VCTX *vctx, JBN_VISITOR visitor) { in jbn_visit() 1211 JBL_NODE n = node; in jbn_visit() 1222 JBL_NODE nn = n->next; // Keep pointer to next in jbn_visit() 1368 static jbn_visitor_cmd_t _jbn_get_visitor(int lvl, JBL_NODE n, const char *key, int klidx, JBN_VCTX… in _jbn_get_visitor() 1383 iwrc jbn_at2(JBL_NODE node, JBL_PTR jp, JBL_NODE *res) { in jbn_at2() [all …]
|
D | jbl_json.c | 11 JBL_NODE root; 17 static void _jbn_add_item(JBL_NODE parent, JBL_NODE node) { in _jbn_add_item() 22 JBL_NODE prev = parent->child->prev; in _jbn_add_item() 43 static JBL_NODE _jbl_json_create_node(jbl_type_t type, const char *key, int klidx, JBL_NODE parent,… in _jbl_json_create_node() 45 JBL_NODE node = iwpool_calloc(sizeof(*node), ctx->pool); in _jbl_json_create_node() 231 JBL_NODE parent, in _jbl_parse_value() 241 JBL_NODE node; in _jbl_parse_value() 397 static iwrc _jbl_node_as_json(JBL_NODE node, jbl_json_printer pt, void *op, int lvl, jbl_print_flag… in _jbl_node_as_json() 412 for (JBL_NODE n = node->child; n; n = n->next) { in _jbl_node_as_json() 435 for (JBL_NODE n = node->child; n; n = n->next) { in _jbl_node_as_json() [all …]
|
D | jbl_internal.h | 42 JBL_NODE node; 68 JBL_NODE root; 77 iwrc _jbl_node_from_binn(const binn *bn, JBL_NODE *node, bool clone_strings, IWPOOL *pool); 78 iwrc _jbl_binn_from_node(binn *res, JBL_NODE node); 79 iwrc _jbl_from_node(JBL jbl, JBL_NODE node); 81 int _jbl_compare_nodes(JBL_NODE n1, JBL_NODE n2, iwrc *rcp);
|
/third_party/ejdb/src/jql/ |
D | jql.h | 106 IW_EXPORT WUR iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val); 109 JQL q, const char *placeholder, int index, JBL_NODE val, 169 IW_EXPORT WUR iwrc jql_apply(JQL q, JBL_NODE root, IWPOOL *pool); 171 IW_EXPORT WUR iwrc jql_project(JQL q, JBL_NODE root, IWPOOL *pool, void *exec_ctx); 173 IW_EXPORT WUR iwrc jql_apply_and_project(JQL q, JBL jbl, JBL_NODE *out, void *exec_ctx, IWPOOL *poo…
|
D | jql_internal.h | 38 JBL_NODE vnode; 56 void jql_node_to_jqval(JBL_NODE jn, JQVAL *qv);
|
D | jql.c | 101 JQL q, const char *placeholder, int index, JBL_NODE val, in jql_set_json2() 114 iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val) { in jql_set_json() 127 JBL_NODE n; in jql_set_json_jbl() 472 IW_INLINE void _jql_node_to_jqval(JBL_NODE jn, JQVAL *qv) { in _jql_node_to_jqval() 505 void jql_node_to_jqval(JBL_NODE jn, JQVAL *qv) { in jql_node_to_jqval() 627 JBL_NODE lnode; in _jql_cmp_jqval_pair() 816 for (JBL_NODE n = rv->vnode->child; n; n = n->next) { in _jql_match_in() 1127 JBL_NODE n = jqval->vnode; in jql_jqval_as_int() 1499 static void _jql_proj_mark_up(JBL_NODE n, int amask) { in _jql_proj_mark_up() 1507 int16_t lvl, JBL_NODE n, in _jql_proj_matched() [all …]
|
D | jqp.h | 288 JBL_NODE apply;
|
/third_party/ejdb/src/ |
D | ejdb2.h | 129 …JBL_NODE node; /**< JSON document as in-memory tree. Not zero only if query has `appl… 401 IW_EXPORT WUR iwrc ejdb_patch_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id); 442 IW_EXPORT WUR iwrc ejdb_merge_or_put_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id); 494 IW_EXPORT iwrc ejdb_put_new_jbn(EJDB db, const char *coll, JBL_NODE jbn, int64_t *id);
|
D | ejdb2.c | 534 JBL_NODE jbvprev_node, jbv_node; in _jb_idx_record_add() 552 JBL_NODE n; in _jb_idx_record_add() 592 JBL_NODE n; in _jb_idx_record_add() 822 JBL_NODE n; in _jb_exec_upsert_lw() 1263 const char *patchjson, JBL_NODE patchjbn, JBL patchjbl) { in _jb_patch() 1268 JBL_NODE root, patch; in _jb_patch() 1375 iwrc ejdb_patch_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id) { in ejdb_patch_jbn() 1387 iwrc ejdb_merge_or_put_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id) { in ejdb_merge_or_put_jbn() 1454 iwrc ejdb_put_new_jbn(EJDB db, const char *coll, JBL_NODE jbn, int64_t *id) { in ejdb_put_new_jbn()
|
D | ejdb2_internal.h | 210 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]…
|
/third_party/ejdb/src/tests/ |
D | ejdb_test4.c | 20 JBL_NODE n; in set_apply_int() 80 JBL_NODE n; in ejdb_test4_1() 106 JBL_NODE n; in ejdb_test4_1() 145 JBL_NODE n, n2; in ejdb_test4_2()
|
D | ejdb_test3.c | 733 JBL_NODE qtags; in ejdb_test3_4() 1045 JBL_NODE n; in ejdb_test3_8()
|
/third_party/ejdb/src/jbi/ |
D | jbi_pk_scanner.c | 17 JBL_NODE nv = jqvp->vnode->child; in jbi_pk_scanner()
|
D | jbi_consumer.c | 74 JBL_NODE root; in jbi_consumer()
|
D | jbi_util.c | 160 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]… in jbi_node_fill_ikey()
|
D | jbi_uniq_scanner.c | 42 JBL_NODE nv = jqval->vnode->child; in _jbi_consume_in_node()
|
D | jbi_dup_scanner.c | 77 JBL_NODE nv = jqval->vnode->child; in _jbi_consume_in_node()
|
D | jbi_sorter_consumer.c | 58 JBL_NODE root; in _jbi_scan_sorter_apply()
|
D | jbi_selection.c | 157 for (JBL_NODE n = rv->vnode->child; n; n = n->next, ++vcnt) ; in _jbi_compute_index_rules()
|
/third_party/ejdb/src/jbl/tests/ |
D | jbl_test1.c | 23 JBL_NODE node = 0; in _jbl_test1_1() 775 JBL_NODE n, cn; in jbl_test1_9() 809 JBL_NODE n1, n2; in jbl_test1_10() 847 JBL_NODE n1, n2; in jbl_test1_11()
|
/third_party/ejdb/ |
D | Changelog | 192 * Added iwrc jbn_at(JBL_NODE node, const char *path, JBL_NODE *res) 193 * Added iwrc jbn_at2(JBL_NODE node, JBL_PTR jp, JBL_NODE *res)
|
/third_party/ejdb/src/jql/tests/ |
D | jql_test1.c | 206 JBL_NODE out = 0, eqn = 0; in _jql_test1_3()
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 407 JBL_NODE jn = &ret->json.jn; in _jqp_json_collect() 419 JBL_NODE ju = &unit->json.jn; in _jqp_json_collect()
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/ |
D | ejdb2jni.c | 950 JBL_NODE node; in Java_com_softmotions_ejdb2_JQL__1set_1string()
|