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