Searched defs:suffix (Results 1 - 3 of 3) sorted by relevance

/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_conf.c281 char suffix; local
287 suffix = val[len-1];
288 switch (suffix) {
301 case 's' : /* s is the default suffix */
303 suffix = '0';
305 if (suffix < '0' || suffix > '9') {
306 return "unknown suffix used in time value";
/PHP_5_5/ext/spl/
H A Dspl_directory.c992 /* {{{ proto string SplFileInfo::getBasename([string $suffix]) U
997 char *fname, *suffix = 0; local
1001 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1015 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC);
1021 /* {{{ proto string DirectoryIterator::getBasename([string $suffix]) U
1026 char *suffix = 0, *fname; local
1030 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1034 php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname, &flen TSRMLS_CC);
1939 ZEND_ARG_INFO(0, suffix)
/PHP_5_5/ext/standard/
H A Dstring.c1425 PHPAPI void php_basename(const char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, size_t *p_len TSRMLS_DC) argument
1490 if (suffix != NULL && sufflen < (uint)(cend - comp) &&
1491 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1509 /* {{{ proto string basename(string path [, string suffix])
1513 char *string, *suffix = NULL, *ret; local
1517 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1521 php_basename(string, string_len, suffix, suffix_len, &ret, &ret_len TSRMLS_CC);
2843 HASH *prefix; /* array of hashes of prefixes by pattern suffix hash order */
2844 PATNREPL *patterns; /* array of prefixes by pattern suffix hash order */

Completed in 18 milliseconds