Lines Matching refs:repeat_max

5288 uint32_t repeat_min = 0, repeat_max = 0;      /* To please picky compilers */  in compile_branch()  local
6808 repeat_max = *(++pptr); in compile_branch()
6815 repeat_max = REPEAT_UNLIMITED; in compile_branch()
6822 repeat_max = REPEAT_UNLIMITED; in compile_branch()
6829 repeat_max = 1; in compile_branch()
6837 reqvary = (repeat_min == repeat_max)? 0 : REQ_VARY; in compile_branch()
6899 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
6941 if (repeat_max == 0) in compile_branch()
6946 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
6948 if (repeat_min == 0 && repeat_max == REPEAT_UNLIMITED) in compile_branch()
6950 else if (repeat_min == 1 && repeat_max == REPEAT_UNLIMITED) in compile_branch()
6952 else if (repeat_min == 0 && repeat_max == 1) in compile_branch()
6958 if (repeat_max == REPEAT_UNLIMITED) repeat_max = 0; /* 2-byte encoding for max */ in compile_branch()
6959 PUT2INC(code, 0, repeat_max); in compile_branch()
6981 if (repeat_max == 1 && repeat_min == 1 && !possessive_quantifier) in compile_branch()
6991 if (repeat_min > 0 && (repeat_min != 1 || repeat_max != REPEAT_UNLIMITED)) in compile_branch()
6994 if (repeat_min == repeat_max) replicate--; in compile_branch()
7025 if (repeat_min == repeat_max) break; in compile_branch()
7026 if (repeat_max != REPEAT_UNLIMITED) repeat_max -= repeat_min; in compile_branch()
7067 if (repeat_max == 1 && repeat_min == 1 && !possessive_quantifier) in compile_branch()
7089 if (repeat_max == REPEAT_UNLIMITED) repeat_max = repeat_min + 1; in compile_branch()
7119 if (repeat_max <= 1 || repeat_max == REPEAT_UNLIMITED) in compile_branch()
7123 if (repeat_max == 0) in compile_branch()
7155 if (repeat_max != REPEAT_UNLIMITED) repeat_max--; in compile_branch()
7204 if (repeat_max != REPEAT_UNLIMITED) repeat_max -= repeat_min; in compile_branch()
7214 if (repeat_max != REPEAT_UNLIMITED) in compile_branch()
7223 if (lengthptr != NULL && repeat_max > 0) in compile_branch()
7225 PCRE2_SIZE delta = repeat_max*(length_prevgroup + 1 + 2 + 2*LINK_SIZE) - in compile_branch()
7227 if ((INT64_OR_DOUBLE)repeat_max * in compile_branch()
7240 else for (i = repeat_max - 1; i >= 0; i--) in compile_branch()
7395 if (repeat_max == 1 && repeat_min == 1) goto END_REPEAT; in compile_branch()
7424 if (repeat_max == 0) goto END_REPEAT; in compile_branch()
7435 if (repeat_max == REPEAT_UNLIMITED) *code++ = OP_STAR + repeat_type; in compile_branch()
7436 else if (repeat_max == 1) *code++ = OP_QUERY + repeat_type; in compile_branch()
7440 PUT2INC(code, 0, repeat_max); in compile_branch()
7451 if (repeat_max == REPEAT_UNLIMITED) in compile_branch()
7456 if (repeat_max == 1) goto END_REPEAT; in compile_branch()
7458 PUT2INC(code, 0, repeat_max - 1); in compile_branch()
7475 if (repeat_max != repeat_min) in compile_branch()
7494 if (repeat_max == REPEAT_UNLIMITED) in compile_branch()
7498 repeat_max -= repeat_min; in compile_branch()
7499 if (repeat_max == 1) in compile_branch()
7506 PUT2INC(code, 0, repeat_max); in compile_branch()