Lines Matching refs:repeat_max
4460 int repeat_min = 0, repeat_max = 0; /* To please picky compilers */ in compile_branch() local
5602 ptr = read_repeat_counts(ptr+1, &repeat_min, &repeat_max, errorcodeptr); in compile_branch()
5608 repeat_max = -1; in compile_branch()
5613 repeat_max = -1; in compile_branch()
5618 repeat_max = 1; in compile_branch()
5637 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
5800 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
5811 if (repeat_max == -1) *code++ = OP_STAR + repeat_type; in compile_branch()
5812 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
5816 PUT2INC(code, 0, repeat_max); in compile_branch()
5827 if (repeat_max == -1) in compile_branch()
5832 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
5834 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
5852 if (repeat_max < 0) in compile_branch()
5877 else if (repeat_max != repeat_min) in compile_branch()
5893 repeat_max -= repeat_min; in compile_branch()
5895 if (repeat_max == 1) in compile_branch()
5902 PUT2INC(code, 0, repeat_max); in compile_branch()
5941 if (repeat_max == 0) in compile_branch()
5947 if (repeat_min == 0 && repeat_max == -1) in compile_branch()
5949 else if (repeat_min == 1 && repeat_max == -1) in compile_branch()
5951 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
5957 if (repeat_max == -1) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
5958 PUT2INC(code, 0, repeat_max); in compile_branch()
5993 if (repeat_max < 0 || repeat_max > 1) repeat_max = 1; in compile_branch()
6027 if (repeat_max <= 1) /* Covers 0, 1, and unlimited */ in compile_branch()
6033 if (repeat_max == 0) in compile_branch()
6068 repeat_max--; in compile_branch()
6141 if (repeat_max > 0) repeat_max -= repeat_min; in compile_branch()
6151 if (repeat_max >= 0) in compile_branch()
6160 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
6162 int delta = repeat_max * (length_prevgroup + 1 + 2 + 2*LINK_SIZE) - in compile_branch()
6164 if ((INT64_OR_DOUBLE)repeat_max * in compile_branch()
6177 else for (i = repeat_max - 1; i >= 0; i--) in compile_branch()