Home
last modified time | relevance | path

Searched refs:mode (Results 51 – 75 of 707) sorted by relevance

12345678910>>...29

/PHP-5.3/ext/standard/tests/file/
H A Dftruncate_variation1.phpt75 -- Testing ftruncate() with file opening using r mode --
83 -- Testing ftruncate() with file opening using rb mode --
91 -- Testing ftruncate() with file opening using rt mode --
99 -- Testing ftruncate() with file opening using r+ mode --
123 -- Testing ftruncate() with file opening using w mode --
131 -- Testing ftruncate() with file opening using wb mode --
139 -- Testing ftruncate() with file opening using wt mode --
147 -- Testing ftruncate() with file opening using w+ mode --
171 -- Testing ftruncate() with file opening using x mode --
219 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation1-win32.phpt75 -- Testing ftruncate() with file opening using r mode --
83 -- Testing ftruncate() with file opening using rb mode --
91 -- Testing ftruncate() with file opening using rt mode --
99 -- Testing ftruncate() with file opening using r+ mode --
123 -- Testing ftruncate() with file opening using w mode --
131 -- Testing ftruncate() with file opening using wb mode --
139 -- Testing ftruncate() with file opening using wt mode --
147 -- Testing ftruncate() with file opening using w+ mode --
171 -- Testing ftruncate() with file opening using x mode --
219 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dfgetcsv_variation21.phpt40 // close the file if the mode to be used is read mode and re-open using read mode
65 } //end of mode loop
72 -- Testing fgetcsv() with file opened using r mode --
80 -- Testing fgetcsv() with file opened using rb mode --
88 -- Testing fgetcsv() with file opened using rt mode --
96 -- Testing fgetcsv() with file opened using r+ mode --
104 -- Testing fgetcsv() with file opened using r+b mode --
112 -- Testing fgetcsv() with file opened using r+t mode --
120 -- Testing fgetcsv() with file opened using a+ mode --
144 -- Testing fgetcsv() with file opened using w+ mode --
[all …]
H A Dfgetcsv_variation6.phpt63 // close the file if the mode to be used is read mode and re-open using read mode
93 } //end of mode loop
101 -- Testing fgetcsv() with file opened using r mode --
117 -- Testing fgetcsv() with file opened using rb mode --
133 -- Testing fgetcsv() with file opened using rt mode --
149 -- Testing fgetcsv() with file opened using r+ mode --
197 -- Testing fgetcsv() with file opened using a+ mode --
245 -- Testing fgetcsv() with file opened using w+ mode --
293 -- Testing fgetcsv() with file opened using x+ mode --
341 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfflush_variation4.phpt2 Test fflush() function: usage variations - file opened in read-only mode
9 /* test fflush() with handle to a file opened in read-only mode as resource */
21 foreach( $file_modes as $mode ) {
22 echo "-- Iteration $count with file opened in $mode mode --\n";
31 $file_handle = fopen($file_name, $mode);
45 -- Iteration 1 with file opened in r mode --
47 -- Iteration 2 with file opened in rb mode --
49 -- Iteration 3 with file opened in rt mode --
H A Dfgetcsv_variation17.phpt57 // 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 r mode --
112 -- Testing fgetcsv() with file opened using rb mode --
128 -- Testing fgetcsv() with file opened using rt mode --
144 -- Testing fgetcsv() with file opened using r+ mode --
192 -- Testing fgetcsv() with file opened using a+ mode --
240 -- Testing fgetcsv() with file opened using w+ mode --
288 -- Testing fgetcsv() with file opened using x+ mode --
336 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation19.phpt58 // close the file if the mode to be used is read mode and re-open using read mode
84 } //end of mode loop
92 -- Testing fgetcsv() with file opened using r mode --
102 -- Testing fgetcsv() with file opened using rb mode --
112 -- Testing fgetcsv() with file opened using rt mode --
122 -- Testing fgetcsv() with file opened using r+ mode --
152 -- Testing fgetcsv() with file opened using a+ mode --
182 -- Testing fgetcsv() with file opened using w+ mode --
212 -- Testing fgetcsv() with file opened using x+ mode --
242 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dftruncate_variation2-win32.phpt76 -- Testing ftruncate() with file opening using r mode --
84 -- Testing ftruncate() with file opening using rb mode --
92 -- Testing ftruncate() with file opening using rt mode --
100 -- Testing ftruncate() with file opening using r+ mode --
124 -- Testing ftruncate() with file opening using w mode --
132 -- Testing ftruncate() with file opening using wb mode --
140 -- Testing ftruncate() with file opening using wt mode --
148 -- Testing ftruncate() with file opening using w+ mode --
172 -- Testing ftruncate() with file opening using x mode --
220 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation2.phpt76 -- Testing ftruncate() with file opening using r mode --
84 -- Testing ftruncate() with file opening using rb mode --
92 -- Testing ftruncate() with file opening using rt mode --
100 -- Testing ftruncate() with file opening using r+ mode --
124 -- Testing ftruncate() with file opening using w mode --
132 -- Testing ftruncate() with file opening using wb mode --
140 -- Testing ftruncate() with file opening using wt mode --
148 -- Testing ftruncate() with file opening using w+ mode --
172 -- Testing ftruncate() with file opening using x mode --
220 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation4-win32.phpt76 -- Testing ftruncate() with file opening using r mode --
84 -- Testing ftruncate() with file opening using rb mode --
92 -- Testing ftruncate() with file opening using rt mode --
100 -- Testing ftruncate() with file opening using r+ mode --
124 -- Testing ftruncate() with file opening using w mode --
132 -- Testing ftruncate() with file opening using wb mode --
140 -- Testing ftruncate() with file opening using wt mode --
148 -- Testing ftruncate() with file opening using w+ mode --
172 -- Testing ftruncate() with file opening using x mode --
220 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation4.phpt76 -- Testing ftruncate() with file opening using r mode --
84 -- Testing ftruncate() with file opening using rb mode --
92 -- Testing ftruncate() with file opening using rt mode --
100 -- Testing ftruncate() with file opening using r+ mode --
124 -- Testing ftruncate() with file opening using w mode --
132 -- Testing ftruncate() with file opening using wb mode --
140 -- Testing ftruncate() with file opening using wt mode --
148 -- Testing ftruncate() with file opening using w+ mode --
172 -- Testing ftruncate() with file opening using x mode --
220 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation7-win32.phpt77 -- Testing ftruncate() with file opening using r mode --
85 -- Testing ftruncate() with file opening using rb mode --
93 -- Testing ftruncate() with file opening using rt mode --
101 -- Testing ftruncate() with file opening using r+ mode --
125 -- Testing ftruncate() with file opening using w mode --
133 -- Testing ftruncate() with file opening using wb mode --
141 -- Testing ftruncate() with file opening using wt mode --
149 -- Testing ftruncate() with file opening using w+ mode --
173 -- Testing ftruncate() with file opening using x mode --
221 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation7.phpt77 -- Testing ftruncate() with file opening using r mode --
85 -- Testing ftruncate() with file opening using rb mode --
93 -- Testing ftruncate() with file opening using rt mode --
101 -- Testing ftruncate() with file opening using r+ mode --
125 -- Testing ftruncate() with file opening using w mode --
133 -- Testing ftruncate() with file opening using wb mode --
141 -- Testing ftruncate() with file opening using wt mode --
149 -- Testing ftruncate() with file opening using w+ mode --
173 -- Testing ftruncate() with file opening using x mode --
221 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dfgetcsv_variation14.phpt38 // close the file if the mode to be used is read mode and re-open using read mode
68 } //end of mode loop
75 -- Testing fgetcsv() with file opened using r mode --
86 -- Testing fgetcsv() with file opened using rb mode --
97 -- Testing fgetcsv() with file opened using rt mode --
108 -- Testing fgetcsv() with file opened using r+ mode --
119 -- Testing fgetcsv() with file opened using r+b mode --
130 -- Testing fgetcsv() with file opened using r+t mode --
141 -- Testing fgetcsv() with file opened using a+ mode --
174 -- Testing fgetcsv() with file opened using w+ mode --
[all …]
H A Dftruncate_variation3-win32.phpt75 -- Testing ftruncate() with file opening using r mode --
83 -- Testing ftruncate() with file opening using rb mode --
91 -- Testing ftruncate() with file opening using rt mode --
99 -- Testing ftruncate() with file opening using r+ mode --
123 -- Testing ftruncate() with file opening using w mode --
131 -- Testing ftruncate() with file opening using wb mode --
139 -- Testing ftruncate() with file opening using wt mode --
147 -- Testing ftruncate() with file opening using w+ mode --
171 -- Testing ftruncate() with file opening using x mode --
219 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation3.phpt75 -- Testing ftruncate() with file opening using r mode --
83 -- Testing ftruncate() with file opening using rb mode --
91 -- Testing ftruncate() with file opening using rt mode --
99 -- Testing ftruncate() with file opening using r+ mode --
123 -- Testing ftruncate() with file opening using w mode --
131 -- Testing ftruncate() with file opening using wb mode --
139 -- Testing ftruncate() with file opening using wt mode --
147 -- Testing ftruncate() with file opening using w+ mode --
171 -- Testing ftruncate() with file opening using x mode --
219 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation5-win32.phpt77 -- Testing ftruncate() with file opening using r mode --
85 -- Testing ftruncate() with file opening using rb mode --
93 -- Testing ftruncate() with file opening using rt mode --
101 -- Testing ftruncate() with file opening using r+ mode --
125 -- Testing ftruncate() with file opening using w mode --
133 -- Testing ftruncate() with file opening using wb mode --
141 -- Testing ftruncate() with file opening using wt mode --
149 -- Testing ftruncate() with file opening using w+ mode --
173 -- Testing ftruncate() with file opening using x mode --
221 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dftruncate_variation5.phpt77 -- Testing ftruncate() with file opening using r mode --
85 -- Testing ftruncate() with file opening using rb mode --
93 -- Testing ftruncate() with file opening using rt mode --
101 -- Testing ftruncate() with file opening using r+ mode --
125 -- Testing ftruncate() with file opening using w mode --
133 -- Testing ftruncate() with file opening using wb mode --
141 -- Testing ftruncate() with file opening using wt mode --
149 -- Testing ftruncate() with file opening using w+ mode --
173 -- Testing ftruncate() with file opening using x mode --
221 -- Testing ftruncate() with file opening using a mode --
[all …]
H A Dfopen_variation5.phpt45 foreach($modes as $mode) {
46 test_fopen($mode);
61 function test_fopen($mode) {
69 echo "\n** testing with mode=$mode **\n";
71 $h = fopen($filename, $mode, true);
82 $h = fopen($filename, $mode, true);
93 $h = fopen($filename, $mode, true);
102 $h = fopen($filename, $mode, true);
130 ** testing with mode=r **
137 ** testing with mode=r+ **
[all …]
/PHP-5.3/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation1.phpt36 ["mode"]=>
56 ["mode"]=>
76 ["mode"]=>
96 ["mode"]=>
116 ["mode"]=>
136 ["mode"]=>
156 ["mode"]=>
176 ["mode"]=>
196 ["mode"]=>
216 ["mode"]=>
[all …]
/PHP-5.3/ext/zlib/tests/
H A Dgzopen_variation9.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
23 foreach ($modes as $mode) {
24 echo "mode=$mode\n";
25 $h = gzopen($file, $mode);
37 mode=r+
42 mode=rf
45 mode=w+
50 mode=e
/PHP-5.3/ext/bz2/
H A Dphp_bz2.h50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, in…
51 PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, char *mode, php_stream *innerst…
53 #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz),… argument
54 …efine php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper),… argument
/PHP-5.3/ext/dba/
H A Ddba_db4.c85 info->mode = DBA_TRUNC; /* force truncate */
88 type = info->mode == DBA_READER ? DB_UNKNOWN :
89 info->mode == DBA_TRUNC ? DB_BTREE :
92 gmode = info->mode == DBA_READER ? DB_RDONLY :
94 (info->mode == DBA_CREAT && !s) ? 0 :
95 info->mode == DBA_WRITER ? 0 :
99 info->mode = DBA_CREAT; /* force creation */
103 (info->mode == DBA_TRUNC || info->mode == DBA_CREAT) ? DB_BTREE :
107 info->mode == DBA_CREAT ? DB_CREATE :
108 info->mode == DBA_WRITER ? 0 :
[all …]
/PHP-5.3/ext/spl/internal/
H A Dsplstack.inc25 /** Changes the iteration mode. There are two orthogonal sets of modes that
32 * The default mode is 0 : SplDoublyLnkedList::IT_MODE_LIFO | SplDoublyLnkedList::IT_MODE_KEEP
35 * @param $mode New mode of iteration
36 * @throw RuntimeException If the new mode affects the iteration's direction.
38 public function setIteratorMode($mode)
40 if ($mode & parent::IT_MODE_LIFO !== parent::IT_MODE_LIFO) {
44 $this->_it_mode = $mode;
H A Dregexiterator.inc32 private $mode; /**< operation mode (one of self::MATCH,
46 * @param mode operation mode (one of self::MATCH, self::GET_MATCH,
52 function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) {
56 $this->mode = $mode;
61 * Match current or key against regular expression using mode, flags and
75 switch($this->mode)
120 /** @return current operation mode
124 return $this->mode;
127 /** @param mode new operaion mode
129 function setMode($mode)
[all …]

Completed in 74 milliseconds

12345678910>>...29