Home
last modified time | relevance | path

Searched refs:suffix_len (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/openssl/
H A Dxp_ssl.c422 size_t suffix_len, subject_len; in php_openssl_matches_wildcard_name() local
439 suffix_len = strlen(wildcard + 1); in php_openssl_matches_wildcard_name()
441 if (suffix_len <= subject_len) { in php_openssl_matches_wildcard_name()
445 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 && in php_openssl_matches_wildcard_name()
446 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL; in php_openssl_matches_wildcard_name()
/php-src/ext/standard/
H A Dstring.c1372 PHPAPI zend_string *php_basename(const char *s, size_t len, const char *suffix, size_t suffix_len) argument
1478 if (suffix != NULL && suffix_len < (size_t)(basename_end - basename_start) &&
1479 memcmp(basename_end - suffix_len, suffix, suffix_len) == 0) {
1480 basename_end -= suffix_len;
1491 size_t string_len, suffix_len = 0; local
1496 Z_PARAM_STRING(suffix, suffix_len)
1499 RETURN_STR(php_basename(string, string_len, suffix, suffix_len));

Completed in 25 milliseconds