Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-5.3/ext/standard/tests/file/
H A Dfseek_ftell_rewind_variation6.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_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 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.3/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.3/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
/PHP-5.3/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.3/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.3/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.3/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.3/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.3/ext/bz2/tests/
H A D002.phpt2 bzopen() using fd opened in wrong mode
81 Warning: bzopen(): cannot read from a stream opened in write only mode in %s on line %d
96 Warning: bzopen(): cannot write to a stream opened in read only mode in %s on line %d
102 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d
105 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d
108 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d
111 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d
114 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d
117 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d
120 Warning: bzopen(): cannot use stream opened in mode 'w+' in %s on line %d
[all …]
/PHP-5.3/main/streams/
H A Dphp_stream_mmap.h54 php_stream_mmap_access_t mode; member
70 …stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len…
71 …am_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset),… argument
/PHP-5.3/ext/mysqli/
H A Dmysqli_report.h48 #define MYSQLI_PROFILER_STARTTIME(ptr) if (MyG(profiler.mode)) gettimeofday(&ptr.starttime, NULL)
49 #define MYSQLI_PROFILER_ENDTIME(ptr) if (MyG(profiler.mode)) gettimeofday(&ptr.endtime, NULL)
50 #define MYSQLI_PROFILER_REPORT(_type, _time, ptr) if (MyG(profiler.mode)) php_mysqli_profiler_repor…

Completed in 50 milliseconds

12345678910>>...29