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

/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_conf.c284 char suffix; local
290 suffix = val[len-1];
291 switch (suffix) {
304 case 's' : /* s is the default suffix */
306 suffix = '0';
308 if (suffix < '0' || suffix > '9') {
309 return "unknown suffix used in time value";
/PHP_5_6/ext/standard/
H A Dstring.c1410 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
1475 if (suffix != NULL && sufflen < (uint)(cend - comp) &&
1476 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1494 /* {{{ proto string basename(string path [, string suffix])
1498 char *string, *suffix = NULL, *ret; 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);
2828 HASH *prefix; /* array of hashes of prefixes by pattern suffix hash order */
2829 PATNREPL *patterns; /* array of prefixes by pattern suffix hash order */
/PHP_5_6/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);
1940 ZEND_ARG_INFO(0, suffix)

Completed in 41 milliseconds