Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dmail.c287 size_t subject_len, i; in PHP_FUNCTION() local
294 Z_PARAM_STRING(subject, subject_len) in PHP_FUNCTION()
303 MAIL_ASCIIZ_CHECK(subject, subject_len); in PHP_FUNCTION()
347 if (subject_len > 0) { in PHP_FUNCTION()
348 subject_r = estrndup(subject, subject_len); in PHP_FUNCTION()
349 for (; subject_len; subject_len--) { in PHP_FUNCTION()
350 if (!isspace((unsigned char) subject_r[subject_len - 1])) { in PHP_FUNCTION()
353 subject_r[subject_len - 1] = '\0'; in PHP_FUNCTION()
/PHP-7.4/ext/pcre/
H A Dphp_pcre.h30 …ce(zend_string *regex, zend_string *subject_str, char *subject, size_t subject_len, zend_string *r…
48 …pcre_cache_entry *pce, zend_string *subject_str, char *subject, size_t subject_len, zend_string *r…
H A Dphp_pcre.c1195 size_t subject_len = ZSTR_LEN(subject_str); in php_pcre_match_impl() local
1232 if ((PCRE2_SIZE)-start_offset <= subject_len) { in php_pcre_match_impl()
1233 start_offset2 = subject_len + start_offset; in php_pcre_match_impl()
1241 if (start_offset2 > subject_len) { in php_pcre_match_impl()
1412 if (start_offset2 < subject_len) { in php_pcre_match_impl()
1589 char *subject, size_t subject_len, in php_pcre_replace() argument
1797 if (start_offset < subject_len) { in php_pcre_replace_impl()
1815 alloc_len = result_len + subject_len - last_end_offset; in php_pcre_replace_impl()
1823 result_len += subject_len - last_end_offset; in php_pcre_replace_impl()
2006 if (start_offset < subject_len) { in php_pcre_replace_func_impl()
[all …]
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c393 size_t suffix_len, subject_len; in php_openssl_matches_wildcard_name() local
411 subject_len = strlen(subjectname); in php_openssl_matches_wildcard_name()
412 if (suffix_len <= subject_len) { in php_openssl_matches_wildcard_name()
416 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 && in php_openssl_matches_wildcard_name()
417 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL; in php_openssl_matches_wildcard_name()
/PHP-7.4/ext/mbstring/
H A Dphp_mbregex.c708 size_t subject_len, in mb_regex_substitute() argument
821 if (regs->beg[no] >= 0 && regs->beg[no] < regs->end[no] && (size_t)regs->end[no] <= subject_len) { in mb_regex_substitute()
H A Dmbstring.c4346 size_t subject_len; in PHP_FUNCTION() local
4389 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|zS", &to, &to_len, &subject, &subject_len, &messag… in PHP_FUNCTION()
4395 MAIL_ASCIIZ_CHECK_MBSTRING(subject, subject_len); in PHP_FUNCTION()
4506 orig_str.len = subject_len; in PHP_FUNCTION()

Completed in 74 milliseconds