HomeSort by relevance Sort by last modified time
    Searched refs:bytesRemaining (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
BoundedInputStream.java 30 private long bytesRemaining;
40 bytesRemaining = size;
45 if (bytesRemaining > 0) {
46 --bytesRemaining;
54 if (bytesRemaining == 0) {
58 if (bytesToRead > bytesRemaining) {
59 bytesToRead = (int) bytesRemaining;
63 bytesRemaining -= bytesRead;
ChecksumVerifyingInputStream.java 32 private long bytesRemaining;
41 this.bytesRemaining = size;
52 if (bytesRemaining <= 0) {
58 --bytesRemaining;
60 if (bytesRemaining == 0 && expectedChecksum != checksum.getValue()) {
88 bytesRemaining -= ret;
90 if (bytesRemaining <= 0 && expectedChecksum != checksum.getValue()) {
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
BoundedSeekableByteChannelInputStream.java 29 private long bytesRemaining;
34 this.bytesRemaining = size;
44 if (bytesRemaining > 0) {
45 --bytesRemaining;
57 if (bytesRemaining == 0) {
61 if (bytesToRead > bytesRemaining) {
62 bytesToRead = (int) bytesRemaining;
76 bytesRemaining -= bytesRead;
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
AbstractLZ77CompressorInputStream.java 103 private long bytesRemaining;
139 bytesRemaining = 0;
206 bytesRemaining = length;
214 return bytesRemaining > 0;
238 final int reallyTryToRead = Math.min((int) Math.min(bytesToRead, bytesRemaining),
242 : 0 /* happens for bytesRemaining == 0 */;
248 bytesRemaining -= reallyTryToRead;
277 bytesRemaining = length;
299 int copy = Math.min((int) Math.min(bytesToCopy, bytesRemaining),
326 bytesRemaining -= copy
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DebugCrossExSubsection.cpp 21 if (Reader.bytesRemaining() % sizeof(CrossModuleExport) != 0)
26 uint32_t Size = Reader.bytesRemaining() / sizeof(CrossModuleExport);
DebugFrameDataSubsection.cpp 19 if (Reader.bytesRemaining() % sizeof(FrameData) != 0)
23 uint32_t Count = Reader.bytesRemaining() / sizeof(FrameData);
DebugSymbolRVASubsection.cpp 24 return Reader.readArray(RVAs, Reader.bytesRemaining() / sizeof(uint32_t));
DebugCrossImpSubsection.cpp 30 if (Reader.bytesRemaining() < sizeof(CrossModuleImport))
36 if (Reader.bytesRemaining() < Item.Header->Count * sizeof(uint32_t))
47 return Reader.readArray(References, Reader.bytesRemaining());
DebugInlineeLinesSubsection.cpp 51 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining()))
54 assert(Reader.bytesRemaining() == 0);
CodeViewRecordIO.cpp 49 Optional<uint32_t> Min = Limits.front().bytesRemaining(Offset);
51 Optional<uint32_t> ThisMin = X.bytesRemaining(Offset);
69 if (Reader->bytesRemaining() == 0)
86 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining()))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
PublicsStream.cpp 63 if (Reader.bytesRemaining() <
91 if (Reader.bytesRemaining() > 0) {
98 if (Reader.bytesRemaining() > 0)
ModuleDebugStream.cpp 59 SymbolReader.readArray(SymbolArray, SymbolReader.bytesRemaining()))
64 SubsectionsReader.bytesRemaining()))
72 if (Reader.bytesRemaining() > 0)
PDBStringTable.cpp 39 assert(Reader.bytesRemaining() == 0);
54 assert(Reader.bytesRemaining() == 0);
81 assert(Reader.bytesRemaining() == 0);
106 assert(Reader.bytesRemaining() == 0);
PDBStringTableBuilder.cpp 144 assert(Writer.bytesRemaining() == 0);
152 assert(Writer.bytesRemaining() == 0);
180 assert(Writer.bytesRemaining() == 0);
187 assert(Writer.bytesRemaining() == 0);
InfoStreamBuilder.cpp 76 assert(Writer.bytesRemaining() == 0);
  /external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DeltaFriendlyOldBlobSizeLimiter.java 73 long bytesRemaining = maxSizeBytes - oldFile.length();
82 if (bytesRemaining - extraBytesConsumed >= 0) {
85 bytesRemaining -= extraBytesConsumed;
  /external/replicaisland/src/com/replica/replicaisland/
TiledWorld.java 86 final int bytesRemaining = byteStream.available();
87 assert bytesRemaining >= totalTiles;
88 if (bytesRemaining >= totalTiles) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Http1xStream.java 271 private long bytesRemaining;
273 private FixedLengthSink(long bytesRemaining) {
274 this.bytesRemaining = bytesRemaining;
284 if (byteCount > bytesRemaining) {
285 throw new ProtocolException("expected " + bytesRemaining
289 bytesRemaining -= byteCount;
300 if (bytesRemaining > 0) throw new ProtocolException("unexpected end of stream");
379 private long bytesRemaining;
382 bytesRemaining = length
    [all...]
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
Http1xStream.java 273 private long bytesRemaining;
275 private FixedLengthSink(long bytesRemaining) {
276 this.bytesRemaining = bytesRemaining;
286 if (byteCount > bytesRemaining) {
287 throw new ProtocolException("expected " + bytesRemaining
291 bytesRemaining -= byteCount;
302 if (bytesRemaining > 0) throw new ProtocolException("unexpected end of stream");
381 private long bytesRemaining;
384 bytesRemaining = length
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
CodeViewYAMLTypeHashing.cpp 59 while (Reader.bytesRemaining() != 0) {
64 assert(Reader.bytesRemaining() == 0);
86 assert(Writer.bytesRemaining() == 0);
  /external/llvm/lib/DebugInfo/PDB/Raw/
ModStream.cpp 53 if (auto EC = LineReader.readArray(LineInfo, LineReader.bytesRemaining()))
61 if (Reader.bytesRemaining() > 0)
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
BinaryStreamReader.cpp 101 return readStreamRef(Ref, bytesRemaining());
105 if (bytesRemaining() < Length)
119 if (Amount > bytesRemaining())
  /external/llvm/lib/DebugInfo/CodeView/
StreamReader.cpp 84 return readStreamRef(Ref, bytesRemaining());
88 if (bytesRemaining() < Length)
StreamWriter.cpp 69 while (SrcReader.bytesRemaining() > 0) {
ModuleSubstreamVisitor.cpp 70 if (auto EC = Reader.readArray(LineInfos, Reader.bytesRemaining()))
79 if (auto EC = Reader.readArray(Checksums, Reader.bytesRemaining()))

Completed in 351 milliseconds

1 2 3