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

/PHP_5_6/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_5_6/ext/standard/
H A Dphp_string.h128 PHPAPI void php_basename(const char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, size_t *p_len TSRMLS_DC);
H A Dbasic_functions.c2204 ZEND_ARG_INFO(0, suffix)
H A Dstring.c1420 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
1485 if (suffix != NULL && sufflen < (uint)(cend - comp) &&
1486 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1504 /* {{{ proto string basename(string path [, string suffix])
1508 char *string, *suffix = NULL, *ret; local
1512 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1516 php_basename(string, string_len, suffix, suffix_len, &ret, &ret_len TSRMLS_CC);
2838 HASH *prefix; /* array of hashes of prefixes by pattern suffix hash order */
2839 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);
1939 ZEND_ARG_INFO(0, suffix)
/PHP_5_6/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 30 milliseconds