Lines Matching refs:bytes

7  Description: reads up to length bytes from the file pointer referenced by handle.
8 Reading stops when up to length bytes have been read, EOF (end of file) is
10 opening userspace stream) when 8192 bytes have been read whichever comes first.
18 bytes are read.
20 $read_size : No. of bytes to be read.
30 echo "Reading $read_size bytes from file, expecting $expect_size bytes ... ";
37 echo "Error reading file, total number of bytes read = ".strlen($data_from_file)."\n";
78 echo "-- Reading beyond filesize, expeceted : 1024 bytes --\n";
85 echo "-- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --\n";
109 -- Reading beyond filesize, expeceted : 1024 bytes --
112 Reading 1030 bytes from file, expecting 0 bytes ...
113 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
117 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
120 Reading 10 bytes from file, expecting 0 bytes ...
121 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
126 -- Reading beyond filesize, expeceted : 1024 bytes --
129 Reading 1030 bytes from file, expecting 0 bytes ...
130 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
134 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
137 Reading 10 bytes from file, expecting 0 bytes ...
138 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
143 -- Reading beyond filesize, expeceted : 1024 bytes --
146 Reading 1030 bytes from file, expecting 0 bytes ...
147 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
151 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
154 Reading 10 bytes from file, expecting 0 bytes ...
155 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
160 -- Reading beyond filesize, expeceted : 1024 bytes --
163 Reading 1030 bytes from file, expecting 0 bytes ...
164 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
168 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
171 Reading 10 bytes from file, expecting 0 bytes ...
172 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
177 -- Reading beyond filesize, expeceted : 1024 bytes --
180 Reading 1030 bytes from file, expecting 0 bytes ...
181 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
185 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
188 Reading 10 bytes from file, expecting 0 bytes ...
189 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
194 -- Reading beyond filesize, expeceted : 1024 bytes --
197 Reading 1030 bytes from file, expecting 0 bytes ...
198 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
202 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
205 Reading 10 bytes from file, expecting 0 bytes ...
206 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
211 -- Reading beyond filesize, expeceted : 1024 bytes --
214 Reading 1030 bytes from file, expecting 0 bytes ...
215 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
219 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
222 Reading 10 bytes from file, expecting 0 bytes ...
223 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
228 -- Reading beyond filesize, expeceted : 1024 bytes --
231 Reading 1030 bytes from file, expecting 0 bytes ...
232 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
236 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
239 Reading 10 bytes from file, expecting 0 bytes ...
240 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
245 -- Reading beyond filesize, expeceted : 1024 bytes --
248 Reading 1030 bytes from file, expecting 0 bytes ...
249 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
253 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
256 Reading 10 bytes from file, expecting 0 bytes ...
257 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
264 -- Reading beyond filesize, expeceted : 1024 bytes --
267 Reading 1030 bytes from file, expecting 0 bytes ...
268 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
272 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
275 Reading 10 bytes from file, expecting 0 bytes ...
276 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
281 -- Reading beyond filesize, expeceted : 1024 bytes --
284 Reading 1030 bytes from file, expecting 0 bytes ...
285 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
289 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
292 Reading 10 bytes from file, expecting 0 bytes ...
293 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
298 -- Reading beyond filesize, expeceted : 1024 bytes --
301 Reading 1030 bytes from file, expecting 0 bytes ...
302 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
306 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
309 Reading 10 bytes from file, expecting 0 bytes ...
310 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
315 -- Reading beyond filesize, expeceted : 1024 bytes --
318 Reading 1030 bytes from file, expecting 0 bytes ...
319 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
323 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
326 Reading 10 bytes from file, expecting 0 bytes ...
327 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
332 -- Reading beyond filesize, expeceted : 1024 bytes --
335 Reading 1030 bytes from file, expecting 0 bytes ...
336 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
340 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
343 Reading 10 bytes from file, expecting 0 bytes ...
344 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
349 -- Reading beyond filesize, expeceted : 1024 bytes --
352 Reading 1030 bytes from file, expecting 0 bytes ...
353 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
357 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
360 Reading 10 bytes from file, expecting 0 bytes ...
361 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
366 -- Reading beyond filesize, expeceted : 1024 bytes --
369 Reading 1030 bytes from file, expecting 0 bytes ...
370 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
374 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
377 Reading 10 bytes from file, expecting 0 bytes ...
378 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
383 -- Reading beyond filesize, expeceted : 1024 bytes --
386 Reading 1030 bytes from file, expecting 0 bytes ...
387 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
391 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
394 Reading 10 bytes from file, expecting 0 bytes ...
395 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
400 -- Reading beyond filesize, expeceted : 1024 bytes --
403 Reading 1030 bytes from file, expecting 0 bytes ...
404 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
408 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
411 Reading 10 bytes from file, expecting 0 bytes ...
412 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
419 -- Reading beyond filesize, expeceted : 1024 bytes --
422 Reading 1030 bytes from file, expecting 0 bytes ...
423 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
427 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
430 Reading 10 bytes from file, expecting 0 bytes ...
431 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
436 -- Reading beyond filesize, expeceted : 1024 bytes --
439 Reading 1030 bytes from file, expecting 0 bytes ...
440 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
444 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
447 Reading 10 bytes from file, expecting 0 bytes ...
448 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
453 -- Reading beyond filesize, expeceted : 1024 bytes --
456 Reading 1030 bytes from file, expecting 0 bytes ...
457 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
461 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
464 Reading 10 bytes from file, expecting 0 bytes ...
465 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
470 -- Reading beyond filesize, expeceted : 1024 bytes --
473 Reading 1030 bytes from file, expecting 0 bytes ...
474 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
478 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
481 Reading 10 bytes from file, expecting 0 bytes ...
482 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
487 -- Reading beyond filesize, expeceted : 1024 bytes --
490 Reading 1030 bytes from file, expecting 0 bytes ...
491 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
495 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
498 Reading 10 bytes from file, expecting 0 bytes ...
499 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
504 -- Reading beyond filesize, expeceted : 1024 bytes --
507 Reading 1030 bytes from file, expecting 0 bytes ...
508 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
512 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
515 Reading 10 bytes from file, expecting 0 bytes ...
516 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
521 -- Reading beyond filesize, expeceted : 1024 bytes --
524 Reading 1030 bytes from file, expecting 0 bytes ...
525 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
529 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
532 Reading 10 bytes from file, expecting 0 bytes ...
533 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
538 -- Reading beyond filesize, expeceted : 1024 bytes --
541 Reading 1030 bytes from file, expecting 0 bytes ...
542 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
546 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
549 Reading 10 bytes from file, expecting 0 bytes ...
550 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
555 -- Reading beyond filesize, expeceted : 1024 bytes --
558 Reading 1030 bytes from file, expecting 0 bytes ...
559 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
563 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
566 Reading 10 bytes from file, expecting 0 bytes ...
567 Notice: fread(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d