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

/PHP_5_6/ext/standard/
H A Dstring.c1509 int string_len, suffix_len = 0; local
1512 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1516 php_basename(string, string_len, suffix, suffix_len, &ret, &ret_len TSRMLS_CC);
/PHP_5_6/ext/openssl/
H A Dxp_ssl.c329 int prefix_len, suffix_len, subject_len; local
346 suffix_len = strlen(wildcard + 1);
348 if (suffix_len <= subject_len) {
352 return strcasecmp(wildcard + 1, subjectname + subject_len - suffix_len) == 0 &&
353 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL;

Completed in 13 milliseconds