Lines Matching refs:greedy

667   r = add_opcode(reg, qn->greedy ? OP_REPEAT : OP_REPEAT_NG);  in compile_range_repeat_node()
686 r = add_opcode(reg, qn->greedy ? OP_REPEAT_INC_SG : OP_REPEAT_INC_NG_SG); in compile_range_repeat_node()
689 r = add_opcode(reg, qn->greedy ? OP_REPEAT_INC : OP_REPEAT_INC_NG); in compile_range_repeat_node()
699 if (qn->greedy && IS_REPEAT_INFINITE(qn->upper) && in is_anychar_star_quantifier()
728 if (qn->greedy && infinite) { in compile_length_quantifier_node()
742 if (qn->greedy) { in compile_length_quantifier_node()
765 else if (qn->upper == 1 && qn->greedy) { in compile_length_quantifier_node()
778 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
845 if (qn->greedy) { in compile_quantifier_node()
897 else if (qn->upper == 1 && qn->greedy) { in compile_quantifier_node()
914 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
957 if (qn->greedy && infinite) { in compile_length_quantifier_node()
979 if (qn->greedy) { in compile_length_quantifier_node()
993 else if (!infinite && qn->greedy && in compile_length_quantifier_node()
999 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_length_quantifier_node()
1047 if (qn->greedy) { in compile_quantifier_node()
1065 if (qn->greedy) { in compile_quantifier_node()
1108 else if (!infinite && qn->greedy && in compile_quantifier_node()
1124 else if (!qn->greedy && qn->upper == 1 && qn->lower == 0) { /* '??' */ in compile_quantifier_node()
3161 if (qn->greedy && IS_REPEAT_INFINITE(qn->upper)) { in next_setup()
3349 && q->greedy == qn->greedy) { in setup_comb_exp_check()
3574 if (qn->greedy && (qn->target_empty_info != 0)) { in setup_tree()
3619 tqn->greedy != 0) { /* (?>a*), a*+ etc... */ in setup_tree()
4576 NTYPE(qn->target) == N_ANYCHAR && qn->greedy) { in optimize_node_left()
6001 (NQUANTIFIER(node).greedy ? "" : "?")); in print_indent_tree()