Home
last modified time | relevance | path

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

12345678910>>...30

/PHP-5.5/ext/standard/tests/file/
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_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 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 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 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 …]
H A Dfgetcsv_variation12.phpt59 // close the file if the mode to be used is read mode and re-open using read mode
86 } //end of mode loop
94 -- Testing fgetcsv() with file opened using r mode --
106 -- Testing fgetcsv() with file opened using rb mode --
118 -- Testing fgetcsv() with file opened using rt mode --
130 -- Testing fgetcsv() with file opened using r+ mode --
166 -- Testing fgetcsv() with file opened using a+ mode --
202 -- Testing fgetcsv() with file opened using r mode --
214 -- Testing fgetcsv() with file opened using rb mode --
226 -- Testing fgetcsv() with file opened using rt mode --
[all …]
H A Dfgetcsv_variation24.phpt61 // close the file if the mode to be used is read mode and re-open using read mode
88 } //end of mode loop
96 -- Testing fgetcsv() with file opened using w+ mode --
108 -- Testing fgetcsv() with file opened using w+b mode --
120 -- Testing fgetcsv() with file opened using w+t mode --
132 -- Testing fgetcsv() with file opened using x+ mode --
144 -- Testing fgetcsv() with file opened using x+b mode --
156 -- Testing fgetcsv() with file opened using x+t mode --
168 -- Testing fgetcsv() with file opened using w+ mode --
204 -- Testing fgetcsv() with file opened using x+ mode --
[all …]
/PHP-5.5/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.5/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
/PHP-5.5/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.5/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()
H A Ddba_db3.c66 info->mode = DBA_TRUNC; /* force truncate */ in DBA_OPEN_FUNC()
69 type = info->mode == DBA_READER ? DB_UNKNOWN : in DBA_OPEN_FUNC()
70 info->mode == DBA_TRUNC ? DB_BTREE : in DBA_OPEN_FUNC()
73 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC()
74 (info->mode == DBA_CREAT && s) ? DB_CREATE : in DBA_OPEN_FUNC()
75 (info->mode == DBA_CREAT && !s) ? 0 : in DBA_OPEN_FUNC()
76 info->mode == DBA_WRITER ? 0 : in DBA_OPEN_FUNC()
77 info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1; in DBA_OPEN_FUNC()
149 mode == 1 ? DB_NOOVERWRITE : 0)) { in DBA_UPDATE_FUNC()
/PHP-5.5/ext/ftp/
H A Dphp_ftp.c103 ZEND_ARG_INFO(0, mode)
132 ZEND_ARG_INFO(0, mode)
140 ZEND_ARG_INFO(0, mode)
332 if (mode != FTPTYPE_ASCII && mode != FTPTYPE_IMAGE) { \
608 long mode; in PHP_FUNCTION() local
621 RETURN_LONG(mode); in PHP_FUNCTION()
752 XTYPE(xtype, mode); in PHP_FUNCTION()
796 XTYPE(xtype, mode); in PHP_FUNCTION()
865 XTYPE(xtype, mode); in PHP_FUNCTION()
928 XTYPE(xtype, mode); in PHP_FUNCTION()
[all …]
/PHP-5.5/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.5/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.5/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()
679 switch (range->mode) { in php_stdiop_set_option()
730 switch (range->mode) { in php_stdiop_set_option()
1179 ret = php_mkdir(dir, mode TSRMLS_CC); in php_plain_files_mkdir()
1290 mode_t mode; in php_plain_files_metadata() local
1352 mode = (mode_t)*(long *)value; in php_plain_files_metadata()
[all …]
/PHP-5.5/ext/standard/tests/http/
H A Dbug43510.phpt2 Bug #43510 (stream_get_meta_data() does not return same mode as used in fopen)
18 foreach(array('r', 'rb') as $mode) {
19 $fd = fopen('http://127.0.0.1:12342/', $mode, false);
21 var_dump($meta['mode']);
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_debug.c522 mode_len = mode? strlen(mode) : 0; in MYSQLND_METHOD()
536 switch (mode[i]) { in MYSQLND_METHOD()
542 if (mode[i] == 'a' || mode[i] == 'A') { in MYSQLND_METHOD()
548 if (i+4 < mode_len && mode[i+3] == ':' && (mode[i+4] == '\\' || mode[i+5] == '/')) { in MYSQLND_METHOD()
553 if (mode[j] == ':') { in MYSQLND_METHOD()
581 if (mode[j] == ':') { in MYSQLND_METHOD()
588 if (mode[j] == ',' || mode[j] == ':') { in MYSQLND_METHOD()
599 if (mode[j] == ':') { in MYSQLND_METHOD()
622 if (mode[i] == ':') { in MYSQLND_METHOD()
647 if (mode[i+1] == ',') { in MYSQLND_METHOD()
[all …]

Completed in 51 milliseconds

12345678910>>...30