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 upto count
456 $name_suffix = first numeric suffix in the name
499 $link_name_suffix = first numeric suffix in the name
/PHP_TRUNK/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_TRUNK/ext/standard/
H A Dphp_string.h128 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen TSRMLS_DC);
H A Dstring.c1402 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen TSRMLS_DC) argument
1468 if (suffix != NULL && sufflen < (size_t)(cend - comp) &&
1469 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1480 /* {{{ proto string basename(string path [, string suffix])
1484 char *string, *suffix = NULL; local
1487 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1491 RETURN_STR(php_basename(string, string_len, suffix, suffix_len TSRMLS_CC));
H A Dbasic_functions.c2200 ZEND_ARG_INFO(0, suffix)
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c975 /* {{{ proto string SplFileInfo::getBasename([string $suffix]) U
980 char *fname, *suffix = 0; local
984 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
998 RETURN_STR(php_basename(fname, flen, suffix, slen TSRMLS_CC));
1002 /* {{{ proto string DirectoryIterator::getBasename([string $suffix]) U
1007 char *suffix = 0; local
1011 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1015 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen TSRMLS_CC);
1913 ZEND_ARG_INFO(0, suffix)

Completed in 25 milliseconds