Lines Matching refs:bytes

13  Description: reads up to length bytes from the file pointer referenced by handle. 
14 Reading stops when up to length bytes have been read, EOF (end of file) is
16 opening userspace stream) when 8192 bytes have been read whichever comes first.
24 bytes are read.
26 $read_size : No. of bytes to be read.
36 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
43 echo "Error reading file, total number of bytes read = ".strlen($data_from_file)."\n";
84 echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
91 echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
115 -- Reading beyond filesize, expeceted : 1024 bytes --
118 Reading 1030 bytes from file, expecting 0 bytes ... OK
121 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
124 Reading 10 bytes from file, expecting 0 bytes ... OK
128 -- Reading beyond filesize, expeceted : 1024 bytes --
131 Reading 1030 bytes from file, expecting 0 bytes ... OK
134 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
137 Reading 10 bytes from file, expecting 0 bytes ... OK
141 -- Reading beyond filesize, expeceted : 1024 bytes --
144 Reading 1030 bytes from file, expecting 0 bytes ... OK
147 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
150 Reading 10 bytes from file, expecting 0 bytes ... OK
154 -- Reading beyond filesize, expeceted : 1024 bytes --
157 Reading 1030 bytes from file, expecting 0 bytes ... OK
160 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
163 Reading 10 bytes from file, expecting 0 bytes ... OK
167 -- Reading beyond filesize, expeceted : 1024 bytes --
170 Reading 1030 bytes from file, expecting 0 bytes ... OK
173 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
176 Reading 10 bytes from file, expecting 0 bytes ... OK
180 -- Reading beyond filesize, expeceted : 1024 bytes --
183 Reading 1030 bytes from file, expecting 0 bytes ... OK
186 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
189 Reading 10 bytes from file, expecting 0 bytes ... OK
193 -- Reading beyond filesize, expeceted : 1024 bytes --
196 Reading 1030 bytes from file, expecting 0 bytes ... OK
199 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
202 Reading 10 bytes from file, expecting 0 bytes ... OK
206 -- Reading beyond filesize, expeceted : 1024 bytes --
209 Reading 1030 bytes from file, expecting 0 bytes ... OK
212 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
215 Reading 10 bytes from file, expecting 0 bytes ... OK
219 -- Reading beyond filesize, expeceted : 1024 bytes --
222 Reading 1030 bytes from file, expecting 0 bytes ... OK
225 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
228 Reading 10 bytes from file, expecting 0 bytes ... OK
234 -- Reading beyond filesize, expeceted : 1024 bytes --
237 Reading 1030 bytes from file, expecting 0 bytes ... OK
240 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
243 Reading 10 bytes from file, expecting 0 bytes ... OK
247 -- Reading beyond filesize, expeceted : 1024 bytes --
250 Reading 1030 bytes from file, expecting 0 bytes ... OK
253 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
256 Reading 10 bytes from file, expecting 0 bytes ... OK
260 -- Reading beyond filesize, expeceted : 1024 bytes --
263 Reading 1030 bytes from file, expecting 0 bytes ... OK
266 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
269 Reading 10 bytes from file, expecting 0 bytes ... OK
273 -- Reading beyond filesize, expeceted : 1024 bytes --
276 Reading 1030 bytes from file, expecting 0 bytes ... OK
279 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
282 Reading 10 bytes from file, expecting 0 bytes ... OK
286 -- Reading beyond filesize, expeceted : 1024 bytes --
289 Reading 1030 bytes from file, expecting 0 bytes ... OK
292 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
295 Reading 10 bytes from file, expecting 0 bytes ... OK
299 -- Reading beyond filesize, expeceted : 1024 bytes --
302 Reading 1030 bytes from file, expecting 0 bytes ... OK
305 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
308 Reading 10 bytes from file, expecting 0 bytes ... OK
312 -- Reading beyond filesize, expeceted : 1024 bytes --
315 Reading 1030 bytes from file, expecting 0 bytes ... OK
318 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
321 Reading 10 bytes from file, expecting 0 bytes ... OK
325 -- Reading beyond filesize, expeceted : 1024 bytes --
328 Reading 1030 bytes from file, expecting 0 bytes ... OK
331 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
334 Reading 10 bytes from file, expecting 0 bytes ... OK
338 -- Reading beyond filesize, expeceted : 1024 bytes --
341 Reading 1030 bytes from file, expecting 0 bytes ... OK
344 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
347 Reading 10 bytes from file, expecting 0 bytes ... OK
353 -- Reading beyond filesize, expeceted : 1024 bytes --
356 Reading 1030 bytes from file, expecting 0 bytes ... OK
359 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
362 Reading 10 bytes from file, expecting 0 bytes ... OK
366 -- Reading beyond filesize, expeceted : 1024 bytes --
369 Reading 1030 bytes from file, expecting 0 bytes ... OK
372 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
375 Reading 10 bytes from file, expecting 0 bytes ... OK
379 -- Reading beyond filesize, expeceted : 1024 bytes --
382 Reading 1030 bytes from file, expecting 0 bytes ... OK
385 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
388 Reading 10 bytes from file, expecting 0 bytes ... OK
392 -- Reading beyond filesize, expeceted : 1024 bytes --
395 Reading 1030 bytes from file, expecting 0 bytes ... OK
398 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
401 Reading 10 bytes from file, expecting 0 bytes ... OK
405 -- Reading beyond filesize, expeceted : 1024 bytes --
408 Reading 1030 bytes from file, expecting 0 bytes ... OK
411 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
414 Reading 10 bytes from file, expecting 0 bytes ... OK
418 -- Reading beyond filesize, expeceted : 1024 bytes --
421 Reading 1030 bytes from file, expecting 0 bytes ... OK
424 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
427 Reading 10 bytes from file, expecting 0 bytes ... OK
431 -- Reading beyond filesize, expeceted : 1024 bytes --
434 Reading 1030 bytes from file, expecting 0 bytes ... OK
437 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
440 Reading 10 bytes from file, expecting 0 bytes ... OK
444 -- Reading beyond filesize, expeceted : 1024 bytes --
447 Reading 1030 bytes from file, expecting 0 bytes ... OK
450 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
453 Reading 10 bytes from file, expecting 0 bytes ... OK
457 -- Reading beyond filesize, expeceted : 1024 bytes --
460 Reading 1030 bytes from file, expecting 0 bytes ... OK
463 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
466 Reading 10 bytes from file, expecting 0 bytes ... OK