/php-src/ext/dom/lexbor/lexbor/html/tree/ |
H A D | template_insertion.h | 20 lxb_html_tree_insertion_mode_f mode; member 40 return tmp_ins->mode; in lxb_html_tree_template_insertion_current() 54 return tmp_ins->mode; in lxb_html_tree_template_insertion_get() 65 lxb_html_tree_insertion_mode_f mode) in lxb_html_tree_template_insertion_push() argument 75 tmp_ins->mode = mode; in lxb_html_tree_template_insertion_push() 91 return tmp_ins->mode; in lxb_html_tree_template_insertion_pop()
|
/php-src/ext/standard/tests/file/ |
H A D | fgetcsv_variation21.phpt | 35 // close the file if the mode to be used is read mode and re-open using read mode 60 } //end of mode loop 67 -- Testing fgetcsv() with file opened using r mode -- 75 -- Testing fgetcsv() with file opened using rb mode -- 83 -- Testing fgetcsv() with file opened using rt mode -- 91 -- Testing fgetcsv() with file opened using r+ mode -- 99 -- Testing fgetcsv() with file opened using r+b mode -- 107 -- Testing fgetcsv() with file opened using r+t mode -- 115 -- Testing fgetcsv() with file opened using a+ mode -- 139 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fflush_variation4.phpt | 2 Test fflush() function: usage variations - file opened in read-only mode 6 /* test fflush() with handle to a file opened in read-only mode as resource */ 18 foreach( $file_modes as $mode ) { 19 echo "-- Iteration $count with file opened in $mode mode --\n"; 28 $file_handle = fopen($file_name, $mode); 42 -- Iteration 1 with file opened in r mode -- 44 -- Iteration 2 with file opened in rb mode -- 46 -- Iteration 3 with file opened in rt mode --
|
H A D | ftruncate_variation1-win32-mb.phpt | 70 -- Testing ftruncate() with file opening using r mode -- 78 -- Testing ftruncate() with file opening using rb mode -- 86 -- Testing ftruncate() with file opening using rt mode -- 94 -- Testing ftruncate() with file opening using r+ mode -- 118 -- Testing ftruncate() with file opening using w mode -- 126 -- Testing ftruncate() with file opening using wb mode -- 134 -- Testing ftruncate() with file opening using wt mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 166 -- Testing ftruncate() with file opening using x mode -- 214 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation1-win32.phpt | 70 -- Testing ftruncate() with file opening using r mode -- 78 -- Testing ftruncate() with file opening using rb mode -- 86 -- Testing ftruncate() with file opening using rt mode -- 94 -- Testing ftruncate() with file opening using r+ mode -- 118 -- Testing ftruncate() with file opening using w mode -- 126 -- Testing ftruncate() with file opening using wb mode -- 134 -- Testing ftruncate() with file opening using wt mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 166 -- Testing ftruncate() with file opening using x mode -- 214 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation1.phpt | 70 -- Testing ftruncate() with file opening using r mode -- 78 -- Testing ftruncate() with file opening using rb mode -- 86 -- Testing ftruncate() with file opening using rt mode -- 94 -- Testing ftruncate() with file opening using r+ mode -- 118 -- Testing ftruncate() with file opening using w mode -- 126 -- Testing ftruncate() with file opening using wb mode -- 134 -- Testing ftruncate() with file opening using wt mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 166 -- Testing ftruncate() with file opening using x mode -- 214 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation7-win32.phpt | 72 -- Testing ftruncate() with file opening using r mode -- 80 -- Testing ftruncate() with file opening using rb mode -- 88 -- Testing ftruncate() with file opening using rt mode -- 96 -- Testing ftruncate() with file opening using r+ mode -- 120 -- Testing ftruncate() with file opening using w mode -- 128 -- Testing ftruncate() with file opening using wb mode -- 136 -- Testing ftruncate() with file opening using wt mode -- 144 -- Testing ftruncate() with file opening using w+ mode -- 168 -- Testing ftruncate() with file opening using x mode -- 216 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation7.phpt | 72 -- Testing ftruncate() with file opening using r mode -- 80 -- Testing ftruncate() with file opening using rb mode -- 88 -- Testing ftruncate() with file opening using rt mode -- 96 -- Testing ftruncate() with file opening using r+ mode -- 120 -- Testing ftruncate() with file opening using w mode -- 128 -- Testing ftruncate() with file opening using wb mode -- 136 -- Testing ftruncate() with file opening using wt mode -- 144 -- Testing ftruncate() with file opening using w+ mode -- 168 -- Testing ftruncate() with file opening using x mode -- 216 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | fgetcsv_variation6.phpt | 58 // 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 D | fgetcsv_variation17.phpt | 52 // close the file if the mode to be used is read mode and re-open using read mode 83 } //end of mode loop 91 -- Testing fgetcsv() with file opened using r mode -- 107 -- Testing fgetcsv() with file opened using rb mode -- 123 -- Testing fgetcsv() with file opened using rt mode -- 139 -- Testing fgetcsv() with file opened using r+ mode -- 187 -- Testing fgetcsv() with file opened using a+ mode -- 235 -- Testing fgetcsv() with file opened using w+ mode -- 283 -- Testing fgetcsv() with file opened using x+ mode -- 331 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | ftruncate_variation2-win32.phpt | 71 -- 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 …]
|
H A D | ftruncate_variation2.phpt | 71 -- 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 …]
|
H A D | ftruncate_variation3-win32.phpt | 70 -- Testing ftruncate() with file opening using r mode -- 78 -- Testing ftruncate() with file opening using rb mode -- 86 -- Testing ftruncate() with file opening using rt mode -- 94 -- Testing ftruncate() with file opening using r+ mode -- 118 -- Testing ftruncate() with file opening using w mode -- 126 -- Testing ftruncate() with file opening using wb mode -- 134 -- Testing ftruncate() with file opening using wt mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 166 -- Testing ftruncate() with file opening using x mode -- 214 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation3.phpt | 70 -- Testing ftruncate() with file opening using r mode -- 78 -- Testing ftruncate() with file opening using rb mode -- 86 -- Testing ftruncate() with file opening using rt mode -- 94 -- Testing ftruncate() with file opening using r+ mode -- 118 -- Testing ftruncate() with file opening using w mode -- 126 -- Testing ftruncate() with file opening using wb mode -- 134 -- Testing ftruncate() with file opening using wt mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 166 -- Testing ftruncate() with file opening using x mode -- 214 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation5-win32.phpt | 72 -- Testing ftruncate() with file opening using r mode -- 80 -- Testing ftruncate() with file opening using rb mode -- 88 -- Testing ftruncate() with file opening using rt mode -- 96 -- Testing ftruncate() with file opening using r+ mode -- 120 -- Testing ftruncate() with file opening using w mode -- 128 -- Testing ftruncate() with file opening using wb mode -- 136 -- Testing ftruncate() with file opening using wt mode -- 144 -- Testing ftruncate() with file opening using w+ mode -- 168 -- Testing ftruncate() with file opening using x mode -- 216 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | ftruncate_variation5.phpt | 72 -- Testing ftruncate() with file opening using r mode -- 80 -- Testing ftruncate() with file opening using rb mode -- 88 -- Testing ftruncate() with file opening using rt mode -- 96 -- Testing ftruncate() with file opening using r+ mode -- 120 -- Testing ftruncate() with file opening using w mode -- 128 -- Testing ftruncate() with file opening using wb mode -- 136 -- Testing ftruncate() with file opening using wt mode -- 144 -- Testing ftruncate() with file opening using w+ mode -- 168 -- Testing ftruncate() with file opening using x mode -- 216 -- Testing ftruncate() with file opening using a mode -- [all …]
|
H A D | fgetcsv_variation13.phpt | 33 // close the file if the mode to be used is read mode and re-open using read mode 57 } //end of mode loop 64 -- Testing fgetcsv() with file opened using r mode -- 72 -- Testing fgetcsv() with file opened using rb mode -- 80 -- Testing fgetcsv() with file opened using rt mode -- 88 -- Testing fgetcsv() with file opened using r+ mode -- 96 -- Testing fgetcsv() with file opened using r+b mode -- 104 -- Testing fgetcsv() with file opened using r+t mode -- 112 -- Testing fgetcsv() with file opened using a+ mode -- 136 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fgetcsv_variation14.phpt | 33 // close the file if the mode to be used is read mode and re-open using read mode 63 } //end of mode loop 70 -- Testing fgetcsv() with file opened using r mode -- 81 -- Testing fgetcsv() with file opened using rb mode -- 92 -- Testing fgetcsv() with file opened using rt mode -- 103 -- Testing fgetcsv() with file opened using r+ mode -- 114 -- Testing fgetcsv() with file opened using r+b mode -- 125 -- Testing fgetcsv() with file opened using r+t mode -- 136 -- Testing fgetcsv() with file opened using a+ mode -- 169 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fgetcsv_variation20.phpt | 35 // close the file if the mode to be used is read mode and re-open using read mode 60 } //end of mode loop 67 -- Testing fgetcsv() with file opened using r mode -- 75 -- Testing fgetcsv() with file opened using rb mode -- 83 -- Testing fgetcsv() with file opened using rt mode -- 91 -- Testing fgetcsv() with file opened using r+ mode -- 99 -- Testing fgetcsv() with file opened using r+b mode -- 107 -- Testing fgetcsv() with file opened using r+t mode -- 115 -- Testing fgetcsv() with file opened using a+ mode -- 139 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fopen_variation5.phpt | 37 foreach($modes as $mode) { 38 test_fopen($mode); 52 function test_fopen($mode) { 60 echo "\n** testing with mode=$mode **\n"; 62 $h = fopen($filename, $mode, true); 73 $h = fopen($filename, $mode, true); 84 $h = fopen($filename, $mode, true); 93 $h = fopen($filename, $mode, true); 119 ** testing with mode=r ** 126 ** testing with mode=r+ ** [all …]
|
/php-src/ext/zlib/tests/ |
H A D | gzopen_variation9.phpt | 13 foreach ($modes as $mode) { 14 echo "mode=$mode\n"; 15 $h = gzopen($file, $mode); 26 mode=r+ 31 mode=rf 34 mode=w+ 39 mode=e
|
/php-src/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_file_variation1.phpt | 42 ["mode"]=> 62 ["mode"]=> 82 ["mode"]=> 102 ["mode"]=> 122 ["mode"]=> 142 ["mode"]=> 162 ["mode"]=> 182 ["mode"]=> 202 ["mode"]=> 222 ["mode"]=> [all …]
|
/php-src/ext/bz2/ |
H A D | php_bz2.h | 49 …stream_bz2open(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_… 50 PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, const char *mode, php_stream *i… 52 #define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz),… argument 53 …efine php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper),… argument
|
/php-src/ext/standard/tests/array/ |
H A D | count_invalid_mode.phpt | 2 Test count() function : invalid modes in weak type mode 17 foreach ($modes as $mode) { 19 var_dump(count([], $mode)); 30 count(): Argument #2 ($mode) must be either COUNT_NORMAL or COUNT_RECURSIVE 31 count(): Argument #2 ($mode) must be either COUNT_NORMAL or COUNT_RECURSIVE
|
/php-src/main/streams/ |
H A D | memory.c | 40 int mode; member 266 if (strpbrk(mode, "a")) { in php_stream_mode_from_str() 296 self->mode = mode; in _php_stream_memory_create() 336 int mode; member 553 self->mode = mode; in _php_stream_temp_create_ex() 589 ts->mode = mode; in _php_stream_temp_open() 618 ZEND_ASSERT(mode); in php_stream_url_wrap_rfc2397() 726 vlen = strlen(mode); in php_stream_url_wrap_rfc2397() 730 memcpy(stream->mode, mode, vlen); in php_stream_url_wrap_rfc2397() 731 stream->mode[vlen] = '\0'; in php_stream_url_wrap_rfc2397() [all …]
|