Lines Matching refs:qn
4786 QtfrNode* qn; in set_quantifier() local
4788 qn = NQTFR(qnode); in set_quantifier()
4789 if (qn->lower == 1 && qn->upper == 1) { in set_quantifier()
4800 qn->target = n; in set_quantifier()
4811 int nestq_num = popular_quantifier_num(qn); in set_quantifier()
4815 if (!IS_QUANTIFIER_BY_NUMBER(qn) && !IS_QUANTIFIER_BY_NUMBER(qnt) && in set_quantifier()
4856 if (! IS_REPEAT_INFINITE(qn->upper) && qn->upper > 1 && qn->greedy) { in set_quantifier()
4857 qn->upper = (qn->lower == 0 ? 1 : qn->lower); in set_quantifier()
4868 qn->target = target; in set_quantifier()
4991 Node* qn; in parse_exp() local
5206 qn = node_new_quantifier(0, REPEAT_INFINITE, 0); in parse_exp()
5207 CHECK_NULL_RETURN_MEMERR(qn); in parse_exp()
5208 NQTFR(qn)->target = *np; in parse_exp()
5209 *np = qn; in parse_exp()
5276 qn = node_new_quantifier(tok->u.repeat.lower, tok->u.repeat.upper, in parse_exp()
5278 CHECK_NULL_RETURN_MEMERR(qn); in parse_exp()
5279 NQTFR(qn)->greedy = tok->u.repeat.greedy; in parse_exp()
5280 r = set_quantifier(qn, *targetp, group, env); in parse_exp()
5282 onig_node_free(qn); in parse_exp()
5290 onig_node_free(qn); in parse_exp()
5293 NENCLOSE(en)->target = qn; in parse_exp()
5294 qn = en; in parse_exp()
5298 *targetp = qn; in parse_exp()
5301 onig_node_free(qn); in parse_exp()
5308 onig_node_free(qn); in parse_exp()
5311 tmp = NCDR(*targetp) = node_new_list(qn, NULL); in parse_exp()
5313 onig_node_free(qn); in parse_exp()