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

/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4053 size_t subject_len; local
4093 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4099 MAIL_ASCIIZ_CHECK_MBSTRING(subject, subject_len);
4201 orig_str.len = subject_len;
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c4030 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local
4032 if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len,
4044 if (!subject_len) {
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c315 int prefix_len, suffix_len, subject_len; local
333 subject_len = strlen(subjectname);
334 if (suffix_len <= subject_len) {
338 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 &&
339 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL;
/PHP_TRUNK/ext/standard/
H A Dmail.c107 size_t subject_len, i; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &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/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 TSRMLS_DC);
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.c577 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, argument
633 start_offset = subject_len + start_offset;
685 count = pcre_exec(pce->re, extra, subject, (int)subject_len, (int)start_offset,
836 if (g_notempty != 0 && start_offset < subject_len) {
1080 char *subject, int subject_len,
1091 return php_pcre_replace_impl(pce, subject, subject_len, replace_val,
1097 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, argument
1173 alloc_len = 2 * subject_len;
1188 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset,
1294 if (g_notempty != 0 && start_offset < subject_len) {
1079 php_pcre_replace(zend_string *regex, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count TSRMLS_DC) argument
1588 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zend_long limit_val, zend_long flags TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c2032 int subject_len, use_copy, count = 0; local
2057 subject_len = (int)Z_STRLEN(subject_copy);
2060 subject_len = (int)Z_STRLEN_P(subject_ptr);
2068 count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, subject, subject_len, 0, 0, NULL, 0);
2075 subject = estrndup(subject, subject_len);
2080 php_pcre_match_impl(intern->u.regex.pce, subject, subject_len, &zcount,
2087 subject = estrndup(subject, subject_len);
2092 php_pcre_split_impl(intern->u.regex.pce, subject, subject_len, &intern->current.data, -1, intern->u.regex.preg_flags TSRMLS_CC);
2105 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, -1, &count TSRMLS_CC);

Completed in 31 milliseconds