/php-src/ext/standard/tests/general_functions/ |
H A D | proc_open_redirect.phpt | 27 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes); 34 $proc = proc_open($cmd, [1 => ['file', $fileName, 'w'], 2 => ['redirect', 1]], $pipes); 41 $file = fopen($fileName, 'w');
|
H A D | proc_open_sockets3.phpt | 9 $w = ($read == false) ? [$pipe] : null; 12 if (!stream_select($r, $w, $e, null)) {
|
H A D | proc_open_sockets1.phpt | 29 $w = null; 32 if (!stream_select($r, $w, $e, null)) {
|
/php-src/ext/standard/tests/file/ |
H A D | fgetcsv_variation15.phpt | 25 "w+", "w+b", "w+t", 33 $file_handle = fopen($filename, "w"); 171 -- Testing fgetcsv() with file opened using w+ mode -- 181 -- Testing fgetcsv() with file opened using w+b mode -- 191 -- Testing fgetcsv() with file opened using w+t mode -- 321 -- Testing fgetcsv() with file opened using w+ mode -- 331 -- Testing fgetcsv() with file opened using w+b mode -- 341 -- Testing fgetcsv() with file opened using w+t mode -- 471 -- Testing fgetcsv() with file opened using w+ mode -- 639 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fgetcsv_variation16.phpt | 27 "w+", "w+b", "w+t", 35 $file_handle = fopen($filename, "w"); 175 -- Testing fgetcsv() with file opened using w+ mode -- 185 -- Testing fgetcsv() with file opened using w+b mode -- 195 -- Testing fgetcsv() with file opened using w+t mode -- 325 -- Testing fgetcsv() with file opened using w+ mode -- 335 -- Testing fgetcsv() with file opened using w+b mode -- 345 -- Testing fgetcsv() with file opened using w+t mode -- 475 -- Testing fgetcsv() with file opened using w+ mode -- 643 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fgetcsv_variation11.phpt | 30 "w+", "w+b", "w+t", 38 $file_handle = fopen($filename, "w"); 181 -- Testing fgetcsv() with file opened using w+ mode -- 191 -- Testing fgetcsv() with file opened using w+b mode -- 201 -- Testing fgetcsv() with file opened using w+t mode -- 331 -- Testing fgetcsv() with file opened using w+ mode -- 341 -- Testing fgetcsv() with file opened using w+b mode -- 351 -- Testing fgetcsv() with file opened using w+t mode -- 481 -- Testing fgetcsv() with file opened using w+ mode -- 631 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fdatasync.phpt | 17 $file_handle = fopen($filename, "w"); 36 $file_handle = fopen("php://stdin", "w"); 41 $file_handle = fopen("php://memory", "w");
|
H A D | fsync.phpt | 17 $file_handle = fopen($filename, "w"); 36 $file_handle = fopen("php://stdin", "w"); 41 $file_handle = fopen("php://memory", "w");
|
H A D | ftruncate_variation1-win32-mb.phpt | 18 "w", "wb", "wt", "w+", "w+b", "w+t", 32 if( strstr($file_modes[$mode_counter], "x") || strstr($file_modes[$mode_counter], "w") ) { 37 … create_files ( __DIR__, 1, $file_content_type, 0755, 1, "w", "ftruncate_variation1私はガラスを食べられます"); 118 -- Testing ftruncate() with file opening using w mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 150 -- Testing ftruncate() with file opening using w+b mode -- 158 -- Testing ftruncate() with file opening using w+t mode -- 312 -- Testing ftruncate() with file opening using w mode -- 336 -- Testing ftruncate() with file opening using w+ mode -- 344 -- Testing ftruncate() with file opening using w+b mode -- [all …]
|
H A D | ftruncate_variation1-win32.phpt | 18 "w", "wb", "wt", "w+", "w+b", "w+t", 32 if( strstr($file_modes[$mode_counter], "x") || strstr($file_modes[$mode_counter], "w") ) { 37 create_files ( __DIR__, 1, $file_content_type, 0755, 1, "w", "ftruncate_variation"); 118 -- Testing ftruncate() with file opening using w mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 150 -- Testing ftruncate() with file opening using w+b mode -- 158 -- Testing ftruncate() with file opening using w+t mode -- 312 -- Testing ftruncate() with file opening using w mode -- 336 -- Testing ftruncate() with file opening using w+ mode -- 344 -- Testing ftruncate() with file opening using w+b mode -- [all …]
|
H A D | ftruncate_variation1.phpt | 18 "w", "wb", "wt", "w+", "w+b", "w+t", 32 if( strstr($file_modes[$mode_counter], "x") || strstr($file_modes[$mode_counter], "w") ) { 37 create_files ( __DIR__, 1, $file_content_type, 0755, 1, "w", "ftruncate_variation"); 118 -- Testing ftruncate() with file opening using w mode -- 142 -- Testing ftruncate() with file opening using w+ mode -- 150 -- Testing ftruncate() with file opening using w+b mode -- 158 -- Testing ftruncate() with file opening using w+t mode -- 312 -- Testing ftruncate() with file opening using w mode -- 336 -- Testing ftruncate() with file opening using w+ mode -- 344 -- Testing ftruncate() with file opening using w+b mode -- [all …]
|
H A D | ftruncate_variation7-win32.phpt | 19 "w", "wb", "wt", "w+", "w+b", "w+t", 33 if( strstr($file_modes[$mode_counter], "x") || strstr($file_modes[$mode_counter], "w") ) { 38 create_files ( __DIR__, 1, $file_content_type, 0755, 1, "w", "ftruncate_variation", 7); 120 -- Testing ftruncate() with file opening using w mode -- 144 -- Testing ftruncate() with file opening using w+ mode -- 152 -- Testing ftruncate() with file opening using w+b mode -- 160 -- Testing ftruncate() with file opening using w+t mode -- 314 -- Testing ftruncate() with file opening using w mode -- 338 -- Testing ftruncate() with file opening using w+ mode -- 346 -- Testing ftruncate() with file opening using w+b mode -- [all …]
|
H A D | ftruncate_variation7.phpt | 19 "w", "wb", "wt", "w+", "w+b", "w+t", 33 if( strstr($file_modes[$mode_counter], "x") || strstr($file_modes[$mode_counter], "w") ) { 38 create_files ( __DIR__, 1, $file_content_type, 0755, 1, "w", "ftruncate_variation", 7); 120 -- Testing ftruncate() with file opening using w mode -- 144 -- Testing ftruncate() with file opening using w+ mode -- 152 -- Testing ftruncate() with file opening using w+b mode -- 160 -- Testing ftruncate() with file opening using w+t mode -- 314 -- Testing ftruncate() with file opening using w mode -- 338 -- Testing ftruncate() with file opening using w+ mode -- 346 -- Testing ftruncate() with file opening using w+b mode -- [all …]
|
H A D | fopen_variation6.phpt | 11 $h = fopen($absfile, "w"); 15 $h = fopen($relfile, "w");
|
H A D | fgetcsv_variation19.phpt | 28 "w+", "w+b", "w+t", 36 $file_handle = fopen($filename, "w"); 136 -- Testing fgetcsv() with file opened using w+ mode -- 141 -- Testing fgetcsv() with file opened using w+b mode -- 146 -- Testing fgetcsv() with file opened using w+t mode -- 211 -- Testing fgetcsv() with file opened using w+ mode -- 216 -- Testing fgetcsv() with file opened using w+b mode -- 221 -- Testing fgetcsv() with file opened using w+t mode -- 286 -- Testing fgetcsv() with file opened using w+ mode -- 361 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | filesize_variation4-win32.phpt | 19 echo "-- opening the file in 'w' mode and get the size --\n"; 20 $file_handle = fopen($filename, "w"); 64 fclose( fopen($filename, "w") ); 70 fclose( fopen($filename, "w") ); 85 -- opening the file in 'w' mode and get the size --
|
H A D | readlink_realpath_basic2.phpt | 15 …handle1 = fopen("$file_path/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp", "w"); 16 $file_handle2 = fopen("$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp", "w"); 17 $file_handle3 = fopen("$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp", "w");
|
H A D | realpath_basic3.phpt | 11 $file_handle1 = fopen("$file_path/realpath_basic3/home/test/realpath_basic3.tmp", "w"); 12 $file_handle2 = fopen("$file_path/realpath_basic3/home/realpath_basic3.tmp", "w"); 13 $file_handle3 = fopen("$file_path/realpath_basic3/realpath_basic3.tmp", "w");
|
/php-src/ext/openssl/tests/ |
H A D | stream_server_reneg_limit.phpt | 50 $w = $e = []; 52 stream_select($r, $w, $e, $timeout=42); 77 $descriptorSpec = [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]];
|
/php-src/ext/standard/tests/array/ |
H A D | array_reduce_variation1.phpt | 12 function threeArgs($v, $w, $x) { 13 return $v + $w + $x;
|
/php-src/ext/curl/tests/ |
H A D | curl_write_file.phpt | 16 $fp = fopen($log_file, 'w+'); 20 $testfile_fp = fopen($test_file, 'w+');
|
/php-src/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 15 test("php://temp","w"); 33 php://temp, w
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_private.h | 766 ir_list_init(&w->l, size); in ir_worklist_init() 772 ir_list_free(&w->l); in ir_worklist_free() 773 ir_mem_free(w->visited); in ir_worklist_free() 778 return ir_list_len(&w->l); in ir_worklist_len() 783 return ir_list_capasity(&w->l); in ir_worklist_capasity() 788 ir_list_clear(&w->l); in ir_worklist_clear() 789 ir_bitset_clear(w->visited, ir_bitset_len(ir_worklist_capasity(w))); in ir_worklist_clear() 798 ir_bitset_incl(w->visited, val); in ir_worklist_push() 799 IR_ASSERT(ir_list_len(&w->l) < ir_list_capasity(&w->l)); in ir_worklist_push() 806 return ir_list_pop(&w->l); in ir_worklist_pop() [all …]
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7.c | 646 uint32_t w = *in++; in mb_wchar_to_utf7() local 648 if (should_direct_encode(w)) { in mb_wchar_to_utf7() 657 if (!can_end_base64(w)) { in mb_wchar_to_utf7() 660 } else if (w >= MBFL_WCSPLANE_UTF32MAX) { in mb_wchar_to_utf7() 672 if (w >= MBFL_WCSPLANE_SUPMIN) { in mb_wchar_to_utf7() 675 w -= 0x10000; in mb_wchar_to_utf7() 676 bits = ((uint64_t)cache << 32) | 0xD800DC00L | ((w & 0xFFC00) << 6) | (w & 0x3FF); in mb_wchar_to_utf7() 680 bits = (cache << 16) | w; in mb_wchar_to_utf7() 692 if (should_direct_encode(w)) { in mb_wchar_to_utf7() 693 out = mb_convert_buf_add(out, w); in mb_wchar_to_utf7() [all …]
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_arm64.h | 187 int inv = 0, w = 64, s = 0xfff, xa, xb; in dasm_imm13() local 196 w = dasm_ffs(c) - xa; in dasm_imm13() 197 if (w == 32) m = 0x0000000100000001UL; in dasm_imm13() 198 else if (w == 16) m = 0x0001000100010001UL; in dasm_imm13() 199 else if (w == 8) m = 0x0101010101010101UL; in dasm_imm13() 200 else if (w == 4) m = 0x1111111111111111UL; in dasm_imm13() 201 else if (w == 2) m = 0x5555555555555555UL; in dasm_imm13() 203 s = (-2*w & 0x3f) - 1; in dasm_imm13() 211 return ((w - xb) << 6) | (s+w+xa-xb); in dasm_imm13() 213 return ((w - xa) << 6) | (s+xb-xa); in dasm_imm13()
|