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

/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c315 int prefix_len, suffix_len, subject_len; local
332 suffix_len = strlen(wildcard + 1);
334 if (suffix_len <= subject_len) {
338 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 &&
339 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL;
/PHP_TRUNK/ext/standard/
H A Dstring.c1494 int string_len, suffix_len = 0; local
1496 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1500 RETURN_STR(php_basename(string, string_len, suffix, suffix_len TSRMLS_CC));

Completed in 13 milliseconds