Searched refs:regex_len (Results 1 - 5 of 5) sorted by relevance

/PHP_5_3/ext/imap/
H A Dphp_imap.c1329 const int regex_len = strlen(regex); local
1342 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC))== NULL) {
/PHP_5_3/ext/pcre/
H A Dphp_pcre.h36 PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
55 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_len TSRMLS_DC);
H A Dphp_pcre.c229 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_len TSRMLS_DC)
261 if (zend_hash_find(&PCRE_G(pcre_cache), regex, regex_len+1, (void **)&pce) == SUCCESS) {
440 zend_hash_update(&PCRE_G(pcre_cache), regex, regex_len+1, (void *)&new_entry, local
510 int regex_len; local
517 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ((global) ? "ssz|ll" : "ss|zll"), &regex, &regex_len,
523 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC)) == NULL) {
959 PHPAPI char *php_pcre_replace(char *regex, int regex_len, argument
967 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC)) == NULL) {
1432 int regex_len; local
1439 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &regex, &regex_len,
1714 int regex_len; local
[all...]
/PHP_5_3/ext/phar/
H A Dphar_object.c1811 int dir_len, regex_len = 0; local
1824 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &dir, &dir_len, &regex, &regex_len) == FAILURE) {
1873 if (regex_len > 0) {
1885 ZVAL_STRINGL(&arg2, regex, regex_len, 0);
/PHP_5_3/ext/spl/
H A Dspl_iterators.c1482 int regex_len; local
1488 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|lll", &zobject, ce_inner, &regex, &regex_len, &mode, &intern->u.regex.flags, &intern->u.regex.preg_flags) == FAILURE) {
1498 intern->u.regex.regex = estrndup(regex, regex_len);
1499 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC);

Completed in 27 milliseconds