Lines Matching refs:repeat_max
3862 int repeat_min = 0, repeat_max = 0; /* To please picky compilers */ in compile_branch() local
5067 ptr = read_repeat_counts(ptr+1, &repeat_min, &repeat_max, errorcodeptr); in compile_branch()
5073 repeat_max = -1; in compile_branch()
5078 repeat_max = -1; in compile_branch()
5083 repeat_max = 1; in compile_branch()
5102 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
5161 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
5266 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
5277 if (repeat_max == -1) *code++ = OP_STAR + repeat_type; in compile_branch()
5278 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
5282 PUT2INC(code, 0, repeat_max); in compile_branch()
5293 if (repeat_max == -1) in compile_branch()
5298 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
5300 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
5319 if (repeat_max != repeat_min) in compile_branch()
5340 if (repeat_max < 0) *code++ = OP_STAR + repeat_type; else in compile_branch()
5342 repeat_max -= repeat_min; in compile_branch()
5343 if (repeat_max == 1) in compile_branch()
5350 PUT2INC(code, 0, repeat_max); in compile_branch()
5386 if (repeat_max == 0) in compile_branch()
5392 if (repeat_min == 0 && repeat_max == -1) in compile_branch()
5394 else if (repeat_min == 1 && repeat_max == -1) in compile_branch()
5396 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
5402 if (repeat_max == -1) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
5403 PUT2INC(code, 0, repeat_max); in compile_branch()
5439 if (repeat_max < 0 || repeat_max > 1) repeat_max = 1; in compile_branch()
5469 if (repeat_max <= 1) /* Covers 0, 1, and unlimited */ in compile_branch()
5473 if (repeat_max == 0) in compile_branch()
5505 repeat_max--; in compile_branch()
5553 if (repeat_max > 0) repeat_max -= repeat_min; in compile_branch()
5563 if (repeat_max >= 0) in compile_branch()
5572 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
5574 size_t delta = repeat_max*(length_prevgroup + 1 + 2 + 2*LINK_SIZE) - in compile_branch()
5576 if ((INT64_OR_DOUBLE)repeat_max * in compile_branch()
5589 else for (i = repeat_max - 1; i >= 0; i--) in compile_branch()