Home
last modified time | relevance | path

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

/PHP-7.1/ext/mbstring/
H A Dphp_mbregex.c447 static php_mb_regex_t *php_mbregex_compile_pattern(const char *pattern, int patlen, OnigOptionType … in php_mbregex_compile_pattern() argument
454 if (!php_mb_check_encoding(pattern, patlen, _php_mb_regex_mbctype2name(enc))) { in php_mbregex_compile_pattern()
460 rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen); in php_mbregex_compile_pattern()
462 …if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, … in php_mbregex_compile_pattern()
471 zend_hash_str_update_ptr(&MBREX(ht_rc), (char *)pattern, patlen, retval); in php_mbregex_compile_pattern()

Completed in 16 milliseconds