Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 47) sorted by relevance

12

/php-src/ext/standard/tests/file/
H A Dbasename_variation2-win32.phpt42 foreach ($suffixes as $suffix) {
43 echo "basename for path $path, supplying suffix $suffix is:\n";
44 var_dump(basename($path, $suffix));
52 basename for path foo, supplying suffix .bar is:
54 basename for path foo, supplying suffix .b is:
56 basename for path foo, supplying suffix . is:
58 basename for path foo, supplying suffix is:
60 basename for path foo, supplying suffix foo is:
68 basename for path foo, supplying suffix / is:
70 basename for path foo, supplying suffix \ is:
[all …]
H A Dbasename_variation2.phpt42 foreach ($suffixes as $suffix) {
43 echo "basename for path $path, supplying suffix $suffix is:\n";
44 var_dump(basename($path, $suffix));
52 basename for path foo, supplying suffix .bar is:
54 basename for path foo, supplying suffix .b is:
56 basename for path foo, supplying suffix . is:
58 basename for path foo, supplying suffix is:
60 basename for path foo, supplying suffix foo is:
68 basename for path foo, supplying suffix / is:
70 basename for path foo, supplying suffix \ is:
[all …]
H A Dbasename-win32.phpt30 /* paths with suffix removal */
37 /* paths with suffix and trailing slashes with suffix removal*/
44 /* paths with basename only suffix, with suffix removal*/
49 /* paths with basename only suffix & trailing slashes, with suffix removal*/
56 /* paths with shortcut home dir char, with suffix variation */
79 /* paths and suffix given as same */
99 if( 1 == count($path) ) { // no suffix provided
101 } else { // path as well as suffix provided,
110 echo "\n*** Testing possible variations in path and suffix ***\n";
193 *** Testing possible variations in path and suffix ***
H A Dbasename.phpt24 /* paths with suffix removal */
31 /* paths with suffix and trailing slashes with suffix removal*/
38 /* paths with basename only suffix, with suffix removal*/
43 /* paths with basename only suffix & trailing slashes, with suffix removal*/
59 /* paths with shortcut home dir char, with suffix variation */
70 /* paths with hostname:dir notation, with suffix variation */
99 /* paths and suffix given as same */
119 if( 1 == count($path) ) { // no suffix provided
121 } else { // path as well as suffix provided,
130 echo "\n*** Testing possible variations in path and suffix ***\n";
[all …]
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 up to count
456 $name_suffix = first numeric suffix in the name
499 $link_name_suffix = first numeric suffix in the name
/php-src/ext/standard/tests/strings/
H A Dbasename_basic.phpt19 /* paths with suffix removal */
26 /* paths with suffix and trailing slashes with suffix removal*/
33 /* paths with basename only suffix, with suffix removal*/
38 /* paths with basename only suffix & trailing slashes, with suffix removal*/
57 if( 1 == count($path) ) { // no suffix provided
59 } else { // path as well as suffix provided,
H A Dbasename_variation.phpt6 /* paths with shortcut home dir char, with suffix variation */
17 /* paths with hostname:dir notation, with suffix variation */
46 /* paths and suffix given as same */
66 if( 1 == count($path) ) { // no suffix provided
68 } else { // path as well as suffix provided,
74 echo "*** Testing possible variations in path and suffix ***\n";
80 *** Testing possible variations in path and suffix ***
H A Dbasename.phpt15 // suffix removal checks
20 // suffix removal checks with trailing slashes
25 // suffix removal checks
/php-src/Zend/tests/attributes/deprecated/class_constants/
H A Ddeprecated_constant_as_message_003.phpt10 #[\Deprecated("suffix")]
11 public const SUFFIX = "suffix";
22 Deprecated: Constant Clazz::SUFFIX is deprecated, suffix in %s on line %d
/php-src/ext/standard/tests/http/
H A Dgh11274.phpt30 $suffix = $status ? "?desired_status=$status" : "";
31 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test$suffix", false, stream_context_…
32 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test$suffix", false, stream_context_…
33 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test/$suffix", false, stream_context…
34 …echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "/test/$suffix", false, stream_context…
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakSponge.h67 …capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *ou…
142 …capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *ou…
H A DKeccakSponge.inc34 …capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *ou…
46 if (suffix == 0)
80 /* Finally, absorb the suffix */
84 delimitedData1[0] = suffix;
89 SnP_AddByte(state, suffix, partialBlock);
91 if ((suffix >= 0x80) && (partialBlock == (rateInBytes-1)))
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakSponge.h67 …capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *ou…
142 …capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *ou…
H A DKeccakSponge.inc34 …capacity, const unsigned char *input, size_t inputByteLen, unsigned char suffix, unsigned char *ou…
46 if (suffix == 0)
80 /* Finally, absorb the suffix */
84 delimitedData1[0] = suffix;
89 SnP_AddByte(state, suffix, partialBlock);
91 if ((suffix >= 0x80) && (partialBlock == (rateInBytes-1)))
/php-src/ext/spl/tests/
H A DSplFileinfo_getBasename_basic.phpt5 // without $suffix
12 // with $suffix
H A DSplFileinfo_debugInfo_basic.phpt5 // without $suffix
12 // with $suffix
/php-src/ext/date/tests/
H A Dgmdate_variation4.phpt19 echo "\n-- Testing gmdate() function with English ordinal suffix --\n";
35 -- Testing gmdate() function with English ordinal suffix --
H A Dbug35414.phpt2 Bug #35414 (strtotime() no longer works with ordinal suffix)
/php-src/ext/phar/tests/zip/
H A Dbug48791.phpt12suffix="." text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mo…
/php-src/Zend/
H A Dzend_ast.h236 # define ZEND_AST_SPEC_CALL_(name, _, _6, _5, _4, _3, _2, _1, suffix, ...) \ argument
237 name ## suffix
240 # define ZEND_AST_SPEC_CALL_EX_(name, _, _7, _6, _5, _4, _3, _2, _1, suffix, ...) \ argument
241 name ## suffix
316 ZEND_API zend_string *zend_ast_export(const char *prefix, zend_ast *ast, const char *suffix);
/php-src/sapi/fpm/fpm/
H A Dzlog.c615 struct zlog_stream *stream, const char *suffix, const char *final_suffix) /* {{{ */ in zlog_stream_set_msg_suffix() argument
622 if (suffix != NULL && final_suffix != NULL) { in zlog_stream_set_msg_suffix()
623 stream->msg_suffix_len = strlen(suffix); in zlog_stream_set_msg_suffix()
634 memcpy(stream->msg_suffix, suffix, stream->msg_suffix_len + 1); in zlog_stream_set_msg_suffix()
638 if (suffix != NULL) { in zlog_stream_set_msg_suffix()
639 stream->msg_suffix_len = strlen(suffix); in zlog_stream_set_msg_suffix()
648 memcpy(stream->msg_suffix, suffix, len); in zlog_stream_set_msg_suffix()
H A Dzlog.h103 struct zlog_stream *stream, const char *suffix, const char *final_suffix);
/php-src/ext/spl/
H A Dspl_directory.stub.php20 public function getBasename(string $suffix = ""): string {} argument
115 public function getBasename(string $suffix = ""): string {} argument
/php-src/ext/standard/
H A Dphp_string.h43 PHPAPI zend_string *php_basename(const char *s, size_t len, const char *suffix, size_t sufflen);
/php-src/ext/standard/tests/serialize/
H A Dmax_depth.phpt10 function create_nested_data($depth, $prefix, $suffix, $inner = 'i:0;') {
11 return str_repeat($prefix, $depth) . $inner . str_repeat($suffix, $depth);

Completed in 43 milliseconds

12