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

/PHP_5_5/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);
57 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
60 PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
63 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
H A Dphp_pcre.c537 int subject_len; local
544 &subject, &subject_len, &subpats, &flags, &start_offset) == FAILURE) {
553 php_pcre_match_impl(pce, subject, subject_len, return_value, subpats,
559 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, argument
610 start_offset = subject_len + start_offset;
659 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset,
756 if (g_notempty != 0 && start_offset < subject_len) {
986 char *subject, int subject_len,
997 return php_pcre_replace_impl(pce, subject, subject_len, replace_val,
1003 PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zva argument
985 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
1254 int subject_len; local
1463 int subject_len; local
1485 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
[all...]
/PHP_5_5/ext/imap/
H A Dphp_imap.c4049 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local
4051 if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len,
4063 if (!subject_len) {
/PHP_5_5/ext/mbstring/
H A Dmbstring.c4028 int subject_len; local
4070 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, &extra_cmd_len) == FAILURE) {
4076 MAIL_ASCIIZ_CHECK_MBSTRING(subject, subject_len);
4180 if (subject != NULL && subject_len >= 0) {
4183 orig_str.len = subject_len;
/PHP_5_5/ext/standard/
H A Dmail.c106 int subject_len, extra_cmd_len = 0, i; local
111 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, &extra_cmd_len) == FAILURE) {
117 MAIL_ASCIIZ_CHECK(subject, subject_len);
149 if (subject_len > 0) {
150 subject_r = estrndup(subject, subject_len);
151 for (; subject_len; subject_len--) {
152 if (!isspace((unsigned char) subject_r[subject_len - 1])) {
155 subject_r[subject_len - 1] = '\0';
/PHP_5_5/ext/spl/
H A Dspl_iterators.c1971 int subject_len, use_copy, count = 0, result_len; local
1995 subject_len = Z_STRLEN(subject_copy);
1998 subject_len = Z_STRLEN_P(subject_ptr);
2005 count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, subject, subject_len, 0, 0, NULL, 0);
2012 subject = estrndup(subject, subject_len);
2017 php_pcre_match_impl(intern->u.regex.pce, subject, subject_len, &zcount,
2024 subject = estrndup(subject, subject_len);
2029 php_pcre_split_impl(intern->u.regex.pce, subject, subject_len, intern->current.data, -1, intern->u.regex.preg_flags TSRMLS_CC);
2042 result = php_pcre_replace_impl(intern->u.regex.pce, subject, subject_len, replacement, 0, &result_len, -1, &count TSRMLS_CC);

Completed in 28 milliseconds