Home
last modified time | relevance | path

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

/PHP-5.5/ext/mbstring/oniguruma/
H A Dregcomp.c798 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
934 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
1019 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
1131 int n = qn->upper - qn->lower; in compile_quantifier_node()
1144 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
2324 if (qn->lower == qn->upper) { in get_char_length_tree1()
3561 qn->upper = (qn->lower == 0 ? 1 : qn->lower); in setup_comb_exp_check()
3581 var_num = qn->upper - qn->lower; in setup_comb_exp_check()
3758 if (qn->lower != qn->upper) in setup_tree()
3766 if (!IS_REPEAT_INFINITE(qn->lower) && qn->lower == qn->upper && in setup_tree()
[all …]
H A Dregparse.h155 #define IS_QUANTIFIER_IN_REPEAT(qn) (((qn)->state & NST_IN_REPEAT) != 0) argument
156 #define IS_QUANTIFIER_BY_NUMBER(qn) (((qn)->state & NST_BY_NUMBER) != 0) argument
H A Dregparse.c4757 QtfrNode* qn; in set_quantifier() local
4759 qn = NQTFR(qnode); in set_quantifier()
4760 if (qn->lower == 1 && qn->upper == 1) { in set_quantifier()
4771 qn->target = n; in set_quantifier()
4827 if (! IS_REPEAT_INFINITE(qn->upper) && qn->upper > 1 && qn->greedy) { in set_quantifier()
4828 qn->upper = (qn->lower == 0 ? 1 : qn->lower); in set_quantifier()
5039 Node* qn; in parse_exp() local
5309 *np = qn; in parse_exp()
5382 onig_node_free(qn); in parse_exp()
5394 qn = en; in parse_exp()
[all …]
H A DHISTORY68 2007/06/06: [tune] don't set qn->next_head_exact for string first byte is zero.

Completed in 40 milliseconds