Home
last modified time | relevance | path

Searched refs:toRead (Results 1 – 3 of 3) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DFileDisk.java113 int toRead = dest.remaining(); in read() local
114 if ((devOffset + toRead) > getSize()) throw new IOException( in read()
117 while (toRead > 0) { in read()
120 toRead -= read; in read()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DZlibExtractor.kt98 val toRead = minOf((buffer.length - start).toInt(), SIZE_TO_CHECK) in extractorFor() constant
102 if (toRead <= 6) { in extractorFor()
107 val tmpBuffer = ByteArray(toRead) { buffer[start + it] } in extractorFor()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java919 long toRead = Math.min(len, availableToRead); in directOpen() local
921 if (toRead == 0) { in directOpen()
925 if (toRead > Integer.MAX_VALUE) { in directOpen()
926 throw new IOException("Cannot read " + toRead + " bytes."); in directOpen()
929 int r = directRead(mCurr, b, off, Ints.checkedCast(toRead)); in directOpen()