Home
last modified time | relevance | path

Searched refs:LimitedInputStream (Results 1 – 19 of 19) sorted by relevance

/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DLimitedInputStreamTest.java54 LimitedInputStream stream = new LimitedInputStream(new ForeverInputStream(), 0); in testRead_WithLimit0()
61 LimitedInputStream stream = new LimitedInputStream(new ForeverInputStream(), 1); in testRead_WithLimit1()
69 LimitedInputStream stream = new LimitedInputStream(new ForeverInputStream(), 100); in testRead_WithLimit100()
77 new LimitedInputStream(new ForeverInputStream(), -1); in testSetLimit_BadValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DLimitedInputStream.java8 abstract class LimitedInputStream class
14 LimitedInputStream( in LimitedInputStream() method in LimitedInputStream
DStreamUtil.java22 if (in instanceof LimitedInputStream) in findLimit()
24 return ((LimitedInputStream)in).getRemaining(); in findLimit()
DDefiniteLengthInputStream.java13 extends LimitedInputStream
DIndefiniteLengthInputStream.java8 extends LimitedInputStream
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DLimitedInputStream.java9 abstract class LimitedInputStream class
15 LimitedInputStream( in LimitedInputStream() method in LimitedInputStream
DStreamUtil.java23 if (in instanceof LimitedInputStream) in findLimit()
25 return ((LimitedInputStream)in).getRemaining(); in findLimit()
DIndefiniteLengthInputStream.java9 extends LimitedInputStream
DDefiniteLengthInputStream.java14 extends LimitedInputStream
/external/protobuf/csharp/src/Google.Protobuf/
DLimitedInputStream.cs43 internal sealed class LimitedInputStream : Stream class
48 internal LimitedInputStream(Stream proxied, int size) in LimitedInputStream() method in Google.Protobuf.LimitedInputStream
DMessageExtensions.cs98 Stream limitedStream = new LimitedInputStream(input, size); in MergeDelimitedFrom()
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DLimitedInputStream.java24 public class LimitedInputStream extends FilterInputStream { class
40 public LimitedInputStream(InputStream in, long numToRead) { in LimitedInputStream() method in LimitedInputStream
DFileByFileV1DeltaApplier.java101 LimitedInputStream limitedDeltaIn = new LimitedInputStream(deltaIn, deltaLength); in applyDeltaInternal()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractMessageLite.java257 static final class LimitedInputStream extends FilterInputStream { class in AbstractMessageLite.Builder
260 LimitedInputStream(InputStream in, int limit) { in LimitedInputStream() method in AbstractMessageLite.Builder.LimitedInputStream
314 final InputStream limitedInput = new LimitedInputStream(input, size); in mergeDelimitedFrom()
DAbstractParser.java33 import com.google.protobuf.AbstractMessageLite.Builder.LimitedInputStream;
237 InputStream limitedInput = new LimitedInputStream(input, size); in parsePartialDelimitedFrom()
DUnknownFieldSet.java33 import com.google.protobuf.AbstractMessageLite.Builder.LimitedInputStream;
611 final InputStream limitedInput = new LimitedInputStream(input, size); in mergeDelimitedFrom()
DGeneratedMessageLite.java33 import com.google.protobuf.AbstractMessageLite.Builder.LimitedInputStream;
1496 InputStream limitedInput = new LimitedInputStream(input, size); in parsePartialDelimitedFrom()
/external/guava/guava/src/com/google/common/io/
DByteStreams.java540 return new LimitedInputStream(in, limit); in limit()
543 private static final class LimitedInputStream extends FilterInputStream { class in ByteStreams
548 LimitedInputStream(InputStream in, long limit) { in LimitedInputStream() method in ByteStreams.LimitedInputStream
/external/protobuf/
DMakefile.am137 csharp/src/Google.Protobuf/LimitedInputStream.cs \