Lines Matching refs:repeat_max

5397 uint32_t repeat_min = 0, repeat_max = 0;      /* To please picky compilers */  in compile_branch()  local
6920 repeat_max = *(++pptr); in compile_branch()
6927 repeat_max = REPEAT_UNLIMITED; in compile_branch()
6934 repeat_max = REPEAT_UNLIMITED; in compile_branch()
6941 repeat_max = 1; in compile_branch()
6949 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
7011 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7058 if (repeat_max == 0) in compile_branch()
7063 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7065 if (repeat_min == 0 && repeat_max == REPEAT_UNLIMITED) in compile_branch()
7067 else if (repeat_min == 1 && repeat_max == REPEAT_UNLIMITED) in compile_branch()
7069 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
7075 if (repeat_max == REPEAT_UNLIMITED) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
7076 PUT2INC(code, 0, repeat_max); in compile_branch()
7098 if (repeat_max == 1 && repeat_min == 1 && !possessive_quantifier) in compile_branch()
7108 if (repeat_min > 0 && (repeat_min != 1 || repeat_max != REPEAT_UNLIMITED)) in compile_branch()
7111 if (repeat_min == repeat_max) replicate--; in compile_branch()
7142 if (repeat_min == repeat_max) break; in compile_branch()
7143 if (repeat_max != REPEAT_UNLIMITED) repeat_max -= repeat_min; in compile_branch()
7184 if (repeat_max == 1 && repeat_min == 1 && !possessive_quantifier) in compile_branch()
7206 if (repeat_max == REPEAT_UNLIMITED) repeat_max = repeat_min + 1; in compile_branch()
7236 if (repeat_max <= 1 || repeat_max == REPEAT_UNLIMITED) in compile_branch()
7240 if (repeat_max == 0) in compile_branch()
7272 if (repeat_max != REPEAT_UNLIMITED) repeat_max--; in compile_branch()
7321 if (repeat_max != REPEAT_UNLIMITED) repeat_max -= repeat_min; in compile_branch()
7331 if (repeat_max != REPEAT_UNLIMITED) in compile_branch()
7340 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
7342 PCRE2_SIZE delta = repeat_max*(length_prevgroup + 1 + 2 + 2*LINK_SIZE) - in compile_branch()
7344 if ((INT64_OR_DOUBLE)repeat_max * in compile_branch()
7357 else for (uint32_t i = repeat_max; i >= 1; i--) in compile_branch()
7512 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7541 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
7552 if (repeat_max == REPEAT_UNLIMITED) *code++ = OP_STAR + repeat_type; in compile_branch()
7553 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
7557 PUT2INC(code, 0, repeat_max); in compile_branch()
7568 if (repeat_max == REPEAT_UNLIMITED) in compile_branch()
7573 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
7575 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
7592 if (repeat_max != repeat_min) in compile_branch()
7611 if (repeat_max == REPEAT_UNLIMITED) in compile_branch()
7615 repeat_max -= repeat_min; in compile_branch()
7616 if (repeat_max == 1) in compile_branch()
7623 PUT2INC(code, 0, repeat_max); in compile_branch()