Searched refs:patlen (Results 1 – 2 of 2) sorted by relevance
/PHP-8.1/ext/mbstring/ |
H A D | php_mbregex.c | 455 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.1/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 9670 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument 9766 if ((zero_terminated = (patlen == PCRE2_ZERO_TERMINATED))) in pcre2_compile() 9767 patlen = PRIV(strlen)(pattern); in pcre2_compile() 9769 if (patlen > ccontext->max_pattern_length) in pcre2_compile() 9792 cb.end_pattern = pattern + patlen; in pcre2_compile() 9851 while (patlen - skipatstart >= 2 && in pcre2_compile() 9860 if (patlen - skipatstart - 2 >= p->length && in pcre2_compile() 9948 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile() 10040 parsed_size_needed = patlen - skipatstart + big32count; in pcre2_compile() 10131 cb.erroroffset = patlen; /* For any subsequent errors that do not set it */ in pcre2_compile() [all …]
|
Completed in 115 milliseconds