Lines Matching refs:klidx
1216 jbn_visitor_cmd_t cmd = visitor(lvl, n, n->key, n->klidx, vctx, &rc); 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() argument
1374 if (_jbn_visitor_update_jptr_cursor(vctx, lvl, key, klidx)) { // Pointer matched in _jbn_get_visitor()
1572 node->klidx = node->prev->klidx + 1; in _jbn_add_item()
1574 node->klidx = 0; in _jbn_add_item()
1598 n->klidx = (int) strlen(n->key); in jbn_add_item_str()
1632 n->klidx = (int) strlen(n->key); in jbn_add_item_null()
1655 n->klidx = (int) strlen(n->key); in jbn_add_item_i64()
1682 n->klidx = (int) strlen(n->key); in jbn_add_item_f64()
1709 n->klidx = (int) strlen(n->key); in jbn_add_item_bool()
1734 n->klidx = (int) strlen(n->key); in jbn_add_item_obj()
1760 n->klidx = (int) strlen(n->key); in jbn_add_item_arr()
1879 int klidx, in _jbl_create_node() argument
1892 n->key = iwpool_strndup(ctx->pool, key, klidx, &rc); in _jbl_create_node()
1897 n->klidx = klidx; in _jbl_create_node()
1994 int klidx, in _jbl_node_from_binn_impl() argument
2003 rc = _jbl_create_node(ctx, bn, parent, key, klidx, &parent, clone_strings); in _jbl_node_from_binn_impl()
2012 for (int i = 0; binn_object_next2(&iter, &key, &klidx, &bv); ++i) { in _jbl_node_from_binn_impl()
2013 rc = _jbl_node_from_binn_impl(ctx, &bv, parent, key, klidx, clone_strings); in _jbl_node_from_binn_impl()
2017 for (int i = 0; binn_map_next(&iter, &klidx, &bv); ++i) { in _jbl_node_from_binn_impl()
2018 rc = _jbl_node_from_binn_impl(ctx, &bv, parent, 0, klidx, clone_strings); in _jbl_node_from_binn_impl()
2024 rc = _jbl_create_node(ctx, bn, parent, key, klidx, &parent, clone_strings); in _jbl_node_from_binn_impl()
2038 rc = _jbl_create_node(ctx, bn, parent, key, klidx, 0, clone_strings); in _jbl_node_from_binn_impl()
2069 if (!strncmp(n->key, ptr->n[i], n->klidx) && (ptrnlen == n->klidx)) { in _jbl_node_find()
2076 if (idx == n->klidx) { in _jbl_node_find()
2131 if (!n2 || (n1->klidx > n2->klidx)) { // -V522 in _jbl_cmp_node_keys()
2133 } else if (!n1 || (n1->klidx < n2->klidx)) { // -V522 in _jbl_cmp_node_keys()
2136 return strncmp(n1->key, n2->key, n1->klidx); in _jbl_cmp_node_keys()
2319 pn->klidx = (int) strlen(pn->key); in _jbl_target_apply_patch()
2347 value->klidx = idx; in _jbl_target_apply_patch()
2364 child->klidx++; in _jbl_target_apply_patch()
2394 value->klidx = (int) strlen(value->key); in _jbl_target_apply_patch()
2417 if (!binn_object_set_value2(res, n->key, n->klidx, &bv)) { in _jbl_from_node_impl()
2647 if (!strncmp("op", n2->key, n2->klidx)) { in _jbl_create_patch()
2672 } else if (!strncmp("value", n2->key, n2->klidx)) { in _jbl_create_patch()
2674 } else if (!strncmp("path", n2->key, n2->klidx)) { in _jbl_create_patch()
2679 } else if (!strncmp("from", n2->key, n2->klidx)) { in _jbl_create_patch()
2770 target->klidx = patch->klidx; in _jbl_merge_patch_node()
2781 if ((node->klidx == patch->klidx) && !strncmp(node->key, patch->key, node->klidx)) { in _jbl_merge_patch_node()
2790 if ((node->klidx == patch->klidx) && !strncmp(node->key, patch->key, node->klidx)) { in _jbl_merge_patch_node()