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

/PHP_TRUNK/ext/standard/
H A Dstring.c1499 int string_len, suffix_len = 0; local
1502 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1506 php_basename(string, string_len, suffix, suffix_len, &ret, &ret_len TSRMLS_CC);
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c328 int prefix_len, suffix_len, subject_len; local
345 suffix_len = strlen(wildcard + 1);
347 if (suffix_len <= subject_len) {
351 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 &&
352 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL;

Completed in 14 milliseconds