Lines Matching refs:repeat_max

4458 int repeat_min = 0, repeat_max = 0;      /* To please picky compilers */  in compile_branch()  local
5600 ptr = read_repeat_counts(ptr+1, &repeat_min, &repeat_max, errorcodeptr); in compile_branch()
5606 repeat_max = -1; in compile_branch()
5611 repeat_max = -1; in compile_branch()
5616 repeat_max = 1; in compile_branch()
5635 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
5798 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
5809 if (repeat_max == -1) *code++ = OP_STAR + repeat_type; in compile_branch()
5810 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
5814 PUT2INC(code, 0, repeat_max); in compile_branch()
5825 if (repeat_max == -1) in compile_branch()
5830 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
5832 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
5850 if (repeat_max < 0) in compile_branch()
5875 else if (repeat_max != repeat_min) in compile_branch()
5891 repeat_max -= repeat_min; in compile_branch()
5893 if (repeat_max == 1) in compile_branch()
5900 PUT2INC(code, 0, repeat_max); in compile_branch()
5939 if (repeat_max == 0) in compile_branch()
5945 if (repeat_min == 0 && repeat_max == -1) in compile_branch()
5947 else if (repeat_min == 1 && repeat_max == -1) in compile_branch()
5949 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
5955 if (repeat_max == -1) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
5956 PUT2INC(code, 0, repeat_max); in compile_branch()
5991 if (repeat_max < 0 || repeat_max > 1) repeat_max = 1; in compile_branch()
6025 if (repeat_max <= 1) /* Covers 0, 1, and unlimited */ in compile_branch()
6031 if (repeat_max == 0) in compile_branch()
6066 repeat_max--; in compile_branch()
6139 if (repeat_max > 0) repeat_max -= repeat_min; in compile_branch()
6149 if (repeat_max >= 0) in compile_branch()
6158 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
6160 int delta = repeat_max * (length_prevgroup + 1 + 2 + 2*LINK_SIZE) - in compile_branch()
6162 if ((INT64_OR_DOUBLE)repeat_max * in compile_branch()
6175 else for (i = repeat_max - 1; i >= 0; i--) in compile_branch()