/third_party/iowow/src/json/ |
D | iwjson.h | 150 } *JBL_NODE; typedef 176 JBL_NODE vnode; 365 IW_EXPORT iwrc jbn_clone(JBL_NODE src, JBL_NODE *targetp, IWPOOL *pool); 375 IW_EXPORT void jbn_apply_from(JBL_NODE target, JBL_NODE from); 394 JBL_NODE src, 396 JBL_NODE target, 416 JBL_NODE src, 417 JBL_NODE target, 520 IW_EXPORT iwrc jbn_at(JBL_NODE node, const char *path, JBL_NODE *res); 522 IW_EXPORT int jbn_path_compare(JBL_NODE n1, JBL_NODE n2, const char *path, jbl_type_t vtype, iwrc *… [all …]
|
D | iwjson.c | 24 IW_INLINE void _jbn_remove_item(JBL_NODE parent, JBL_NODE child); 25 static void _jbn_add_item(JBL_NODE parent, JBL_NODE node); 199 iwrc jbn_from_json_printf_va(JBL_NODE *node, IWPOOL *pool, const char *format, va_list va) { in jbn_from_json_printf_va() 221 iwrc jbn_from_json_printf(JBL_NODE *node, IWPOOL *pool, const char *format, ...) { in jbn_from_json_printf() 548 JBL_NODE node; in jbl_from_json() 1236 iwrc jbn_visit(JBL_NODE node, int lvl, JBN_VCTX *vctx, JBN_VISITOR visitor) { in jbn_visit() 1248 JBL_NODE n = node; in jbn_visit() 1259 JBL_NODE nn = n->next; // Keep pointer to next in jbn_visit() 1405 static jbn_visitor_cmd_t _jbn_get_visitor(int lvl, JBL_NODE n, const char *key, int klidx, JBN_VCTX… in _jbn_get_visitor() 1420 iwrc jbn_at2(JBL_NODE node, JBL_PTR jp, JBL_NODE *res) { in jbn_at2() [all …]
|
D | iwjser.c | 16 JBL_NODE root; 22 static void _jbn_add_item(JBL_NODE parent, JBL_NODE node) { in _jbn_add_item() 27 JBL_NODE prev = parent->child->prev; in _jbn_add_item() 48 static JBL_NODE _jbl_json_create_node(jbl_type_t type, const char *key, int klidx, JBL_NODE parent,… in _jbl_json_create_node() 49 JBL_NODE node = iwpool_calloc(sizeof(*node), ctx->pool); in _jbl_json_create_node() 235 JBL_NODE parent, in _jbl_parse_value() 245 JBL_NODE node; in _jbl_parse_value() 401 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() 416 for (JBL_NODE n = node->child; n; n = n->next) { in _jbl_node_as_json() 439 for (JBL_NODE n = node->child; n; n = n->next) { in _jbl_node_as_json() [all …]
|
D | iwjson_internal.h | 41 JBL_NODE node; 67 JBL_NODE root; 76 iwrc _jbl_node_from_binn(const binn *bn, JBL_NODE *node, bool clone_strings, IWPOOL *pool); 77 iwrc _jbl_binn_from_node(binn *res, JBL_NODE node); 78 iwrc _jbl_from_node(JBL jbl, JBL_NODE node); 80 int _jbl_compare_nodes(JBL_NODE n1, JBL_NODE n2, iwrc *rcp);
|
/third_party/ejdb/src/jql/ |
D | jql.h | 94 IW_EXPORT WUR iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val); 97 JQL q, const char *placeholder, int index, JBL_NODE val, 159 IW_EXPORT WUR iwrc jql_apply(JQL q, JBL_NODE root, IWPOOL *pool); 161 IW_EXPORT WUR iwrc jql_project(JQL q, JBL_NODE root, IWPOOL *pool, void *exec_ctx); 163 IW_EXPORT WUR iwrc jql_apply_and_project(JQL q, JBL jbl, JBL_NODE *out, void *exec_ctx, IWPOOL *poo…
|
D | jql_internal.h | 42 JBL_NODE vnode; 60 void jql_node_to_jqval(JBL_NODE jn, JQVAL *qv);
|
D | jql.c | 122 JQL q, const char *placeholder, int index, JBL_NODE val, in jql_set_json2() 144 iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val) { in jql_set_json() 158 JBL_NODE n; in jql_set_json_jbl() 558 IW_INLINE void _jql_node_to_jqval(JBL_NODE jn, JQVAL *qv) { in _jql_node_to_jqval() 591 void jql_node_to_jqval(JBL_NODE jn, JQVAL *qv) { in jql_node_to_jqval() 720 JBL_NODE lnode; in _jql_cmp_jqval_pair() 860 for (JBL_NODE n = rv->vnode->child; n; n = n->next) { in _jql_match_in() 1173 JBL_NODE n = jqval->vnode; in jql_jqval_as_int() 1545 static void _jql_proj_mark_up(JBL_NODE n, int amask) { in _jql_proj_mark_up() 1553 int16_t lvl, JBL_NODE n, in _jql_proj_matched() [all …]
|
D | jqp.h | 291 JBL_NODE apply;
|
/third_party/ejdb/src/ |
D | ejdb2.h | 130 …JBL_NODE node; /**< JSON document as in-memory tree. Not zero only if query has `appl… 402 IW_EXPORT WUR iwrc ejdb_patch_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id); 443 IW_EXPORT WUR iwrc ejdb_merge_or_put_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id); 482 IW_EXPORT WUR iwrc ejdb_put_jbn(EJDB db, const char *coll, JBL_NODE jbn, int64_t id); 508 IW_EXPORT iwrc ejdb_put_new_jbn(EJDB db, const char *coll, JBL_NODE jbn, int64_t *id);
|
D | ejdb2.c | 491 JBL_NODE jbvprev_node, jbv_node; in _jb_idx_record_add() 507 JBL_NODE n; in _jb_idx_record_add() 545 JBL_NODE n; in _jb_idx_record_add() 774 JBL_NODE n; in _jb_exec_upsert_lw() 1208 const char *patchjson, JBL_NODE patchjbn, JBL patchjbl in _jb_patch() 1213 JBL_NODE root, patch; in _jb_patch() 1314 iwrc ejdb_patch_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id) { in ejdb_patch_jbn() 1326 iwrc ejdb_merge_or_put_jbn(EJDB db, const char *coll, JBL_NODE patch, int64_t id) { in ejdb_merge_or_put_jbn() 1350 iwrc ejdb_put_jbn(EJDB db, const char *coll, JBL_NODE jbn, int64_t id) { in ejdb_put_jbn() 1402 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 | 207 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static IWNUMBUF_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/iowow/src/json/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() 870 JBL_NODE n; in jbl_test1_12()
|
/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 | 159 void jbi_node_fill_ikey(JBIDX idx, JBL_NODE node, IWKV_val *ikey, char numbuf[static IWNUMBUF_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 | 75 JBL_NODE nv = jqval->vnode->child; in _jbi_consume_in_node()
|
D | jbi_sorter_consumer.c | 57 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/jql/tests/ |
D | jql_test1.c | 205 JBL_NODE out = 0, eqn = 0; in _jql_test1_3() 285 JBL_NODE n = 0, n2 = 0; in jql_test_1_5()
|
/third_party/ejdb/ |
D | Changelog | 256 * Added iwrc jbn_at(JBL_NODE node, const char *path, JBL_NODE *res) 257 * Added iwrc jbn_at2(JBL_NODE node, JBL_PTR jp, JBL_NODE *res)
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 408 JBL_NODE jn = &ret->json.jn; in _jqp_json_collect() 420 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()
|