Searched refs:byteCount (Results 1 – 5 of 5) sorted by relevance
213 public long skip(long byteCount) throws IOException { in skip() argument218 return in.skip(byteCount); in skip()222 if (totalSkip > byteCount) { in skip()223 totalSkip = byteCount; in skip()226 byteCount -= totalSkip; in skip()227 while (byteCount > 0) { in skip()236 int toRead = (int) (byteCount > leftInBuffer ? leftInBuffer : byteCount); in skip()241 byteCount -= reads; in skip()244 if (byteCount > 0) { in skip()245 totalSkip += in.skip(byteCount); in skip()
224 int byteCount = 0; in calculateRequiredByteCountToStoreCodePoints() local232 byteCount += 3; in calculateRequiredByteCountToStoreCodePoints()235 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints()240 byteCount += 1; in calculateRequiredByteCountToStoreCodePoints()242 return byteCount; in calculateRequiredByteCountToStoreCodePoints()
81 public static Fingerprint fromInputStream(InputStream stream, long[] byteCount) in fromInputStream() argument97 if ((byteCount != null) && (byteCount.length > 0)) byteCount[0] = count; in fromInputStream()
35 int byteCount; in checksum() local36 while ((byteCount = in.read(bytes)) > 0) { in checksum()37 digester.update(bytes, 0, byteCount); in checksum()
137 public long skip(long byteCount) throws IOException { in skip() argument138 if (byteCount <= 0) { in skip()142 int flag = skipDecodedBytes((int) (0x7FFFFFFF & byteCount)); in skip()