Lines Matching refs:ftruncate
2 Test ftruncate() function : usage variations - truncate file to bigger size
12 Prototype: bool ftruncate ( resource $handle, int $size );
19 echo "*** Testing ftruncate() : usage variations ***\n";
21 /* test ftruncate with file opened in different modes */
30 echo "\n-- Testing ftruncate() with file having data of type ". $file_content_type ." --\n";
33 echo "-- Testing ftruncate() with file opening using $file_modes[$mode_counter] mode --\n";
53 echo "-- Testing ftruncate(): try truncating file to size, bigger than existing --\n";
59 var_dump( ftruncate($file_handle, $new_size) ); // truncate it
74 *** Testing ftruncate() : usage variations ***
76 -- Testing ftruncate() with file having data of type numeric --
77 -- Testing ftruncate() with file opening using r mode --
78 -- Testing ftruncate(): try truncating file to size, bigger than existing --
85 -- Testing ftruncate() with file opening using rb mode --
86 -- Testing ftruncate(): try truncating file to size, bigger than existing --
93 -- Testing ftruncate() with file opening using rt mode --
94 -- Testing ftruncate(): try truncating file to size, bigger than existing --
101 -- Testing ftruncate() with file opening using r+ mode --
102 -- Testing ftruncate(): try truncating file to size, bigger than existing --
109 -- Testing ftruncate() with file opening using r+b mode --
110 -- Testing ftruncate(): try truncating file to size, bigger than existing --
117 -- Testing ftruncate() with file opening using r+t mode --
118 -- Testing ftruncate(): try truncating file to size, bigger than existing --
125 -- Testing ftruncate() with file opening using w mode --
126 -- Testing ftruncate(): try truncating file to size, bigger than existing --
133 -- Testing ftruncate() with file opening using wb mode --
134 -- Testing ftruncate(): try truncating file to size, bigger than existing --
141 -- Testing ftruncate() with file opening using wt mode --
142 -- Testing ftruncate(): try truncating file to size, bigger than existing --
149 -- Testing ftruncate() with file opening using w+ mode --
150 -- Testing ftruncate(): try truncating file to size, bigger than existing --
157 -- Testing ftruncate() with file opening using w+b mode --
158 -- Testing ftruncate(): try truncating file to size, bigger than existing --
165 -- Testing ftruncate() with file opening using w+t mode --
166 -- Testing ftruncate(): try truncating file to size, bigger than existing --
173 -- Testing ftruncate() with file opening using x mode --
174 -- Testing ftruncate(): try truncating file to size, bigger than existing --
181 -- Testing ftruncate() with file opening using xb mode --
182 -- Testing ftruncate(): try truncating file to size, bigger than existing --
189 -- Testing ftruncate() with file opening using xt mode --
190 -- Testing ftruncate(): try truncating file to size, bigger than existing --
197 -- Testing ftruncate() with file opening using x+ mode --
198 -- Testing ftruncate(): try truncating file to size, bigger than existing --
205 -- Testing ftruncate() with file opening using x+b mode --
206 -- Testing ftruncate(): try truncating file to size, bigger than existing --
213 -- Testing ftruncate() with file opening using x+t mode --
214 -- Testing ftruncate(): try truncating file to size, bigger than existing --
221 -- Testing ftruncate() with file opening using a mode --
222 -- Testing ftruncate(): try truncating file to size, bigger than existing --
229 -- Testing ftruncate() with file opening using ab mode --
230 -- Testing ftruncate(): try truncating file to size, bigger than existing --
237 -- Testing ftruncate() with file opening using at mode --
238 -- Testing ftruncate(): try truncating file to size, bigger than existing --
245 -- Testing ftruncate() with file opening using a+ mode --
246 -- Testing ftruncate(): try truncating file to size, bigger than existing --
253 -- Testing ftruncate() with file opening using a+b mode --
254 -- Testing ftruncate(): try truncating file to size, bigger than existing --
261 -- Testing ftruncate() with file opening using a+t mode --
262 -- Testing ftruncate(): try truncating file to size, bigger than existing --
270 -- Testing ftruncate() with file having data of type text_with_new_line --
271 -- Testing ftruncate() with file opening using r mode --
272 -- Testing ftruncate(): try truncating file to size, bigger than existing --
279 -- Testing ftruncate() with file opening using rb mode --
280 -- Testing ftruncate(): try truncating file to size, bigger than existing --
287 -- Testing ftruncate() with file opening using rt mode --
288 -- Testing ftruncate(): try truncating file to size, bigger than existing --
295 -- Testing ftruncate() with file opening using r+ mode --
296 -- Testing ftruncate(): try truncating file to size, bigger than existing --
303 -- Testing ftruncate() with file opening using r+b mode --
304 -- Testing ftruncate(): try truncating file to size, bigger than existing --
311 -- Testing ftruncate() with file opening using r+t mode --
312 -- Testing ftruncate(): try truncating file to size, bigger than existing --
319 -- Testing ftruncate() with file opening using w mode --
320 -- Testing ftruncate(): try truncating file to size, bigger than existing --
327 -- Testing ftruncate() with file opening using wb mode --
328 -- Testing ftruncate(): try truncating file to size, bigger than existing --
335 -- Testing ftruncate() with file opening using wt mode --
336 -- Testing ftruncate(): try truncating file to size, bigger than existing --
343 -- Testing ftruncate() with file opening using w+ mode --
344 -- Testing ftruncate(): try truncating file to size, bigger than existing --
351 -- Testing ftruncate() with file opening using w+b mode --
352 -- Testing ftruncate(): try truncating file to size, bigger than existing --
359 -- Testing ftruncate() with file opening using w+t mode --
360 -- Testing ftruncate(): try truncating file to size, bigger than existing --
367 -- Testing ftruncate() with file opening using x mode --
368 -- Testing ftruncate(): try truncating file to size, bigger than existing --
375 -- Testing ftruncate() with file opening using xb mode --
376 -- Testing ftruncate(): try truncating file to size, bigger than existing --
383 -- Testing ftruncate() with file opening using xt mode --
384 -- Testing ftruncate(): try truncating file to size, bigger than existing --
391 -- Testing ftruncate() with file opening using x+ mode --
392 -- Testing ftruncate(): try truncating file to size, bigger than existing --
399 -- Testing ftruncate() with file opening using x+b mode --
400 -- Testing ftruncate(): try truncating file to size, bigger than existing --
407 -- Testing ftruncate() with file opening using x+t mode --
408 -- Testing ftruncate(): try truncating file to size, bigger than existing --
415 -- Testing ftruncate() with file opening using a mode --
416 -- Testing ftruncate(): try truncating file to size, bigger than existing --
423 -- Testing ftruncate() with file opening using ab mode --
424 -- Testing ftruncate(): try truncating file to size, bigger than existing --
431 -- Testing ftruncate() with file opening using at mode --
432 -- Testing ftruncate(): try truncating file to size, bigger than existing --
439 -- Testing ftruncate() with file opening using a+ mode --
440 -- Testing ftruncate(): try truncating file to size, bigger than existing --
447 -- Testing ftruncate() with file opening using a+b mode --
448 -- Testing ftruncate(): try truncating file to size, bigger than existing --
455 -- Testing ftruncate() with file opening using a+t mode --
456 -- Testing ftruncate(): try truncating file to size, bigger than existing --