Lines Matching refs:jqval
3 static iwrc _jbi_consume_eq(struct _JBEXEC *ctx, JQVAL *jqval, JB_SCAN_CONSUMER consumer) { in _jbi_consume_eq() argument
16 jbi_jqval_fill_ikey(idx, jqval, &key, numbuf); in _jbi_consume_eq()
64 static iwrc _jbi_consume_in_node(struct _JBEXEC *ctx, JQVAL *jqval, JB_SCAN_CONSUMER consumer) { in _jbi_consume_in_node() argument
77 JBL_NODE nv = jqval->vnode->child; in _jbi_consume_in_node()
93 for (i = 0, nv = jqval->vnode->child; nv; nv = nv->next) { in _jbi_consume_in_node()
143 static iwrc _jbi_consume_scan(struct _JBEXEC *ctx, JQVAL *jqval, JB_SCAN_CONSUMER consumer) { in _jbi_consume_scan() argument
154 jbi_jqval_fill_ikey(idx, jqval, &key, numbuf); in _jbi_consume_scan()
277 JQVAL *jqval = jql_unit_to_jqval(qp->aux, midx->expr1->right, &rc); in jbi_dup_scanner() local
281 return _jbi_consume_eq(ctx, jqval, consumer); in jbi_dup_scanner()
283 if (jqval->type == JQVAL_JBLNODE) { in jbi_dup_scanner()
284 return _jbi_consume_in_node(ctx, jqval, consumer); in jbi_dup_scanner()
294 if ((midx->expr1->op->value == JQP_OP_GT) && (jqval->type == JQVAL_I64)) { in jbi_dup_scanner()
296 memcpy(&mjqv, jqval, sizeof(*jqval)); in jbi_dup_scanner()
300 return _jbi_consume_scan(ctx, jqval, consumer); in jbi_dup_scanner()