Lines Matching refs:regex_len

229 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_len TSRMLS_DC)  in pcre_get_compiled_regex_cache()
262 if (zend_hash_find(&PCRE_G(pcre_cache), regex, regex_len+1, (void **)&pce) == SUCCESS) { in pcre_get_compiled_regex_cache()
287 p < regex + regex_len ? "Null byte in regex" : "Empty regular expression"); in pcre_get_compiled_regex_cache()
334 if (pp < regex + regex_len) { in pcre_get_compiled_regex_cache()
352 while (pp < regex + regex_len) { in pcre_get_compiled_regex_cache()
459 regex = tmp = estrndup(regex, regex_len); in pcre_get_compiled_regex_cache()
462 zend_hash_update(&PCRE_G(pcre_cache), regex, regex_len+1, (void *)&new_entry, in pcre_get_compiled_regex_cache()
536 int regex_len; in php_do_pcre_match() local
543 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zll", &regex, &regex_len, in php_do_pcre_match()
549 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC)) == NULL) { in php_do_pcre_match()
985 PHPAPI char *php_pcre_replace(char *regex, int regex_len, in php_pcre_replace() argument
993 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC)) == NULL) { in php_pcre_replace()
1458 int regex_len; in PHP_FUNCTION() local
1465 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &regex, &regex_len, in PHP_FUNCTION()
1471 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC)) == NULL) { in PHP_FUNCTION()
1740 int regex_len; in PHP_FUNCTION() local
1746 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa|l", &regex, &regex_len, in PHP_FUNCTION()
1752 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC)) == NULL) { in PHP_FUNCTION()