Searched defs:suffix (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_5/ext/spl/ |
| H A D | spl_directory.c | 984 /* {{{ proto string SplFileInfo::getBasename([string $suffix]) U 989 char *fname, *suffix = 0; local 993 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { 1007 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC); 1013 /* {{{ proto string DirectoryIterator::getBasename([string $suffix]) U 1018 char *suffix = 0, *fname; local 1022 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { 1026 php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname, &flen TSRMLS_CC); 1930 ZEND_ARG_INFO(0, suffix)
|
| /PHP_5_5/ext/standard/ |
| H A D | string.c | 1414 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 1466 if (suffix != NULL && sufflen < (uint)(cend - comp) && 1467 memcmp(cend - sufflen, suffix, sufflen) == 0) { 1485 /* {{{ proto string basename(string path [, string suffix]) 1489 char *string, *suffix = NULL, *ret; local 1493 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) { 1497 php_basename(string, string_len, suffix, suffix_len, &ret, &ret_len TSRMLS_CC); 2816 HASH *prefix; /* array of hashes of prefixes by pattern suffix hash order */ 2817 PATNREPL *patterns; /* array of prefixes by pattern suffix hash order */
|
| /PHP_5_5/sapi/fpm/fpm/ |
| H A D | fpm_conf.c | 280 char suffix; local 286 suffix = val[len-1]; 287 switch (suffix) { 300 case 's' : /* s is the default suffix */ 302 suffix = '0'; 304 if (suffix < '0' || suffix > '9') { 305 return "unknown suffix used in time value";
|
Completed in 18 milliseconds