Lines Matching refs:ftruncate

2 Test ftruncate() function : usage variations - truncate file to smaller size
16 echo "*** Testing ftruncate() : usage variations ***\n";
18 /* test ftruncate with file opened in different modes */
27 echo "\n-- Testing ftruncate() with file having data of type ". $file_content_type ." --\n";
30 echo "-- Testing ftruncate() with file opening using $file_modes[$mode_counter] mode --\n";
50 echo "-- Testing ftruncate(): truncate to smaller size and display the file content --\n";
56 if(ftruncate($file_handle, $new_size) ){// truncate it
73 *** Testing ftruncate() : usage variations ***
75 -- Testing ftruncate() with file having data of type numeric --
76 -- Testing ftruncate() with file opening using r mode --
77 -- Testing ftruncate(): truncate to smaller size and display the file content --
83 -- Testing ftruncate() with file opening using rb mode --
84 -- Testing ftruncate(): truncate to smaller size and display the file content --
90 -- Testing ftruncate() with file opening using rt mode --
91 -- Testing ftruncate(): truncate to smaller size and display the file content --
97 -- Testing ftruncate() with file opening using r+ mode --
98 -- Testing ftruncate(): truncate to smaller size and display the file content --
105 -- Testing ftruncate() with file opening using r+b mode --
106 -- Testing ftruncate(): truncate to smaller size and display the file content --
113 -- Testing ftruncate() with file opening using r+t mode --
114 -- Testing ftruncate(): truncate to smaller size and display the file content --
121 -- Testing ftruncate() with file opening using w mode --
122 -- Testing ftruncate(): truncate to smaller size and display the file content --
129 -- Testing ftruncate() with file opening using wb mode --
130 -- Testing ftruncate(): truncate to smaller size and display the file content --
137 -- Testing ftruncate() with file opening using wt mode --
138 -- Testing ftruncate(): truncate to smaller size and display the file content --
145 -- Testing ftruncate() with file opening using w+ mode --
146 -- Testing ftruncate(): truncate to smaller size and display the file content --
153 -- Testing ftruncate() with file opening using w+b mode --
154 -- Testing ftruncate(): truncate to smaller size and display the file content --
161 -- Testing ftruncate() with file opening using w+t mode --
162 -- Testing ftruncate(): truncate to smaller size and display the file content --
169 -- Testing ftruncate() with file opening using x mode --
170 -- Testing ftruncate(): truncate to smaller size and display the file content --
177 -- Testing ftruncate() with file opening using xb mode --
178 -- Testing ftruncate(): truncate to smaller size and display the file content --
185 -- Testing ftruncate() with file opening using xt mode --
186 -- Testing ftruncate(): truncate to smaller size and display the file content --
193 -- Testing ftruncate() with file opening using x+ mode --
194 -- Testing ftruncate(): truncate to smaller size and display the file content --
201 -- Testing ftruncate() with file opening using x+b mode --
202 -- Testing ftruncate(): truncate to smaller size and display the file content --
209 -- Testing ftruncate() with file opening using x+t mode --
210 -- Testing ftruncate(): truncate to smaller size and display the file content --
217 -- Testing ftruncate() with file opening using a mode --
218 -- Testing ftruncate(): truncate to smaller size and display the file content --
225 -- Testing ftruncate() with file opening using ab mode --
226 -- Testing ftruncate(): truncate to smaller size and display the file content --
233 -- Testing ftruncate() with file opening using at mode --
234 -- Testing ftruncate(): truncate to smaller size and display the file content --
241 -- Testing ftruncate() with file opening using a+ mode --
242 -- Testing ftruncate(): truncate to smaller size and display the file content --
249 -- Testing ftruncate() with file opening using a+b mode --
250 -- Testing ftruncate(): truncate to smaller size and display the file content --
257 -- Testing ftruncate() with file opening using a+t mode --
258 -- Testing ftruncate(): truncate to smaller size and display the file content --
266 -- Testing ftruncate() with file having data of type text_with_new_line --
267 -- Testing ftruncate() with file opening using r mode --
268 -- Testing ftruncate(): truncate to smaller size and display the file content --
274 -- Testing ftruncate() with file opening using rb mode --
275 -- Testing ftruncate(): truncate to smaller size and display the file content --
281 -- Testing ftruncate() with file opening using rt mode --
282 -- Testing ftruncate(): truncate to smaller size and display the file content --
288 -- Testing ftruncate() with file opening using r+ mode --
289 -- Testing ftruncate(): truncate to smaller size and display the file content --
297 -- Testing ftruncate() with file opening using r+b mode --
298 -- Testing ftruncate(): truncate to smaller size and display the file content --
306 -- Testing ftruncate() with file opening using r+t mode --
307 -- Testing ftruncate(): truncate to smaller size and display the file content --
315 -- Testing ftruncate() with file opening using w mode --
316 -- Testing ftruncate(): truncate to smaller size and display the file content --
324 -- Testing ftruncate() with file opening using wb mode --
325 -- Testing ftruncate(): truncate to smaller size and display the file content --
333 -- Testing ftruncate() with file opening using wt mode --
334 -- Testing ftruncate(): truncate to smaller size and display the file content --
342 -- Testing ftruncate() with file opening using w+ mode --
343 -- Testing ftruncate(): truncate to smaller size and display the file content --
351 -- Testing ftruncate() with file opening using w+b mode --
352 -- Testing ftruncate(): truncate to smaller size and display the file content --
360 -- Testing ftruncate() with file opening using w+t mode --
361 -- Testing ftruncate(): truncate to smaller size and display the file content --
369 -- Testing ftruncate() with file opening using x mode --
370 -- Testing ftruncate(): truncate to smaller size and display the file content --
378 -- Testing ftruncate() with file opening using xb mode --
379 -- Testing ftruncate(): truncate to smaller size and display the file content --
387 -- Testing ftruncate() with file opening using xt mode --
388 -- Testing ftruncate(): truncate to smaller size and display the file content --
396 -- Testing ftruncate() with file opening using x+ mode --
397 -- Testing ftruncate(): truncate to smaller size and display the file content --
405 -- Testing ftruncate() with file opening using x+b mode --
406 -- Testing ftruncate(): truncate to smaller size and display the file content --
414 -- Testing ftruncate() with file opening using x+t mode --
415 -- Testing ftruncate(): truncate to smaller size and display the file content --
423 -- Testing ftruncate() with file opening using a mode --
424 -- Testing ftruncate(): truncate to smaller size and display the file content --
432 -- Testing ftruncate() with file opening using ab mode --
433 -- Testing ftruncate(): truncate to smaller size and display the file content --
441 -- Testing ftruncate() with file opening using at mode --
442 -- Testing ftruncate(): truncate to smaller size and display the file content --
450 -- Testing ftruncate() with file opening using a+ mode --
451 -- Testing ftruncate(): truncate to smaller size and display the file content --
459 -- Testing ftruncate() with file opening using a+b mode --
460 -- Testing ftruncate(): truncate to smaller size and display the file content --
468 -- Testing ftruncate() with file opening using a+t mode --
469 -- Testing ftruncate(): truncate to smaller size and display the file content --