Lines Matching refs:greedy
687 r = add_opcode(reg, qn->greedy ? OP_REPEAT : OP_REPEAT_NG); in compile_range_repeat_node()
706 r = add_opcode(reg, qn->greedy ? OP_REPEAT_INC_SG : OP_REPEAT_INC_NG_SG); in compile_range_repeat_node()
709 r = add_opcode(reg, qn->greedy ? OP_REPEAT_INC : OP_REPEAT_INC_NG); in compile_range_repeat_node()
719 if (qn->greedy && IS_REPEAT_INFINITE(qn->upper) && in is_anychar_star_quantifier()
748 if (qn->greedy && infinite) { in compile_length_quantifier_node()
762 if (qn->greedy) { in compile_length_quantifier_node()
785 else if (qn->upper == 1 && qn->greedy) { in compile_length_quantifier_node()
798 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
865 if (qn->greedy) { in compile_quantifier_node()
917 else if (qn->upper == 1 && qn->greedy) { in compile_quantifier_node()
934 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
977 if (qn->greedy && infinite) { in compile_length_quantifier_node()
999 if (qn->greedy) { in compile_length_quantifier_node()
1013 else if (!infinite && qn->greedy && in compile_length_quantifier_node()
1019 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
1067 if (qn->greedy) { in compile_quantifier_node()
1085 if (qn->greedy) { in compile_quantifier_node()
1128 else if (!infinite && qn->greedy && in compile_quantifier_node()
1144 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
3150 if (qn->greedy && IS_REPEAT_INFINITE(qn->upper)) { in next_setup()
3559 && q->greedy == qn->greedy) { in setup_comb_exp_check()
3784 if (qn->greedy && (qn->target_empty_info != 0)) { in setup_tree()
3829 tqn->greedy != 0) { /* (?>a*), a*+ etc... */ in setup_tree()
4782 NTYPE(qn->target) == NT_CANY && qn->greedy) { in optimize_node_left()
6210 (NQTFR(node)->greedy ? "" : "?")); in print_indent_tree()