Lines Matching refs:patlen
10126 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument
10189 if (patlen == 0) pattern = (PCRE2_SPTR)""; else in pcre2_compile()
10225 if ((zero_terminated = (patlen == PCRE2_ZERO_TERMINATED))) in pcre2_compile()
10226 patlen = PRIV(strlen)(pattern); in pcre2_compile()
10228 if (patlen > ccontext->max_pattern_length) in pcre2_compile()
10251 cb.end_pattern = pattern + patlen; in pcre2_compile()
10302 if (zero_terminated) VALGRIND_MAKE_MEM_NOACCESS(pattern + patlen, CU2BYTES(1)); in pcre2_compile()
10310 while (patlen - skipatstart >= 2 && in pcre2_compile()
10319 if (patlen - skipatstart - 2 >= p->length && in pcre2_compile()
10407 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
10499 parsed_size_needed = patlen - skipatstart + big32count; in pcre2_compile()
10587 cb.erroroffset = patlen; /* For any subsequent errors that do not set it */ in pcre2_compile()
10966 if (zero_terminated) VALGRIND_MAKE_MEM_DEFINED(pattern + patlen, CU2BYTES(1)); in pcre2_compile()