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

/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c314 int prefix_len, suffix_len, subject_len; local
331 suffix_len = strlen(wildcard + 1);
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/standard/
H A Dstring.c1488 size_t string_len, suffix_len = 0; local
1490 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1494 RETURN_STR(php_basename(string, string_len, suffix, suffix_len));

Completed in 13 milliseconds