Lines Matching refs:qn
4621 QuantifierNode* qn; in set_quantifier() local
4623 qn = &(NQUANTIFIER(qnode)); in set_quantifier()
4624 if (qn->lower == 1 && qn->upper == 1) { in set_quantifier()
4635 qn->target = n; in set_quantifier()
4646 int nestq_num = popular_quantifier_num(qn); in set_quantifier()
4650 if (!IS_QUANTIFIER_BY_NUMBER(qn) && !IS_QUANTIFIER_BY_NUMBER(qnt) && in set_quantifier()
4691 if (! IS_REPEAT_INFINITE(qn->upper) && qn->upper > 1 && qn->greedy) { in set_quantifier()
4692 qn->upper = (qn->lower == 0 ? 1 : qn->lower); in set_quantifier()
4703 qn->target = target; in set_quantifier()
4790 Node* qn; in parse_exp() local
5068 qn = node_new_quantifier(0, REPEAT_INFINITE, 0); in parse_exp()
5069 CHECK_NULL_RETURN_VAL(qn, ONIGERR_MEMORY); in parse_exp()
5070 NQUANTIFIER(qn).target = *np; in parse_exp()
5071 *np = qn; in parse_exp()
5129 qn = node_new_quantifier(tok->u.repeat.lower, tok->u.repeat.upper, in parse_exp()
5131 CHECK_NULL_RETURN_VAL(qn, ONIGERR_MEMORY); in parse_exp()
5132 NQUANTIFIER(qn).greedy = tok->u.repeat.greedy; in parse_exp()
5133 r = set_quantifier(qn, *targetp, group, env); in parse_exp()
5140 NEFFECT(en).target = qn; in parse_exp()
5141 qn = en; in parse_exp()
5145 *targetp = qn; in parse_exp()
5152 tmp = NCONS(*targetp).right = node_new_list(qn, NULL); in parse_exp()