Lines Matching refs:size
2 Test ftruncate() function : usage variations - truncate file to current size
12 Prototype: bool ftruncate ( resource $handle, int $size );
53 echo "-- Testing ftruncate(): truncate file to size = current size --\n";
54 /* truncate the file to its current filesize, size should not change*/
63 clearstatcache(); // clear previous size value in cache
64 var_dump( filesize($filename) ); // new file size, should be same as before truncating
77 -- Testing ftruncate(): truncate file to size = current size --
85 -- Testing ftruncate(): truncate file to size = current size --
93 -- Testing ftruncate(): truncate file to size = current size --
101 -- Testing ftruncate(): truncate file to size = current size --
109 -- Testing ftruncate(): truncate file to size = current size --
117 -- Testing ftruncate(): truncate file to size = current size --
125 -- Testing ftruncate(): truncate file to size = current size --
133 -- Testing ftruncate(): truncate file to size = current size --
141 -- Testing ftruncate(): truncate file to size = current size --
149 -- Testing ftruncate(): truncate file to size = current size --
157 -- Testing ftruncate(): truncate file to size = current size --
165 -- Testing ftruncate(): truncate file to size = current size --
173 -- Testing ftruncate(): truncate file to size = current size --
181 -- Testing ftruncate(): truncate file to size = current size --
189 -- Testing ftruncate(): truncate file to size = current size --
197 -- Testing ftruncate(): truncate file to size = current size --
205 -- Testing ftruncate(): truncate file to size = current size --
213 -- Testing ftruncate(): truncate file to size = current size --
221 -- Testing ftruncate(): truncate file to size = current size --
229 -- Testing ftruncate(): truncate file to size = current size --
237 -- Testing ftruncate(): truncate file to size = current size --
245 -- Testing ftruncate(): truncate file to size = current size --
253 -- Testing ftruncate(): truncate file to size = current size --
261 -- Testing ftruncate(): truncate file to size = current size --
271 -- Testing ftruncate(): truncate file to size = current size --
279 -- Testing ftruncate(): truncate file to size = current size --
287 -- Testing ftruncate(): truncate file to size = current size --
295 -- Testing ftruncate(): truncate file to size = current size --
303 -- Testing ftruncate(): truncate file to size = current size --
311 -- Testing ftruncate(): truncate file to size = current size --
319 -- Testing ftruncate(): truncate file to size = current size --
327 -- Testing ftruncate(): truncate file to size = current size --
335 -- Testing ftruncate(): truncate file to size = current size --
343 -- Testing ftruncate(): truncate file to size = current size --
351 -- Testing ftruncate(): truncate file to size = current size --
359 -- Testing ftruncate(): truncate file to size = current size --
367 -- Testing ftruncate(): truncate file to size = current size --
375 -- Testing ftruncate(): truncate file to size = current size --
383 -- Testing ftruncate(): truncate file to size = current size --
391 -- Testing ftruncate(): truncate file to size = current size --
399 -- Testing ftruncate(): truncate file to size = current size --
407 -- Testing ftruncate(): truncate file to size = current size --
415 -- Testing ftruncate(): truncate file to size = current size --
423 -- Testing ftruncate(): truncate file to size = current size --
431 -- Testing ftruncate(): truncate file to size = current size --
439 -- Testing ftruncate(): truncate file to size = current size --
447 -- Testing ftruncate(): truncate file to size = current size --
455 -- Testing ftruncate(): truncate file to size = current size --