Searched refs:suffix (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc159 $name_suffix = suffix to end the common name given in name_prefix to create
204 $name_prefix = prefix to be used for names, name is suffix with a
206 $name_suffix = suffix to be used for the name, default = 1
247 //ensure that suffix is a +ve integer
326 $link_name_prefix = prefix to be used for names, name is suffix with a
328 $link_name_suffix = suffix to be used for the name, default = 1
454 numeric starting from suffix up to count
456 $name_suffix = first numeric suffix in the name
499 $link_name_suffix = first numeric suffix in the name
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c977 /* {{{ proto string SplFileInfo::getBasename([string $suffix]) U
982 char *fname, *suffix = 0; local
986 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1000 RETURN_STR(php_basename(fname, flen, suffix, slen));
1004 /* {{{ proto string DirectoryIterator::getBasename([string $suffix]) U
1009 char *suffix = 0; local
1013 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1017 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen);
1911 ZEND_ARG_INFO(0, suffix)
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c2197 ZEND_ARG_INFO(0, suffix)
H A Dphp_string.h128 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen);
H A Dstring.c1405 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen) argument
1471 if (suffix != NULL && sufflen < (size_t)(cend - comp) &&
1472 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1483 /* {{{ proto string basename(string path [, string suffix])
1487 char *string, *suffix = NULL; local
1490 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1494 RETURN_STR(php_basename(string, string_len, suffix, suffix_len));
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.c288 char suffix; local
294 suffix = val[len-1];
295 switch (suffix) {
308 case 's' : /* s is the default suffix */
310 suffix = '0';
312 if (suffix < '0' || suffix > '9') {
313 return "unknown suffix used in time value";

Completed in 25 milliseconds