Home
last modified time | relevance | path

Searched refs:mode (Results 101 – 125 of 778) sorted by relevance

12345678910>>...32

/PHP-5.6/ext/standard/tests/file/
H A Dfseek_ftell_rewind_variation7.phpt67 -- File opened in mode r --
84 -- File opened in mode rb --
101 -- File opened in mode rt --
118 -- File opened in mode r+ --
169 -- File opened in mode a --
186 -- File opened in mode ab --
203 -- File opened in mode at --
220 -- File opened in mode a+ --
273 -- File opened in mode r --
290 -- File opened in mode rb --
[all …]
H A Dfseek_ftell_rewind_variation8-win32.phpt74 -- File opened in mode w --
91 -- File opened in mode wb --
108 -- File opened in mode wt --
125 -- File opened in mode w+ --
176 -- File opened in mode x --
193 -- File opened in mode xb --
210 -- File opened in mode xt --
227 -- File opened in mode x+ --
280 -- File opened in mode w --
297 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation8.phpt74 -- File opened in mode w --
91 -- File opened in mode wb --
108 -- File opened in mode wt --
125 -- File opened in mode w+ --
176 -- File opened in mode x --
193 -- File opened in mode xb --
210 -- File opened in mode xt --
227 -- File opened in mode x+ --
280 -- File opened in mode w --
297 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation1.phpt66 -- File opened in mode r --
81 -- File opened in mode rb --
96 -- File opened in mode rt --
111 -- File opened in mode r+ --
156 -- File opened in mode a --
171 -- File opened in mode ab --
186 -- File opened in mode at --
201 -- File opened in mode a+ --
248 -- File opened in mode r --
263 -- File opened in mode rb --
[all …]
H A Dfseek_ftell_rewind_variation3.phpt68 -- File opened in mode r --
85 -- File opened in mode rb --
102 -- File opened in mode rt --
119 -- File opened in mode r+ --
170 -- File opened in mode a --
187 -- File opened in mode ab --
204 -- File opened in mode at --
221 -- File opened in mode a+ --
274 -- File opened in mode r --
291 -- File opened in mode rb --
[all …]
H A Dfseek_ftell_rewind_variation4-win32.phpt73 -- File opened in mode w --
90 -- File opened in mode wb --
107 -- File opened in mode wt --
124 -- File opened in mode w+ --
175 -- File opened in mode x --
192 -- File opened in mode xb --
209 -- File opened in mode xt --
226 -- File opened in mode x+ --
279 -- File opened in mode w --
296 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation6-win32.phpt73 -- File opened in mode w --
90 -- File opened in mode wb --
107 -- File opened in mode wt --
124 -- File opened in mode w+ --
175 -- File opened in mode x --
192 -- File opened in mode xb --
209 -- File opened in mode xt --
226 -- File opened in mode x+ --
279 -- File opened in mode w --
296 -- File opened in mode wb --
[all …]
H A Dftruncate_variation6.phpt81 -- Testing ftruncate() with file opening using r mode --
88 -- Testing ftruncate() with file opening using rb mode --
95 -- Testing ftruncate() with file opening using rt mode --
102 -- Testing ftruncate() with file opening using r+ mode --
126 -- Testing ftruncate() with file opening using w mode --
134 -- Testing ftruncate() with file opening using wb mode --
142 -- Testing ftruncate() with file opening using wt mode --
150 -- Testing ftruncate() with file opening using w+ mode --
174 -- Testing ftruncate() with file opening using x mode --
222 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation6-win32.phpt81 -- Testing ftruncate() with file opening using r mode --
88 -- Testing ftruncate() with file opening using rb mode --
95 -- Testing ftruncate() with file opening using rt mode --
102 -- Testing ftruncate() with file opening using r+ mode --
126 -- Testing ftruncate() with file opening using w mode --
134 -- Testing ftruncate() with file opening using wb mode --
142 -- Testing ftruncate() with file opening using wt mode --
150 -- Testing ftruncate() with file opening using w+ mode --
174 -- Testing ftruncate() with file opening using x mode --
222 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dfseek_ftell_rewind_variation2-win32.phpt75 -- File opened in mode w --
90 -- File opened in mode wb --
105 -- File opened in mode wt --
120 -- File opened in mode w+ --
165 -- File opened in mode x --
180 -- File opened in mode xb --
195 -- File opened in mode xt --
210 -- File opened in mode x+ --
257 -- File opened in mode w --
272 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation2.phpt75 -- File opened in mode w --
90 -- File opened in mode wb --
105 -- File opened in mode wt --
120 -- File opened in mode w+ --
165 -- File opened in mode x --
180 -- File opened in mode xb --
195 -- File opened in mode xt --
210 -- File opened in mode x+ --
257 -- File opened in mode w --
272 -- File opened in mode wb --
[all …]
H A D007_variation11.phpt2 Test fopen and fclose() functions - usage variations - "wt" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "wt" mode,
25 checking for the file truncation when trying to open an existing file in "wt" mode,
35 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n";
36 $file_handle = fopen($file, "wt"); //opening the file "wt" mode
48 …; //Check for size of existing data file before opening the file in "wt" mode again, expected: si…
50 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode
51 …); //Check for size of existing data file after opening the file in "wt" mode again, expected: 0 …
55 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created
[all …]
H A D007_variation12-win32.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
25 checking for the file truncation when trying to open an existing file in "w+t" mode,
35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
48 … //Check for size of existing data file before opening the file in "w+t" mode again, expected: si…
50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
51 …; //Check for size of existing data file after opening the file in "w+t" mode again, expected: 0 …
55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation12.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
25 checking for the file truncation when trying to open an existing file in "w+t" mode,
35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
48 … //Check for size of existing data file before opening the file in "w+t" mode again, expected: si…
50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
51 …; //Check for size of existing data file after opening the file in "w+t" mode again, expected: 0 …
55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation20.phpt2 Test fopen and fclose() functions - usage variations - "w+b" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "w+b" mode,
20 checking for the file truncation when trying to open an existing file in "w+b" mode,
30 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n";
31 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode
43 … //Check for size of existing data file before opening the file in "w+b" mode again, expected: si…
45 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode
46 …; //Check for size of existing data file after opening the file in "w+b" mode again, expected: 0 …
50 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created
[all …]
/PHP-5.6/ext/standard/tests/array/
H A Dcount_variation3.phpt5 /* Prototype : int count(mixed $var [, int $mode])
21 echo "\n-- \$mode not set: --\n";
24 echo "\n-- \$mode = 1: --\n";
32 -- $mode not set: --
35 -- $mode = 1: --
/PHP-5.6/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
/PHP-5.6/ext/dba/
H A Ddba_db2.c57 info->mode = DBA_TRUNC; /* force truncate */ in DBA_OPEN_FUNC()
60 type = info->mode == DBA_READER ? DB_UNKNOWN : in DBA_OPEN_FUNC()
61 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
64 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC()
65 (info->mode == DBA_CREAT && s) ? DB_CREATE : in DBA_OPEN_FUNC()
66 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
67 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
68 info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; in DBA_OPEN_FUNC()
123 mode == 1 ? DB_NOOVERWRITE : 0)) { in DBA_UPDATE_FUNC()
/PHP-5.6/ext/pcre/pcrelib/testdata/
H A Dtestoutput21-162 right away, and can be any old pattern compiled in 8-bit mode ("abc" is
9 Running in 16-bit mode but pattern was compiled in 8-bit mode
16 In 16-bit mode with options: S>testdata/saved16LE-1
18 In 32-bit mode with options: S>testdata/saved32LE-1
92 Running in 16-bit mode but pattern was compiled in 32-bit mode
98 Running in 16-bit mode but pattern was compiled in 32-bit mode
H A Dtestoutput21-322 right away, and can be any old pattern compiled in 8-bit mode ("abc" is
9 Running in 32-bit mode but pattern was compiled in 8-bit mode
16 In 16-bit mode with options: S>testdata/saved16LE-1
18 In 32-bit mode with options: S>testdata/saved32LE-1
26 Running in 32-bit mode but pattern was compiled in 16-bit mode
32 Running in 32-bit mode but pattern was compiled in 16-bit mode
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_mysqli_result_invalid_mode.phpt2 mysqli_result(), invalid mode
16 $mode = mt_rand(-1000, 1000);
17 } while (in_array($mode, $valid));
19 if (!is_object($res = new mysqli_result($link, $mode)))
/PHP-5.6/ext/ftp/
H A Dphp_ftp.c103 ZEND_ARG_INFO(0, mode)
132 ZEND_ARG_INFO(0, mode)
140 ZEND_ARG_INFO(0, mode)
333 if (mode != FTPTYPE_ASCII && mode != FTPTYPE_IMAGE) { \
611 long mode; in PHP_FUNCTION() local
624 RETURN_LONG(mode); in PHP_FUNCTION()
755 XTYPE(xtype, mode); in PHP_FUNCTION()
799 XTYPE(xtype, mode); in PHP_FUNCTION()
868 XTYPE(xtype, mode); in PHP_FUNCTION()
931 XTYPE(xtype, mode); in PHP_FUNCTION()
[all …]
/PHP-5.6/ext/spl/internal/
H A Dsplqueue.inc29 /** Changes the iteration mode. There are two orthogonal sets of modes that
36 * The default mode is 0 : SplDoublyLnkedList::IT_MODE_LIFO | SplDoublyLnkedList::IT_MODE_KEEP
39 * @param $mode New mode of iteration
40 * @throw RuntimeException If the new mode affects the iteration's direction.
42 public function setIteratorMode($mode)
44 if ($mode & parent::IT_MODE_LIFO === parent::IT_MODE_LIFO) {
48 $this->_it_mode = $mode;
/PHP-5.6/main/streams/
H A Dplain_wrapper.c49 #define php_stream_fopen_from_file_int(file, mode) _php_stream_fopen_from_file_int((file), (mode) S… argument
62 switch (mode[0]) { in php_stream_parse_fopen_modes()
83 if (strchr(mode, '+')) { in php_stream_parse_fopen_modes()
92 if (strchr(mode, 'n')) { in php_stream_parse_fopen_modes()
98 if (strchr(mode, 't')) { in php_stream_parse_fopen_modes()
673 switch (range->mode) { in php_stdiop_set_option()
724 switch (range->mode) { in php_stdiop_set_option()
1185 ret = php_mkdir(dir, mode TSRMLS_CC); in php_plain_files_mkdir()
1296 mode_t mode; in php_plain_files_metadata() local
1358 mode = (mode_t)*(long *)value; in php_plain_files_metadata()
[all …]
/PHP-5.6/ext/mcrypt/tests/
H A Dmcrypt_cbc_variation5.phpt11 /* Prototype : string mcrypt_cbc(string cipher, string key, string data, int mode, string iv)
32 $mode = MCRYPT_ENCRYPT;
116 var_dump( bin2hex(mcrypt_cbc($cipher, $key, $data, $mode, $value)) );
128 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
133 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
138 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
143 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
148 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
153 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
158 … Received initialization vector of size %d, but size 8 is required for this encryption mode, %s(%d)
[all …]

Completed in 188 milliseconds

12345678910>>...32