Home
last modified time | relevance | path

Searched refs:patlen (Results 1 – 2 of 2) sorted by relevance

/PHP-8.2/ext/mbstring/
H A Dphp_mbregex.c455 static php_mb_regex_t *php_mbregex_compile_pattern(const char *pattern, size_t patlen, OnigOptionTy… in php_mbregex_compile_pattern() argument
463 if (!php_mb_check_encoding(pattern, patlen, php_mb_regex_get_mbctype_encoding())) { in php_mbregex_compile_pattern()
469 rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen); in php_mbregex_compile_pattern()
471 …if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, … in php_mbregex_compile_pattern()
480 zend_hash_str_update_ptr(&MBREX(ht_rc), (char *)pattern, patlen, retval); in php_mbregex_compile_pattern()
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_compile.c9762 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument
9858 if ((zero_terminated = (patlen == PCRE2_ZERO_TERMINATED))) in pcre2_compile()
9859 patlen = PRIV(strlen)(pattern); in pcre2_compile()
9861 if (patlen > ccontext->max_pattern_length) in pcre2_compile()
9884 cb.end_pattern = pattern + patlen; in pcre2_compile()
9943 while (patlen - skipatstart >= 2 && in pcre2_compile()
9952 if (patlen - skipatstart - 2 >= p->length && in pcre2_compile()
10040 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
10132 parsed_size_needed = patlen - skipatstart + big32count; in pcre2_compile()
10223 cb.erroroffset = patlen; /* For any subsequent errors that do not set it */ in pcre2_compile()
[all …]

Completed in 33 milliseconds