Home
last modified time | relevance | path

Searched refs:size (Results 201 – 225 of 674) sorted by last modified time

12345678910>>...27

/PHP-7.2/ext/standard/tests/file/
H A Dfilesize_variation1-win32-mb.phpt2 Test filesize() function: usage variations - size of files
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "*** Checking filesize() with different size of files ***\n";
22 for($size = 1; $size <10000; $size = $size+1000)
24 create_files($file_path, 1, "numeric", 0755, $size, "w", "私はガラスを食べられますfilesize_variation");
34 *** Checking filesize() with different size of files ***
H A Dfilesize_variation1-win32.phpt2 Test filesize() function: usage variations - size of files
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "*** Checking filesize() with different size of files ***\n";
22 for($size = 1; $size <10000; $size = $size+1000)
24 create_files($file_path, 1, "numeric", 0755, $size, "w", "filesize_variation");
34 *** Checking filesize() with different size of files ***
H A Dfilesize_variation1.phpt2 Test filesize() function: usage variations - size of files
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "*** Checking filesize() with different size of files ***\n";
22 for($size = 1; $size <10000; $size = $size+1000)
24 create_files($file_path, 1, "numeric", 0755, $size, "w", "filesize_variation");
33 *** Checking filesize() with different size of files ***
H A Dfilesize_variation2-win32.phpt2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
22 echo "-- Creating a base dir, and checking its size --\n";
27 echo "-- Creating a file inside base dir, and checking dir & file size --\n";
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
71 -- Creating a base dir, and checking its size --
[all …]
H A Dfilesize_variation2.phpt2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
22 echo "-- Creating a base dir, and checking its size --\n";
27 echo "-- Creating a file inside base dir, and checking dir & file size --\n";
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
71 -- Creating a base dir, and checking its size --
[all …]
H A Dfilesize_variation3-win32.phpt2 Test filesize() function: usage variations - file size after truncate
12 Description : Returns the size of the file in bytes, or FALSE
21 fwrite($file_handle, str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes
25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
26 // truncate the same file, in the loop , each time with the decrement in size by 1200 bytes,
27 // until -1200bytes size
28 for($size = filesize($filename); $size>=-1200; $size-=1200) {
30 var_dump( ftruncate($file_handle, $size) );
69 Warning: ftruncate(): Negative size is not supported in %s on line %d
H A Dfilesize_variation3.phpt2 Test filesize() function: usage variations - file size after truncate
12 Description : Returns the size of the file in bytes, or FALSE
21 fwrite($file_handle, str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes
25 // truncate the file created earlier in subdir, the size of the file is 12000bytes
26 // truncate the same file, in the loop , each time with the decrement in size by 1200 bytes,
27 // until -1200bytes size
28 for($size = filesize($filename); $size>=-1200; $size-=1200) {
30 var_dump( ftruncate($file_handle, $size) );
69 Warning: ftruncate(): Negative size is not supported in %s on line %d
H A Dfilesize_variation4-win32.phpt12 Description : Returns the size of the file in bytes, or FALSE
24 echo "-- opening the file in 'w' mode and get the size --\n";
29 var_dump( filesize($filename) ); //size of the file = strlen of string
32 echo "-- opening the file in 'wt' mode and get the size --\n";
37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string
54 echo "-- creating a hole and checking the size --\n";
61 echo "-- writing data after hole and checking the size --\n";
90 -- opening the file in 'w' mode and get the size --
93 -- opening the file in 'wt' mode and get the size --
100 -- creating a hole and checking the size --
[all …]
H A Dfilesize_variation4.phpt12 Description : Returns the size of the file in bytes, or FALSE
26 echo "-- opening the file in 'w' mode and get the size --\n";
31 var_dump( filesize($filename) ); //size of the file = strlen of string
34 echo "-- opening the file in 'wt' mode and get the size --\n";
39 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes
56 echo "-- creating a hole and checking the size --\n";
63 echo "-- writing data after hole and checking the size --\n";
92 -- opening the file in 'w' mode and get the size --
95 -- opening the file in 'wt' mode and get the size --
102 -- creating a hole and checking the size --
[all …]
H A Dfile.inc122 $size = $file_size;
124 if ( $size > $chunk_size ) {
129 $chunk_size = $size;
136 $size -= $chunk_size;
137 } while ( $size > 0 );
219 $size = size of the fill in terms of kilobyte, i.e size of the file.
237 $size = 1,
252 // check for proper size
253 if ( $size == 0 )
257 $file_size = $size;
[all …]
H A Dfile_get_contents_variation9.phpt26 //Data should be more than the size of a link.
H A Dfgets_variation5.phpt38 /* read with length beyong file size */
H A Dfgetcsv_variation6.phpt2 Test fgetcsv() : usage variations - with length less than line size
12 value less than the line size
15 echo "*** Testing fgetcsv() : with length less than line size ***\n";
77 // use length as less than the actual size of the line
99 *** Testing fgetcsv() : with length less than line size ***
H A Dfgetcsv_variation17.phpt2 Test fgetcsv() : usage variations - with default enclosure & length less than line size
11 and length value less than the size of line being read
14 echo "*** Testing fgetcsv() : with default enclosure & length less than line size ***\n";
71 // use length as less than the actual size of the line
94 *** Testing fgetcsv() : with default enclosure & length less than line size ***
H A Dbug71882.phpt10 Warning: ftruncate(): Negative size is not supported in %s%ebug71882.php on line %d
H A Dcopy_variation17.phpt39 var_dump( filesize($dest_file_name) ); //size of destination
H A Dcopy_variation18.phpt37 "rdev", "size", "mtime", "ctime",
H A Dcopy_variation2-win32-mb.phpt16 and checking the existence and size of destination files
H A Dcopy_variation2-win32.phpt16 and checking the existence and size of destination files
H A Dcopy_variation2.phpt16 and checking the existence and size of destination files
H A Dcopy_variation7.phpt32 var_dump( filesize($file_path."/copy_variation7_symlink.tmp") ); //size of the symlink itself
34 var_dump( filesize($file_path."/copy_variation7_hardlink.tmp") ); //size of the file
H A Dcopy_variation1.phpt11 and checking the existence and size of destination files
H A Dcopy_variation11.phpt24 var_dump( filesize($file) ); //size of source before copy
27 var_dump( filesize($dir) ); //size of destination before copy
42 var_dump( filesize($file) ); //size of source after copy
43 var_dump( filesize($dir) ); //size of destination after copy
H A Dcopy_variation14.phpt27 var_dump( filesize($file) ); //size of the source
H A Dcopy_variation15.phpt45 var_dump( filesize($file) ); //size of source

Completed in 37 milliseconds

12345678910>>...27