Lines Matching refs:read
191 while ((bytesRead = inputStream.read(buffer)) >= 0) {
221 * @param file to read (will not seek, so things like /proc files are OK)
230 // input stream, bytes read not equal to buffer size is not necessarily the correct
235 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes
238 int length = bis.read(data);
252 len = bis.read(data);
264 } else { // "cat" mode: size unknown, read it all in streaming fashion
269 len = bis.read(data);
310 while(cis.read(buf) >= 0) {
311 // Just read for checksum to get calculated.