Lines Matching refs:repeat_max

5645 uint32_t repeat_min = 0, repeat_max = 0;      /* To please picky compilers */  in compile_branch()  local
7186 repeat_max = *(++pptr); in compile_branch()
7193 repeat_max = REPEAT_UNLIMITED; in compile_branch()
7200 repeat_max = REPEAT_UNLIMITED; in compile_branch()
7207 repeat_max = 1; in compile_branch()
7215 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
7277 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7324 if (repeat_max == 0) in compile_branch()
7329 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7331 if (repeat_min == 0 && repeat_max == REPEAT_UNLIMITED) in compile_branch()
7333 else if (repeat_min == 1 && repeat_max == REPEAT_UNLIMITED) in compile_branch()
7335 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
7341 if (repeat_max == REPEAT_UNLIMITED) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
7342 PUT2INC(code, 0, repeat_max); in compile_branch()
7364 if (repeat_max == 1 && repeat_min == 1 && !possessive_quantifier) in compile_branch()
7374 if (repeat_min > 0 && (repeat_min != 1 || repeat_max != REPEAT_UNLIMITED)) in compile_branch()
7377 if (repeat_min == repeat_max) replicate--; in compile_branch()
7405 if (repeat_min == repeat_max) break; in compile_branch()
7406 if (repeat_max != REPEAT_UNLIMITED) repeat_max -= repeat_min; in compile_branch()
7447 if (repeat_max == 1 && repeat_min == 1 && !possessive_quantifier) in compile_branch()
7469 if (repeat_max == REPEAT_UNLIMITED) repeat_max = repeat_min + 1; in compile_branch()
7499 if (repeat_max <= 1 || repeat_max == REPEAT_UNLIMITED) in compile_branch()
7503 if (repeat_max == 0) in compile_branch()
7535 if (repeat_max != REPEAT_UNLIMITED) repeat_max--; in compile_branch()
7582 if (repeat_max != REPEAT_UNLIMITED) repeat_max -= repeat_min; in compile_branch()
7592 if (repeat_max != REPEAT_UNLIMITED) in compile_branch()
7600 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
7603 if (PRIV(ckd_smul)(&delta, repeat_max, in compile_branch()
7616 else for (uint32_t i = repeat_max; i >= 1; i--) in compile_branch()
7771 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7800 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
7811 if (repeat_max == REPEAT_UNLIMITED) *code++ = OP_STAR + repeat_type; in compile_branch()
7812 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
7816 PUT2INC(code, 0, repeat_max); in compile_branch()
7827 if (repeat_max == REPEAT_UNLIMITED) in compile_branch()
7832 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
7834 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
7851 if (repeat_max != repeat_min) in compile_branch()
7870 if (repeat_max == REPEAT_UNLIMITED) in compile_branch()
7874 repeat_max -= repeat_min; in compile_branch()
7875 if (repeat_max == 1) in compile_branch()
7882 PUT2INC(code, 0, repeat_max); in compile_branch()