Home
last modified time | relevance | path

Searched refs:truncate (Results 1 – 25 of 37) sorted by relevance

12

/PHP-8.1/ext/standard/tests/file/
H A Dftruncate_variation1-win32-mb.phpt48 /* 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 Dftruncate_variation1-win32.phpt48 /* 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 Dftruncate_variation1.phpt48 /* 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 Dftruncate_variation2-win32.phpt2 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 Dftruncate_variation2.phpt2 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 Dftruncate_variation3-win32.phpt2 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 Dftruncate_variation3.phpt2 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 Dftruncate_variation6-win32.phpt2 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 Dftruncate_variation6.phpt2 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 Dlstat_stat_variation21.phpt2 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 Dfilesize_variation3.phpt2 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 Dstat_variation8-win32.phpt2 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 Duserstreams_005.phpt54 Warning: ftruncate(): Can't truncate this stream! in %s on line %d
H A Dftruncate_variation7-win32.phpt2 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.1/ext/oci8/tests/
H A Dlob_042.phpt34 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 Dlob_027.phpt51 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 Dlob_044.phpt27 echo "Test 1 - truncate on insert\n";
37 var_dump($blob->truncate());
63 Test 1 - truncate on insert
H A Dlob_006.phpt2 oci_lob_write()/truncate()/erase()
32 var_dump($blob->truncate());
/PHP-8.1/ext/zlib/tests/
H A Dzlib_wrapper_ftruncate_basic.phpt23 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 Dgzinflate-bug42663.phpt14 // truncate $deflated string
/PHP-8.1/ext/standard/tests/general_functions/
H A D001.phpt8 echo("sprintf string truncate test: ");
57 sprintf string truncate test: passed
/PHP-8.1/ext/date/tests/
H A Dbug81106.phpt2 Bug #81106: Regression in 8.1: add() now truncate ->f
/PHP-8.1/ext/spl/tests/
H A Dfileobject_005.phpt2 SPL: SplFileObject truncate tests
H A DSplFileObject_ftruncate_error_001.phpt32 Can't truncate file %s
/PHP-8.1/Zend/
H A Dzend_smart_str.c193 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()

Completed in 31 milliseconds

12