Home
last modified time | relevance | path

Searched refs:JBL_NODE (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ejdb/src/jbl/
Djbl.h151 } *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 …]
Djbl.c17 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 …]
Djbl_json.c11 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 …]
Djbl_internal.h42 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/
Djql.h106 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…
Djql_internal.h38 JBL_NODE vnode;
56 void jql_node_to_jqval(JBL_NODE jn, JQVAL *qv);
Djql.c101 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 …]
Djqp.h288 JBL_NODE apply;
/third_party/ejdb/src/
Dejdb2.h129JBL_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);
Dejdb2.c534 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()
Dejdb2_internal.h210 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]…
/third_party/ejdb/src/tests/
Dejdb_test4.c20 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()
Dejdb_test3.c733 JBL_NODE qtags; in ejdb_test3_4()
1045 JBL_NODE n; in ejdb_test3_8()
/third_party/ejdb/src/jbi/
Djbi_pk_scanner.c17 JBL_NODE nv = jqvp->vnode->child; in jbi_pk_scanner()
Djbi_consumer.c74 JBL_NODE root; in jbi_consumer()
Djbi_util.c160 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static JBNUMBUF_SIZE]… in jbi_node_fill_ikey()
Djbi_uniq_scanner.c42 JBL_NODE nv = jqval->vnode->child; in _jbi_consume_in_node()
Djbi_dup_scanner.c77 JBL_NODE nv = jqval->vnode->child; in _jbi_consume_in_node()
Djbi_sorter_consumer.c58 JBL_NODE root; in _jbi_scan_sorter_apply()
Djbi_selection.c157 for (JBL_NODE n = rv->vnode->child; n; n = n->next, ++vcnt) ; in _jbi_compute_index_rules()
/third_party/ejdb/src/jbl/tests/
Djbl_test1.c23 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/
DChangelog192 * 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/
Djql_test1.c206 JBL_NODE out = 0, eqn = 0; in _jql_test1_3()
/third_party/ejdb/src/jql/inc/
Djqpx.c407 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/
Dejdb2jni.c950 JBL_NODE node; in Java_com_softmotions_ejdb2_JQL__1set_1string()

12