Lines Matching refs:qn
4765 QtfrNode* qn; in set_quantifier() local
4767 qn = NQTFR(qnode); in set_quantifier()
4768 if (qn->lower == 1 && qn->upper == 1) { in set_quantifier()
4779 qn->target = n; in set_quantifier()
4790 int nestq_num = popular_quantifier_num(qn); in set_quantifier()
4794 if (!IS_QUANTIFIER_BY_NUMBER(qn) && !IS_QUANTIFIER_BY_NUMBER(qnt) && in set_quantifier()
4835 if (! IS_REPEAT_INFINITE(qn->upper) && qn->upper > 1 && qn->greedy) { in set_quantifier()
4836 qn->upper = (qn->lower == 0 ? 1 : qn->lower); in set_quantifier()
4847 qn->target = target; in set_quantifier()
5047 Node* qn; in parse_exp() local
5314 qn = node_new_quantifier(0, REPEAT_INFINITE, 0); in parse_exp()
5315 CHECK_NULL_RETURN_MEMERR(qn); in parse_exp()
5316 NQTFR(qn)->target = *np; in parse_exp()
5317 *np = qn; in parse_exp()
5384 qn = node_new_quantifier(tok->u.repeat.lower, tok->u.repeat.upper, in parse_exp()
5386 CHECK_NULL_RETURN_MEMERR(qn); in parse_exp()
5387 NQTFR(qn)->greedy = tok->u.repeat.greedy; in parse_exp()
5388 r = set_quantifier(qn, *targetp, group, env); in parse_exp()
5390 onig_node_free(qn); in parse_exp()
5398 onig_node_free(qn); in parse_exp()
5401 NENCLOSE(en)->target = qn; in parse_exp()
5402 qn = en; in parse_exp()
5406 *targetp = qn; in parse_exp()
5409 onig_node_free(qn); in parse_exp()
5416 onig_node_free(qn); in parse_exp()
5419 tmp = NCDR(*targetp) = node_new_list(qn, NULL); in parse_exp()
5421 onig_node_free(qn); in parse_exp()