/PHP-8.0/ext/standard/tests/file/ |
H A D | ftruncate_variation1-win32-mb.phpt | 48 /* truncate it to size 0 */ 71 -- Testing ftruncate(): truncate file to size = 0 -- 79 -- Testing ftruncate(): truncate file to size = 0 -- 87 -- Testing ftruncate(): truncate file to size = 0 -- 95 -- Testing ftruncate(): truncate file to size = 0 -- 103 -- Testing ftruncate(): truncate file to size = 0 -- 111 -- Testing ftruncate(): truncate file to size = 0 -- 119 -- Testing ftruncate(): truncate file to size = 0 -- 127 -- Testing ftruncate(): truncate file to size = 0 -- 135 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | ftruncate_variation1-win32.phpt | 48 /* truncate it to size 0 */ 71 -- Testing ftruncate(): truncate file to size = 0 -- 79 -- Testing ftruncate(): truncate file to size = 0 -- 87 -- Testing ftruncate(): truncate file to size = 0 -- 95 -- Testing ftruncate(): truncate file to size = 0 -- 103 -- Testing ftruncate(): truncate file to size = 0 -- 111 -- Testing ftruncate(): truncate file to size = 0 -- 119 -- Testing ftruncate(): truncate file to size = 0 -- 127 -- Testing ftruncate(): truncate file to size = 0 -- 135 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | ftruncate_variation1.phpt | 48 /* truncate it to size 0 */ 71 -- Testing ftruncate(): truncate file to size = 0 -- 79 -- Testing ftruncate(): truncate file to size = 0 -- 87 -- Testing ftruncate(): truncate file to size = 0 -- 95 -- Testing ftruncate(): truncate file to size = 0 -- 103 -- Testing ftruncate(): truncate file to size = 0 -- 111 -- Testing ftruncate(): truncate file to size = 0 -- 119 -- Testing ftruncate(): truncate file to size = 0 -- 127 -- Testing ftruncate(): truncate file to size = 0 -- 135 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | ftruncate_variation2-win32.phpt | 2 Test ftruncate() function : usage variations - truncate file to current size 72 -- Testing ftruncate(): truncate file to size = current size -- 80 -- Testing ftruncate(): truncate file to size = current size -- 88 -- Testing ftruncate(): truncate file to size = current size -- 96 -- Testing ftruncate(): truncate file to size = current size -- 104 -- Testing ftruncate(): truncate file to size = current size -- 112 -- Testing ftruncate(): truncate file to size = current size -- 120 -- Testing ftruncate(): truncate file to size = current size -- 128 -- Testing ftruncate(): truncate file to size = current size -- 136 -- Testing ftruncate(): truncate file to size = current size -- [all …]
|
H A D | ftruncate_variation2.phpt | 2 Test ftruncate() function : usage variations - truncate file to current size 72 -- Testing ftruncate(): truncate file to size = current size -- 80 -- Testing ftruncate(): truncate file to size = current size -- 88 -- Testing ftruncate(): truncate file to size = current size -- 96 -- Testing ftruncate(): truncate file to size = current size -- 104 -- Testing ftruncate(): truncate file to size = current size -- 112 -- Testing ftruncate(): truncate file to size = current size -- 120 -- Testing ftruncate(): truncate file to size = current size -- 128 -- Testing ftruncate(): truncate file to size = current size -- 136 -- Testing ftruncate(): truncate file to size = current size -- [all …]
|
H A D | ftruncate_variation3-win32.phpt | 2 Test ftruncate() function : usage variations - truncate file to half size 49 /* truncate it to half of its current size */ 53 var_dump( ftruncate($file_handle, $new_size) ); // truncate it 71 -- Testing ftruncate(): truncate file to half of its current size -- 79 -- Testing ftruncate(): truncate file to half of its current size -- 87 -- Testing ftruncate(): truncate file to half of its current size -- 95 -- Testing ftruncate(): truncate file to half of its current size -- 103 -- Testing ftruncate(): truncate file to half of its current size -- 111 -- Testing ftruncate(): truncate file to half of its current size -- 119 -- Testing ftruncate(): truncate file to half of its current size -- [all …]
|
H A D | ftruncate_variation3.phpt | 2 Test ftruncate() function : usage variations - truncate file to half size 49 /* truncate it to half of its current size */ 53 var_dump( ftruncate($file_handle, $new_size) ); // truncate it 71 -- Testing ftruncate(): truncate file to half of its current size -- 79 -- Testing ftruncate(): truncate file to half of its current size -- 87 -- Testing ftruncate(): truncate file to half of its current size -- 95 -- Testing ftruncate(): truncate file to half of its current size -- 103 -- Testing ftruncate(): truncate file to half of its current size -- 111 -- Testing ftruncate(): truncate file to half of its current size -- 119 -- Testing ftruncate(): truncate file to half of its current size -- [all …]
|
H A D | ftruncate_variation6-win32.phpt | 2 Test ftruncate() function : usage variations - truncate file to smaller size 11 /* truncate the file to smaller size and display the content */ 51 /* try to truncate it and display the file content */ 56 if(ftruncate($file_handle, $new_size) ){// truncate it 77 -- Testing ftruncate(): truncate to smaller size and display the file content -- 84 -- Testing ftruncate(): truncate to smaller size and display the file content -- 91 -- Testing ftruncate(): truncate to smaller size and display the file content -- 98 -- Testing ftruncate(): truncate to smaller size and display the file content -- 106 -- Testing ftruncate(): truncate to smaller size and display the file content -- 114 -- Testing ftruncate(): truncate to smaller size and display the file content -- [all …]
|
H A D | ftruncate_variation6.phpt | 2 Test ftruncate() function : usage variations - truncate file to smaller size 11 /* truncate the file to smaller size and display the content */ 51 /* try to truncate it and display the file content */ 56 if(ftruncate($file_handle, $new_size) ){// truncate it 77 -- Testing ftruncate(): truncate to smaller size and display the file content -- 84 -- Testing ftruncate(): truncate to smaller size and display the file content -- 91 -- Testing ftruncate(): truncate to smaller size and display the file content -- 98 -- Testing ftruncate(): truncate to smaller size and display the file content -- 106 -- Testing ftruncate(): truncate to smaller size and display the file content -- 114 -- Testing ftruncate(): truncate to smaller size and display the file content -- [all …]
|
H A D | lstat_stat_variation21.phpt | 2 Test lstat() and stat() functions: usage variations - effects of truncate() 12 /* test the effects of truncate() on stats of a file */ 32 var_dump( ftruncate($file_handle, 512) ); // truncate it
|
H A D | stat_variation8-win32.phpt | 2 Test stat() functions: usage variations - effects of truncate() 12 /* test the effects of truncate() on stats of file */ 39 var_dump( ftruncate($file_handle, 512) ); // truncate it
|
H A D | filesize_variation3.phpt | 2 Test filesize() function: usage variations - file size after truncate 14 // truncate the file created earlier in subdir, the size of the file is 12000bytes 15 // truncate the same file, in the loop , each time with the decrement in size by 1200 bytes,
|
H A D | userstreams_005.phpt | 54 Warning: ftruncate(): Can't truncate this stream! in %s on line %d
|
H A D | ftruncate_variation7-win32.phpt | 2 Test ftruncate() function : usage variations - truncate when file pointer at EOF 11 /* truncate the file when file pointer is positioned at end of the file */ 50 /* try to truncate it to while file pointer at the end */ 55 var_dump( ftruncate($file_handle, $new_size) ); // truncate it
|
H A D | ftruncate_variation7.phpt | 2 Test ftruncate() function : usage variations - truncate when file pointer at EOF 11 /* truncate the file when file pointer is positioned at end of the file */ 50 /* try to truncate it to while file pointer at the end */ 55 var_dump( ftruncate($file_handle, $new_size) ); // truncate it
|
H A D | ftruncate_variation5-win32.phpt | 2 Test ftruncate() function : usage variations - truncate file to bigger size 49 /* try to truncate it to size bigger then current */ 54 var_dump( ftruncate($file_handle, $new_size) ); // truncate it
|
/PHP-8.0/ext/oci8/tests/ |
H A D | lob_042.phpt | 32 var_dump($blob->truncate(1)); 33 var_dump($blob->truncate(1)); 34 var_dump($blob->truncate(2)); 41 var_dump($blob->truncate(-1)); 63 Warning: OCILob::truncate(): Size must be less than or equal to the current LOB size in %s on line … 74 OCILob::truncate(): Argument #1 ($length) must be greater than or equal to 0
|
H A D | lob_027.phpt | 49 var_dump($row['BLOB']->truncate(($i-1)*10)); 63 var_dump($row['BLOB']->truncate(0)); 66 var_dump($row['BLOB']->truncate(-1)); 107 OCILob::truncate(): Argument #1 ($length) must be greater than or equal to 0 110 OCILob::truncate(): Argument #1 ($length) must be greater than or equal to 0
|
H A D | lob_044.phpt | 25 echo "Test 1 - truncate on insert\n"; 35 var_dump($blob->truncate()); 61 Test 1 - truncate on insert
|
H A D | lob_006.phpt | 2 oci_lob_write()/truncate()/erase() 30 var_dump($blob->truncate());
|
/PHP-8.0/ext/zlib/tests/ |
H A D | zlib_wrapper_ftruncate_basic.phpt | 27 Warning: ftruncate(): Can't truncate this stream! in %s on line %d 29 Warning: ftruncate(): Can't truncate this stream! in %s on line %d
|
H A D | gzinflate-bug42663.phpt | 14 // truncate $deflated string
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | 001.phpt | 8 echo("sprintf string truncate test: "); 57 sprintf string truncate test: passed
|
/PHP-8.0/ext/spl/tests/ |
H A D | fileobject_005.phpt | 2 SPL: SplFileObject truncate tests
|
H A D | SplFileObject_ftruncate_error_001.phpt | 32 Can't truncate file %s
|