Home
last modified time | relevance | path

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

12

/PHP-7.4/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.phpt14 * proto string basename(string path [, string suffix])
31 /* paths with suffix removal */
38 /* paths with suffix and trailing slashes with suffix removal*/
45 /* paths with basename only suffix, with suffix removal*/
50 /* paths with basename only suffix & trailing slashes, with suffix removal*/
57 /* paths with shortcut home dir char, with suffix variation */
82 /* paths and suffix given as same */
104 if( 1 == count($path) ) { // no suffix provided
106 } else { // path as well as suffix provided,
115 echo "\n*** Testing possible variations in path and suffix ***\n";
[all …]
H A Dbasename.phpt8 * proto string basename(string path [, string suffix])
25 /* paths with suffix removal */
32 /* paths with suffix and trailing slashes with suffix removal*/
39 /* paths with basename only suffix, with suffix removal*/
44 /* paths with basename only suffix & trailing slashes, with suffix removal*/
60 /* paths with shortcut home dir char, with suffix variation */
73 /* paths with hostname:dir notation, with suffix variation */
103 /* paths and suffix given as same */
125 if( 1 == count($path) ) { // no suffix provided
127 } else { // path as well as suffix provided,
[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-7.4/ext/standard/tests/strings/
H A Dbasename_basic.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
8 If the filename ends in suffix this will also be cut off.
24 /* 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*/
62 if( 1 == count($path) ) { // no suffix provided
64 } else { // path as well as suffix provided,
H A Dbasename_variation.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
8 If the filename ends in suffix this will also be cut off.
11 /* paths with shortcut home dir char, with suffix variation */
24 /* paths with hostname:dir notation, with suffix variation */
54 /* paths and suffix given as same */
76 if( 1 == count($path) ) { // no suffix provided
78 } else { // path as well as suffix provided,
84 echo "*** Testing possible variations in path and suffix ***\n";
89 *** 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
H A Dbasename_invalid_path.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
13 If the filename ends in suffix this will also be cut off.
H A Dbasename_invalid_path_win.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
13 If the filename ends in suffix this will also be cut off.
/PHP-7.4/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-7.4/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-7.4/ext/date/tests/
H A Dgmdate_variation4.phpt25 echo "\n-- Testing gmdate() function with English ordinal suffix --\n";
42 -- Testing gmdate() function with English ordinal suffix --
H A Dbug35414.phpt2 Bug #35414 (strtotime() no longer works with ordinal suffix)
/PHP-7.4/ext/phar/tests/zip/
H A Dbug48791.phpt13suffix="." text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mo…
/PHP-7.4/Zend/
H A Dzend_ast.h212 # define ZEND_AST_SPEC_CALL_(name, _, _4, _3, _2, _1, suffix, ...) \ argument
213 name ## suffix
216 # define ZEND_AST_SPEC_CALL_EX_(name, _, _5, _4, _3, _2, _1, suffix, ...) \ argument
217 name ## suffix
276 ZEND_API zend_string *zend_ast_export(const char *prefix, zend_ast *ast, const char *suffix);
/PHP-7.4/sapi/fpm/fpm/
H A Dzlog.c614 struct zlog_stream *stream, const char *suffix, const char *final_suffix) /* {{{ */ in zlog_stream_set_msg_suffix() argument
621 if (suffix != NULL && final_suffix != NULL) { in zlog_stream_set_msg_suffix()
622 stream->msg_suffix_len = strlen(suffix); in zlog_stream_set_msg_suffix()
633 memcpy(stream->msg_suffix, suffix, stream->msg_suffix_len + 1); in zlog_stream_set_msg_suffix()
637 if (suffix != NULL) { in zlog_stream_set_msg_suffix()
638 stream->msg_suffix_len = strlen(suffix); in zlog_stream_set_msg_suffix()
647 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);
H A Dfpm_conf.c290 char suffix; in fpm_conf_set_time() local
296 suffix = val[len-1]; in fpm_conf_set_time()
297 switch (suffix) { in fpm_conf_set_time()
312 suffix = '0'; in fpm_conf_set_time()
314 if (suffix < '0' || suffix > '9') { in fpm_conf_set_time()
/PHP-7.4/ext/standard/tests/serialize/
H A Dmax_depth.phpt6 function create_nested_data($depth, $prefix, $suffix, $inner = 'i:0;') {
7 return str_repeat($prefix, $depth) . $inner . str_repeat($suffix, $depth);
/PHP-7.4/sapi/fpm/tests/
H A Dlogtool.inc175 … "The suffix has not been finished from position $this->suffixPosition in line: $line"
232 return $this->error("No final suffix");
235 return $this->error("The final suffix has to be equal to ', pipe is closed'");
240 // complete final suffix printed
/PHP-7.4/ext/snmp/tests/
H A Dsnmp-object.phpt79 echo "WALK multiple on single OID with OID suffix as keys\n";
199 WALK multiple on single OID with OID suffix as keys
/PHP-7.4/ext/standard/
H A Dphp_string.h126 PHPAPI zend_string *php_basename(const char *s, size_t len, char *suffix, size_t sufflen);

Completed in 72 milliseconds

12