Home | History | Annotate | Download | only in base

Lines Matching refs:read_bytes

298     unsigned long   read_bytes;
322 read_bytes = count;
330 read_bytes = Read( sysfile->file, sysfile->iobuf, IOBUF_SIZE );
331 if ( read_bytes == -1UL )
334 read_bytes = 0;
338 sysfile->iobuf_end = offset + read_bytes;
340 if ( read_bytes > count )
342 read_bytes = count;
351 read_bytes = Read( sysfile->file, buffer, count );
352 if ( read_bytes == -1UL )
355 read_bytes = 0;
361 bufsize = ( read_bytes > IOBUF_SIZE ) ? IOBUF_SIZE : read_bytes;
362 read_bytes;
364 CopyMem( &buffer[read_bytes - bufsize] , sysfile->iobuf, bufsize );
371 read_bytes = 0;
374 return read_bytes;