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.c982 /* {{{ proto string SplFileInfo::getBasename([string $suffix])
987 char *fname, *suffix = 0; local
991 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1005 RETURN_STR(php_basename(fname, flen, suffix, slen));
1009 /* {{{ proto string DirectoryIterator::getBasename([string $suffix])
1014 char *suffix = 0; local
1018 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1022 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen);
1903 ZEND_ARG_INFO(0, suffix)
/PHP_TRUNK/ext/standard/
H A Dstring.c1550 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen) argument
1616 if (suffix != NULL && sufflen < (size_t)(cend - comp) &&
1617 memcmp(cend - sufflen, suffix, sufflen) == 0) {
1628 /* {{{ proto string basename(string path [, string suffix])
1632 char *string, *suffix = NULL; local
1635 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &string, &string_len, &suffix, &suffix_len) == FAILURE) {
1639 RETURN_STR(php_basename(string, string_len, suffix, suffix_len));
/PHP_TRUNK/Zend/
H A Dzend_ast.c1649 ZEND_API zend_string *zend_ast_export(const char *prefix, zend_ast *ast, const char *suffix) argument
1655 smart_str_appends(&str, suffix);

Completed in 20 milliseconds