Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 198) sorted by relevance

12345678

/PHP-5.4/ext/standard/tests/file/
H A Dfread_variation2.phpt114 Reading 1024 bytes from file, expecting 0 bytes ... OK
121 Reading 1000 bytes from file, expecting 0 bytes ... OK
129 Reading 1024 bytes from file, expecting 0 bytes ... OK
136 Reading 1000 bytes from file, expecting 0 bytes ... OK
144 Reading 1024 bytes from file, expecting 0 bytes ... OK
151 Reading 1000 bytes from file, expecting 0 bytes ... OK
159 Reading 1024 bytes from file, expecting 0 bytes ... OK
166 Reading 1000 bytes from file, expecting 0 bytes ... OK
174 Reading 1024 bytes from file, expecting 0 bytes ... OK
181 Reading 1000 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation3-win32.phpt127 Reading 10 bytes from file, expecting 0 bytes ... OK
141 Reading 10 bytes from file, expecting 0 bytes ... OK
155 Reading 10 bytes from file, expecting 0 bytes ... OK
169 Reading 10 bytes from file, expecting 0 bytes ... OK
183 Reading 10 bytes from file, expecting 0 bytes ... OK
197 Reading 10 bytes from file, expecting 0 bytes ... OK
211 Reading 10 bytes from file, expecting 0 bytes ... OK
225 Reading 10 bytes from file, expecting 0 bytes ... OK
239 Reading 10 bytes from file, expecting 0 bytes ... OK
255 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation3.phpt127 Reading 10 bytes from file, expecting 0 bytes ... OK
141 Reading 10 bytes from file, expecting 0 bytes ... OK
155 Reading 10 bytes from file, expecting 0 bytes ... OK
169 Reading 10 bytes from file, expecting 0 bytes ... OK
183 Reading 10 bytes from file, expecting 0 bytes ... OK
197 Reading 10 bytes from file, expecting 0 bytes ... OK
211 Reading 10 bytes from file, expecting 0 bytes ... OK
225 Reading 10 bytes from file, expecting 0 bytes ... OK
239 Reading 10 bytes from file, expecting 0 bytes ... OK
255 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation4-win32.phpt118 Reading 1030 bytes from file, expecting 0 bytes ... OK
124 Reading 10 bytes from file, expecting 0 bytes ... OK
137 Reading 10 bytes from file, expecting 0 bytes ... OK
150 Reading 10 bytes from file, expecting 0 bytes ... OK
163 Reading 10 bytes from file, expecting 0 bytes ... OK
176 Reading 10 bytes from file, expecting 0 bytes ... OK
189 Reading 10 bytes from file, expecting 0 bytes ... OK
202 Reading 10 bytes from file, expecting 0 bytes ... OK
215 Reading 10 bytes from file, expecting 0 bytes ... OK
228 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation4.phpt118 Reading 1030 bytes from file, expecting 0 bytes ... OK
124 Reading 10 bytes from file, expecting 0 bytes ... OK
137 Reading 10 bytes from file, expecting 0 bytes ... OK
150 Reading 10 bytes from file, expecting 0 bytes ... OK
163 Reading 10 bytes from file, expecting 0 bytes ... OK
176 Reading 10 bytes from file, expecting 0 bytes ... OK
189 Reading 10 bytes from file, expecting 0 bytes ... OK
202 Reading 10 bytes from file, expecting 0 bytes ... OK
215 Reading 10 bytes from file, expecting 0 bytes ... OK
228 Reading 10 bytes from file, expecting 0 bytes ... OK
[all …]
H A Dfread_variation1.phpt115 Reading 1024 bytes from file, expecting 1024 bytes ... OK
122 Reading 1000 bytes from file, expecting 1000 bytes ... OK
130 Reading 1024 bytes from file, expecting 1024 bytes ... OK
137 Reading 1000 bytes from file, expecting 1000 bytes ... OK
145 Reading 1024 bytes from file, expecting 1024 bytes ... OK
152 Reading 1000 bytes from file, expecting 1000 bytes ... OK
160 Reading 1024 bytes from file, expecting 1024 bytes ... OK
167 Reading 1000 bytes from file, expecting 1000 bytes ... OK
175 Reading 1024 bytes from file, expecting 1024 bytes ... OK
182 Reading 1000 bytes from file, expecting 1000 bytes ... OK
[all …]
H A Dfread_basic.phpt109 Reading 1024 bytes from file, expecting 1024 bytes ... OK
116 Reading 1030 bytes from file, expecting 1024 bytes ... OK
123 Reading 1000 bytes from file, expecting 1000 bytes ... OK
131 Reading 1024 bytes from file, expecting 1024 bytes ... OK
138 Reading 1030 bytes from file, expecting 1024 bytes ... OK
145 Reading 1000 bytes from file, expecting 1000 bytes ... OK
153 Reading 1024 bytes from file, expecting 1024 bytes ... OK
160 Reading 1030 bytes from file, expecting 1024 bytes ... OK
167 Reading 1000 bytes from file, expecting 1000 bytes ... OK
175 Reading 1024 bytes from file, expecting 1024 bytes ... OK
[all …]
H A Dfilesize_variation4-win32.phpt12 Description : Returns the size of the file in bytes, or FALSE
34 var_dump( strlen($string) ); //strlen of the string = 191 bytes
37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string
44 var_dump( filesize($filename) ); //204 bytes
51 var_dump( filesize($filename) ); //218 bytes
56 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
58 var_dump( filesize($filename) ); //220 bytes
63 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
65 var_dump( filesize($filename) ); //226 bytes
70 var_dump( filesize($filename) ); //0 bytes
[all …]
H A Dfilesize_variation4.phpt12 Description : Returns the size of the file in bytes, or FALSE
36 var_dump( strlen($string) ); //strlen of the string = 191 bytes
39 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes
46 var_dump( filesize($filename) ); //203 bytes
53 var_dump( filesize($filename) ); //216 bytes
58 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
60 var_dump( filesize($filename) ); //220 bytes
65 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
67 var_dump( filesize($filename) ); //226 bytes
72 var_dump( filesize($filename) ); //0 bytes
[all …]
H A Dfilesize_variation3-win32.phpt12 Description : Returns the size of the file in bytes, or FALSE
21 fwrite($file_handle, (binary)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
H A Dfilesize_variation3.phpt12 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
H A Dfread_fwrite_basic.phpt15 Description: reads up to length bytes from the file pointer referenced by handle.
16 Reading stops when up to length bytes have been read, EOF (end of file) is
18 opening userspace stream) when 8192 bytes have been read whichever comes first.
53 echo "last bytes: ".fread($h, strlen($out))."\n";
71 last bytes: xtra
/PHP-5.4/ext/zlib/tests/
H A Dgztell_basic2.phpt18 echo "bytes written=".gzwrite($h, str_repeat(b'1', $size))."\n";;
28 bytes written=7
30 bytes written=22
32 bytes written=54
34 bytes written=17
36 bytes written=27
38 bytes written=15
40 bytes written=1000
H A Dgzseek_variation6.phpt13 // move 40 bytes
14 echo "move 40 bytes\n";
30 move 40 bytes
/PHP-5.4/ext/standard/tests/serialize/
H A Dbug25378.phpt21 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d
24 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d
27 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d
30 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d
33 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d
36 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d
39 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d
48 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d
51 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d
54 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d
[all …]
H A Dbug67072_2.phpt37 Notice: unserialize(): Error at offset 26 of 66 bytes in %s on line 4
49 Notice: unserialize(): Error at offset 24 of 25 bytes in %s on line 9
54 Notice: unserialize(): Error at offset 26 of 27 bytes in %s on line 9
68 Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line 9
/PHP-5.4/ext/oci8/tests/
H A Dlob_030.phpt42 echo "Test 1: A CLOB with an even number of bytes\n";
45 echo "Test 2: A CLOB with an odd number of bytes\n";
51 echo "Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)\n";
54 echo "Test 5: A CLOB of 1049028-1 bytes\n";
57 echo "Test 6: A CLOB of 1049028+1 bytes\n";
66 Test 1: A CLOB with an even number of bytes
68 Test 2: A CLOB with an odd number of bytes
70 Test 3: A CLOB of 1048576 bytes (== size of PHP_OCI_LOB_BUFFER_SIZE at time of test creation)
72 Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)
74 Test 5: A CLOB of 1049028-1 bytes
[all …]
/PHP-5.4/ext/spl/tests/
H A DSplObjectStorage_unserialize_invalid_parameter2.phpt29 Error at offset %d of %d bytes
30 Error at offset %d of %d bytes
31 Error at offset %d of %d bytes
32 Error at offset %d of %d bytes
33 Error at offset %d of %d bytes
H A DSplObjectStorage_unserialize_bad.phpt23 Error at offset 6 of 34 bytes
24 Error at offset 46 of 89 bytes
47 Error at offset 79 of 78 bytes
/PHP-5.4/sapi/webjames/
H A Dwebjames.c48 int bytes; in sapi_webjames_ub_write() local
50 if (bytes<0) { in sapi_webjames_ub_write()
55 return bytes; in sapi_webjames_ub_write()
57 str += bytes; in sapi_webjames_ub_write()
58 str_length -= bytes; in sapi_webjames_ub_write()
59 totalbytes += bytes; in sapi_webjames_ub_write()
71 int bytes; in sapi_webjames_send_header() local
72 bytes = webjames_writebuffer(WG(conn), header, len); in sapi_webjames_send_header()
73 if (bytes<0) { in sapi_webjames_send_header()
80 header += bytes; in sapi_webjames_send_header()
[all …]
/PHP-5.4/ext/dom/tests/
H A DDOMDocument_save_basic.phpt24 echo 'Wrote: ' . $doc->save($temp_filename) . ' bytes'; // Wrote: 72 bytes
32 Wrote: 72 bytes
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_query_local_infile_large.phpt33 $bytes = 0;
35 while (($bytes < $max_bytes) && ((microtime(true) - $start) < $runtime)) {
37 $bytes += fwrite($fp, (binary)(++$rowno . ";" . $data));
39 $bytes += fwrite($fp, ++$rowno . ";" . $data);
42 printf("Filesize in bytes: %d\nRows: %d\n", $bytes, $rowno);
93 Filesize in bytes: %d
/PHP-5.4/ext/gd/libgd/
H A Dxbm.c44 int bytes = 0, i; in gdImageCreateFromXbm() local
80 bytes = (width * height / 8) + 1; in gdImageCreateFromXbm()
81 if (!bytes) { in gdImageCreateFromXbm()
95 if (!bytes || !max_bit) { in gdImageCreateFromXbm()
106 for (i = 0; i < bytes; i++) { in gdImageCreateFromXbm()
/PHP-5.4/tests/basic/
H A Drfc1867_post_max_size.phpt20 Warning: POST Content-Length of %d bytes exceeds the limit of 1 bytes in %s
/PHP-5.4/ext/standard/tests/streams/
H A Dbug61115-1.phpt17 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line …

Completed in 38 milliseconds

12345678