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

/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";
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c981 /* {{{ proto string SplFileInfo::getBasename([string $suffix])
986 char *fname, *suffix = 0; local
990 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1004 RETURN_STR(php_basename(fname, flen, suffix, slen));
1008 /* {{{ proto string DirectoryIterator::getBasename([string $suffix])
1013 char *suffix = 0; local
1017 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1021 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen);
1902 ZEND_ARG_INFO(0, suffix)
/PHP_TRUNK/Zend/
H A Dzend_ast.c1653 ZEND_API zend_string *zend_ast_export(const char *prefix, zend_ast *ast, const char *suffix) argument
1659 smart_str_appends(&str, suffix);
/PHP_TRUNK/ext/standard/
H A Dstring.c1555 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen) argument
1621 if (suffix != NULL && sufflen < (size_t)(cend - comp) &&
1622 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1633 /* {{{ proto string basename(string path [, string suffix])
1637 char *string, *suffix = NULL; local
1640 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1644 RETURN_STR(php_basename(string, string_len, suffix, suffix_len));

Completed in 20 milliseconds