Lines Matching refs:repeat_max

4390 int repeat_min = 0, repeat_max = 0;      /* To please picky compilers */  in compile_branch()  local
5500 ptr = read_repeat_counts(ptr+1, &repeat_min, &repeat_max, errorcodeptr); in compile_branch()
5506 repeat_max = -1; in compile_branch()
5511 repeat_max = -1; in compile_branch()
5516 repeat_max = 1; in compile_branch()
5535 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
5698 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
5709 if (repeat_max == -1) *code++ = OP_STAR + repeat_type; in compile_branch()
5710 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
5714 PUT2INC(code, 0, repeat_max); in compile_branch()
5725 if (repeat_max == -1) in compile_branch()
5730 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
5732 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
5750 if (repeat_max < 0) in compile_branch()
5775 else if (repeat_max != repeat_min) in compile_branch()
5791 repeat_max -= repeat_min; in compile_branch()
5793 if (repeat_max == 1) in compile_branch()
5800 PUT2INC(code, 0, repeat_max); in compile_branch()
5839 if (repeat_max == 0) in compile_branch()
5845 if (repeat_min == 0 && repeat_max == -1) in compile_branch()
5847 else if (repeat_min == 1 && repeat_max == -1) in compile_branch()
5849 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
5855 if (repeat_max == -1) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
5856 PUT2INC(code, 0, repeat_max); in compile_branch()
5890 if (repeat_max < 0 || repeat_max > 1) repeat_max = 1; in compile_branch()
5924 if (repeat_max <= 1) /* Covers 0, 1, and unlimited */ in compile_branch()
5930 if (repeat_max == 0) in compile_branch()
5965 repeat_max--; in compile_branch()
6039 if (repeat_max > 0) repeat_max -= repeat_min; in compile_branch()
6049 if (repeat_max >= 0) in compile_branch()
6058 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
6060 int delta = repeat_max * (length_prevgroup + 1 + 2 + 2*LINK_SIZE) - in compile_branch()
6062 if ((INT64_OR_DOUBLE)repeat_max * in compile_branch()
6075 else for (i = repeat_max - 1; i >= 0; i--) in compile_branch()