Home
last modified time | relevance | path

Searched refs:mode (Results 76 – 100 of 799) sorted by relevance

12345678910>>...32

/php-src/ext/standard/tests/file/
H A Dfopen_variation8.phpt37 foreach($modes as $mode) {
38 test_fopen($mode);
51 function test_fopen($mode) {
59 echo "\n** testing with mode=$mode **\n";
61 $h = fopen($filename, $mode, true);
72 $h = fopen($filename, $mode, true);
83 $h = fopen($filename, $mode, true);
92 $h = fopen($filename, $mode, true);
118 ** testing with mode=r **
125 ** testing with mode=r+ **
[all …]
H A Dfwrite_basic-win32-mb.phpt74 -- File opened in mode : w --
88 -- File opened in mode : wb --
102 -- File opened in mode : wt --
116 -- File opened in mode : w+ --
160 -- File opened in mode : w --
174 -- File opened in mode : wb --
188 -- File opened in mode : wt --
202 -- File opened in mode : w+ --
246 -- File opened in mode : w --
260 -- File opened in mode : wb --
[all …]
H A Dfwrite_basic-win32.phpt74 -- File opened in mode : w --
88 -- File opened in mode : wb --
102 -- File opened in mode : wt --
116 -- File opened in mode : w+ --
160 -- File opened in mode : w --
174 -- File opened in mode : wb --
188 -- File opened in mode : wt --
202 -- File opened in mode : w+ --
246 -- File opened in mode : w --
260 -- File opened in mode : wb --
[all …]
H A Dfwrite_basic.phpt74 -- File opened in mode : w --
88 -- File opened in mode : wb --
102 -- File opened in mode : wt --
116 -- File opened in mode : w+ --
160 -- File opened in mode : w --
174 -- File opened in mode : wb --
188 -- File opened in mode : wt --
202 -- File opened in mode : w+ --
246 -- File opened in mode : w --
260 -- File opened in mode : wb --
[all …]
H A Dfseek_ftell_rewind_variation3.phpt58 -- File opened in mode r --
75 -- File opened in mode rb --
92 -- File opened in mode rt --
109 -- File opened in mode r+ --
160 -- File opened in mode a --
177 -- File opened in mode ab --
194 -- File opened in mode at --
211 -- File opened in mode a+ --
264 -- File opened in mode r --
281 -- File opened in mode rb --
[all …]
H A Dfseek_ftell_rewind_variation4-win32.phpt63 -- File opened in mode w --
80 -- File opened in mode wb --
97 -- File opened in mode wt --
114 -- File opened in mode w+ --
165 -- File opened in mode x --
182 -- File opened in mode xb --
199 -- File opened in mode xt --
216 -- File opened in mode x+ --
269 -- File opened in mode w --
286 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation4.phpt63 -- File opened in mode w --
80 -- File opened in mode wb --
97 -- File opened in mode wt --
114 -- File opened in mode w+ --
165 -- File opened in mode x --
182 -- File opened in mode xb --
199 -- File opened in mode xt --
216 -- File opened in mode x+ --
269 -- File opened in mode w --
286 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation5.phpt55 -- File opened in mode r --
72 -- File opened in mode rb --
89 -- File opened in mode rt --
106 -- File opened in mode r+ --
157 -- File opened in mode a --
174 -- File opened in mode ab --
191 -- File opened in mode at --
208 -- File opened in mode a+ --
260 -- File opened in mode r --
277 -- File opened in mode rb --
[all …]
H A Dfseek_ftell_rewind_variation6-win32.phpt63 -- File opened in mode w --
80 -- File opened in mode wb --
97 -- File opened in mode wt --
114 -- File opened in mode w+ --
165 -- File opened in mode x --
182 -- File opened in mode xb --
199 -- File opened in mode xt --
216 -- File opened in mode x+ --
269 -- File opened in mode w --
286 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation6.phpt63 -- File opened in mode w --
80 -- File opened in mode wb --
97 -- File opened in mode wt --
114 -- File opened in mode w+ --
165 -- File opened in mode x --
182 -- File opened in mode xb --
199 -- File opened in mode xt --
216 -- File opened in mode x+ --
269 -- File opened in mode w --
286 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation7.phpt57 -- File opened in mode r --
74 -- File opened in mode rb --
91 -- File opened in mode rt --
108 -- File opened in mode r+ --
159 -- File opened in mode a --
176 -- File opened in mode ab --
193 -- File opened in mode at --
210 -- File opened in mode a+ --
263 -- File opened in mode r --
280 -- File opened in mode rb --
[all …]
H A Dfseek_ftell_rewind_variation8-win32.phpt64 -- File opened in mode w --
81 -- File opened in mode wb --
98 -- File opened in mode wt --
115 -- File opened in mode w+ --
166 -- File opened in mode x --
183 -- File opened in mode xb --
200 -- File opened in mode xt --
217 -- File opened in mode x+ --
270 -- File opened in mode w --
287 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_variation8.phpt64 -- File opened in mode w --
81 -- File opened in mode wb --
98 -- File opened in mode wt --
115 -- File opened in mode w+ --
166 -- File opened in mode x --
183 -- File opened in mode xb --
200 -- File opened in mode xt --
217 -- File opened in mode x+ --
270 -- File opened in mode w --
287 -- File opened in mode wb --
[all …]
H A Dftruncate_variation6-win32.phpt76 -- Testing ftruncate() with file opening using r mode --
83 -- Testing ftruncate() with file opening using rb mode --
90 -- Testing ftruncate() with file opening using rt mode --
97 -- Testing ftruncate() with file opening using r+ mode --
105 -- Testing ftruncate() with file opening using r+b mode --
121 -- Testing ftruncate() with file opening using w mode --
129 -- Testing ftruncate() with file opening using wb mode --
137 -- Testing ftruncate() with file opening using wt mode --
145 -- Testing ftruncate() with file opening using w+ mode --
169 -- Testing ftruncate() with file opening using x mode --
[all …]
H A Dftruncate_variation6.phpt76 -- Testing ftruncate() with file opening using r mode --
83 -- Testing ftruncate() with file opening using rb mode --
90 -- Testing ftruncate() with file opening using rt mode --
97 -- Testing ftruncate() with file opening using r+ mode --
105 -- Testing ftruncate() with file opening using r+b mode --
121 -- Testing ftruncate() with file opening using w mode --
129 -- Testing ftruncate() with file opening using wb mode --
137 -- Testing ftruncate() with file opening using wt mode --
145 -- Testing ftruncate() with file opening using w+ mode --
169 -- Testing ftruncate() with file opening using x mode --
[all …]
H A Dftruncate_variation4.phpt71 -- Testing ftruncate() with file opening using r mode --
79 -- Testing ftruncate() with file opening using rb mode --
87 -- Testing ftruncate() with file opening using rt mode --
95 -- Testing ftruncate() with file opening using r+ mode --
119 -- Testing ftruncate() with file opening using w mode --
127 -- Testing ftruncate() with file opening using wb mode --
135 -- Testing ftruncate() with file opening using wt mode --
143 -- Testing ftruncate() with file opening using w+ mode --
167 -- Testing ftruncate() with file opening using x mode --
215 -- Testing ftruncate() with file opening using a mode --
[all …]
/php-src/ext/zlib/tests/
H A Dgzopen_basic2.phpt15 foreach($modes as $mode) {
16 echo "testing mode -- $mode --\n";
17 $h = gzopen($filename, $mode);
35 testing mode -- w --
37 testing mode -- w+ --
/php-src/ext/dba/
H A Ddba_db4.c74 info->mode = DBA_TRUNC; /* force truncate */
77 type = info->mode == DBA_READER ? DB_UNKNOWN :
78 info->mode == DBA_TRUNC ? DB_BTREE :
82 (info->mode == DBA_CREAT && s) ? DB_CREATE :
83 (info->mode == DBA_CREAT && !s) ? 0 :
84 info->mode == DBA_WRITER ? 0 :
88 info->mode = DBA_CREAT; /* force creation */
92 (info->mode == DBA_TRUNC || info->mode == DBA_CREAT) ? DB_BTREE :
96 info->mode == DBA_CREAT ? DB_CREATE :
97 info->mode == DBA_WRITER ? 0 :
[all …]
/php-src/ext/standard/tests/array/
H A Dsizeof_object1.phpt22 echo "-- Testing sizeof() in default mode --\n";
24 echo "-- Testing sizeof() in COUNT_NORMAL mode --\n";
26 echo "-- Testing sizeof() in COUNT_RECURSIVE mode --\n";
34 -- Testing sizeof() in default mode --
36 -- Testing sizeof() in COUNT_NORMAL mode --
38 -- Testing sizeof() in COUNT_RECURSIVE mode --
/php-src/ext/mbstring/tests/
H A Dbug49536.phpt7 // non-strict mode
9 // strict mode
11 // non-strict mode
13 // strict mode
16 // Strict mode with multiple candidate encodings
H A Dmb_convert_kana.phpt40 echo "Using 'glue' mode:\n";
48 echo "Not using 'glue' mode:\n";
166 Using 'glue' mode:
174 Not using 'glue' mode:
223 mb_convert_kana(): Argument #2 ($mode) must not combine 'A' and 'a' flags
224 mb_convert_kana(): Argument #2 ($mode) must not combine 'A' and 'a' flags
225 mb_convert_kana(): Argument #2 ($mode) must not combine 'A' and 'r' flags
226 mb_convert_kana(): Argument #2 ($mode) must not combine 'A' and 'r' flags
227 mb_convert_kana(): Argument #2 ($mode) must not combine 'A' and 'n' flags
228 mb_convert_kana(): Argument #2 ($mode) must not combine 'A' and 'n' flags
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dphp_uname_error.phpt8 echo "\n-- Testing php_uname() function with invalid mode --\n";
9 // am invalid mode should result in same o/p as mode 'a'
16 -- Testing php_uname() function with invalid mode --
/php-src/main/
H A Dphp_streams.h60 …hp_stream_alloc_rel(ops, thisptr, persistent, mode) _php_stream_alloc((ops), (thisptr), (persisten… argument
64 #define php_stream_fopen_rel(filename, mode, opened, options) _php_stream_fopen((filename), (mode),… argument
69 #define php_stream_fopen_from_file_rel(file, mode) _php_stream_fopen_from_file((file), (mode) STRE… argument
71 #define php_stream_fopen_from_pipe_rel(file, mode) _php_stream_fopen_from_pipe((file), (mode) STRE… argument
77 #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path)… argument
226 char mode[16]; /* "rwb" etc. ala stdio */ member
265 const char *persistent_id, const char *mode STREAMS_DC);
267 …p_stream_alloc(ops, thisptr, persistent_id, mode) _php_stream_alloc((ops), (thisptr), (persistent_… argument
375 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument
437 #define php_stream_lock(stream, mode) _php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKING, … argument
[all …]
/php-src/ext/bz2/tests/
H A D002.phpt2 bzopen() using fd opened in wrong mode
88 Warning: bzopen(): Cannot read from a stream opened in write only mode in %s on line %d
99 Warning: bzopen(): cannot write to a stream opened in read only mode 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 'rw' 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 'wr' 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 'r+' in %s on line %d
123 Warning: bzopen(): Cannot use stream opened in mode 'w+' in %s on line %d
[all …]
/php-src/ext/bcmath/tests/
H A Dbcround_early_return.phpt58 foreach ($otherModes as $mode) {
60 …$precision}]", 33, ' ', STR_PAD_LEFT) . ' => ' . bcround($num, $precision, constant($mode)) . "\n";
61 $results[$mode][] = $result;
64 if ($results['PHP_ROUND_HALF_UP'] === $results[$mode]) {
65 echo str_pad($mode, 24, ' ', STR_PAD_LEFT) . ": result is same to PHP_ROUND_HALF_UP\n";
67 …echo str_pad($mode, 24, ' ', STR_PAD_LEFT) . ": result is not same to PHP_ROUND_HALF_UP, failed\n";

Completed in 42 milliseconds

12345678910>>...32