Home
last modified time | relevance | path

Searched refs:qn (Results 1 – 3 of 3) sorted by relevance

/PHP-5.3/ext/mbstring/oniguruma/
H A Dregcomp.c778 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
914 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
999 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
1111 int n = qn->upper - qn->lower; in compile_quantifier_node()
1124 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
2315 if (qn->lower == qn->upper) { in get_char_length_tree1()
3350 qn->upper = (qn->lower == 0 ? 1 : qn->lower); in setup_comb_exp_check()
3370 var_num = qn->upper - qn->lower; in setup_comb_exp_check()
3547 if (qn->lower != qn->upper) in setup_tree()
3555 if (!IS_REPEAT_INFINITE(qn->lower) && qn->lower == qn->upper && in setup_tree()
[all …]
H A Dregparse.h173 #define IS_QUANTIFIER_IN_REPEAT(qn) (((qn)->state & NST_IN_REPEAT) != 0) argument
174 #define IS_QUANTIFIER_BY_NUMBER(qn) (((qn)->state & NST_BY_NUMBER) != 0) argument
H A Dregparse.c4621 QuantifierNode* qn; in set_quantifier() local
4624 if (qn->lower == 1 && qn->upper == 1) { in set_quantifier()
4635 qn->target = n; 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
5071 *np = qn; in parse_exp()
5140 NEFFECT(en).target = qn; in parse_exp()
5141 qn = en; in parse_exp()
[all …]

Completed in 39 milliseconds