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

/PHP_TRUNK/ext/imap/
H A Dphp_imap.c4028 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local
4030 if (zend_parse_parameters(argc, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len,
4042 if (!subject_len) {
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4060 size_t subject_len; local
4100 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4106 MAIL_ASCIIZ_CHECK_MBSTRING(subject, subject_len);
4208 orig_str.len = subject_len;
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c314 int prefix_len, suffix_len, subject_len; local
332 subject_len = strlen(subjectname);
333 if (suffix_len <= subject_len) {
337 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 &&
338 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL;
/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);
2105 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, -1, &count);
/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, &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.c567 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, argument
623 start_offset = subject_len + start_offset;
675 count = pcre_exec(pce->re, extra, subject, (int)subject_len, (int)start_offset,
826 if (g_notempty != 0 && start_offset < subject_len) {
1070 char *subject, int subject_len,
1081 return php_pcre_replace_impl(pce, subject, subject_len, replace_val,
1087 PHPAPI zend_string *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, argument
1163 alloc_len = 2 * subject_len;
1178 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset,
1284 if (g_notempty != 0 && start_offset < subject_len) {
1069 php_pcre_replace(zend_string *regex, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) argument
1578 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...]
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,

Completed in 30 milliseconds