/PHP-8.2/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_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_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_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 | 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 | 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 | userstreams_005.phpt | 55 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
|
/PHP-8.2/ext/oci8/tests/ |
H A D | lob_042.phpt | 34 var_dump($blob->truncate(1)); 35 var_dump($blob->truncate(1)); 36 var_dump($blob->truncate(2)); 43 var_dump($blob->truncate(-1)); 65 Warning: OCILob::truncate(): Size must be less than or equal to the current LOB size in %s on line … 76 OCILob::truncate(): Argument #1 ($length) must be greater than or equal to 0
|
H A D | lob_027.phpt | 51 var_dump($row['BLOB']->truncate(($i-1)*10)); 65 var_dump($row['BLOB']->truncate(0)); 68 var_dump($row['BLOB']->truncate(-1)); 109 OCILob::truncate(): Argument #1 ($length) must be greater than or equal to 0 112 OCILob::truncate(): Argument #1 ($length) must be greater than or equal to 0
|
H A D | lob_044.phpt | 27 echo "Test 1 - truncate on insert\n"; 37 var_dump($blob->truncate()); 63 Test 1 - truncate on insert
|
H A D | lob_006.phpt | 2 oci_lob_write()/truncate()/erase() 32 var_dump($blob->truncate());
|
/PHP-8.2/ext/zlib/tests/ |
H A D | zlib_wrapper_ftruncate_basic.phpt | 23 Warning: ftruncate(): Can't truncate this stream! in %s on line %d 25 Warning: ftruncate(): Can't truncate this stream! in %s on line %d
|
H A D | gzinflate-bug42663.phpt | 14 // truncate $deflated string
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | 001.phpt | 8 echo("sprintf string truncate test: "); 57 sprintf string truncate test: passed
|
/PHP-8.2/ext/date/tests/ |
H A D | bug81106.phpt | 2 Bug #81106: Regression in 8.1: add() now truncate ->f
|
/PHP-8.2/ext/spl/tests/SplFileObject/ |
H A D | fileobject_005.phpt | 2 SPL: SplFileObject truncate tests
|
H A D | SplFileObject_ftruncate_error_001.phpt | 33 Can't truncate file %s
|
/PHP-8.2/Zend/ |
H A D | zend_smart_str.c | 193 ZEND_API void ZEND_FASTCALL smart_str_append_scalar(smart_str *dest, zval *value, size_t truncate) { in smart_str_append_scalar() argument 217 smart_str_append_escaped_truncated(dest, Z_STR_P(value), truncate); in smart_str_append_scalar()
|