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

/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h36 PHPAPI zend_string *php_pcre_replace(zend_string *regex, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count);
59 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
62 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
65 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
H A Dphp_pcre.c571 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, argument
627 start_offset = subject_len + start_offset;
679 count = pcre_exec(pce->re, extra, subject, (int)subject_len, (int)start_offset,
830 if (g_notempty != 0 && start_offset < subject_len) {
992 char *subject, int subject_len,
1003 return php_pcre_replace_impl(pce, subject, subject_len, replace_val,
1009 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, argument
1078 alloc_len = 2 * subject_len;
1093 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset,
1193 if (g_notempty != 0 && start_offset < subject_len) {
991 php_pcre_replace(zend_string *regex, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) argument
1487 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zend_long limit_val, zend_long flags) argument
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4064 size_t subject_len; local
4104 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4110 MAIL_ASCIIZ_CHECK_MBSTRING(subject, subject_len);
4212 orig_str.len = subject_len;
/PHP_TRUNK/ext/standard/
H A Dmail.c107 size_t subject_len, i; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|SS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &extra_cmd) == FAILURE) {
118 MAIL_ASCIIZ_CHECK(subject, subject_len);
150 if (subject_len > 0) {
151 subject_r = estrndup(subject, subject_len);
152 for (; subject_len; subject_len--) {
153 if (!isspace((unsigned char) subject_r[subject_len - 1])) {
156 subject_r[subject_len - 1] = '\0';
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c2033 int subject_len, use_copy, count = 0; local
2058 subject_len = (int)Z_STRLEN(subject_copy);
2061 subject_len = (int)Z_STRLEN_P(subject_ptr);
2069 count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, subject, subject_len, 0, 0, NULL, 0);
2076 subject = estrndup(subject, subject_len);
2081 php_pcre_match_impl(intern->u.regex.pce, subject, subject_len, &zcount,
2088 subject = estrndup(subject, subject_len);
2093 php_pcre_split_impl(intern->u.regex.pce, subject, subject_len, &intern->current.data, -1, intern->u.regex.preg_flags);
2106 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, -1, &count);
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c318 size_t suffix_len, subject_len; local
336 subject_len = strlen(subjectname);
337 if (suffix_len <= subject_len) {
341 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 &&
342 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL;

Completed in 24 milliseconds