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

/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/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)
/PHP_TRUNK/ext/standard/
H A Dstring.c1405 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen TSRMLS_DC) 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() TSRMLS_CC, "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1494 RETURN_STR(php_basename(string, string_len, suffix, suffix_len TSRMLS_CC));

Completed in 18 milliseconds