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

/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1320 const int regex_len = strlen(regex); local
1333 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC))== NULL) {
/PHP_TRUNK/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)
262 if (zend_hash_find(&PCRE_G(pcre_cache), regex, regex_len+1, (void **)&pce) == SUCCESS) {
287 p < regex + regex_len ? "Null byte in regex" : "Empty regular expression");
334 if (pp < regex + regex_len) {
352 while (pp < regex + regex_len) {
459 regex = tmp = estrndup(regex, regex_len);
462 zend_hash_update(&PCRE_G(pcre_cache), regex, regex_len+1, (void *)&new_entry, local
536 int regex_len; local
543 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zll", &regex, &regex_len,
549 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_C
1014 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) argument
1497 int regex_len; local
1782 int regex_len; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.h163 uint regex_len; member in struct:_spl_dual_it_object::__anon229::__anon233
H A Dspl_iterators.c1479 int regex_len; local
1485 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) {
1495 intern->u.regex.regex = estrndup(regex, regex_len);
1496 intern->u.regex.regex_len = regex_len;
1497 intern->u.regex.pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC);
2078 RETURN_STRINGL(intern->u.regex.regex, intern->u.regex.regex_len, 1);
/PHP_TRUNK/ext/phar/
H A Dphar_object.c1746 int dir_len, regex_len = 0; local
1759 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &dir, &dir_len, &regex, &regex_len) == FAILURE) {
1804 if (regex_len > 0) {
1816 ZVAL_STRINGL(&arg2, regex, regex_len, 0);

Completed in 27 milliseconds