Home
last modified time | relevance | path

Searched refs:SmallBlockInputStream (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs72 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
75 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
163 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian32()
183 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian64()
242 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes()
367 private sealed class SmallBlockInputStream : MemoryStream class in Google.Protobuf.CodedInputStreamTest
371 public SmallBlockInputStream(byte[] data, int blockSize) in SmallBlockInputStream() method in Google.Protobuf.CodedInputStreamTest.SmallBlockInputStream
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs72 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
75 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
163 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian32()
183 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian64()
242 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes()
367 private sealed class SmallBlockInputStream : MemoryStream class in Google.Protobuf.CodedInputStreamTest
371 public SmallBlockInputStream(byte[] data, int blockSize) in SmallBlockInputStream() method in Google.Protobuf.CodedInputStreamTest.SmallBlockInputStream
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs85 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
88 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
238 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian32()
268 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian64()
332 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes()
668 private sealed class SmallBlockInputStream : MemoryStream class in Google.Protobuf.CodedInputStreamTest
672 public SmallBlockInputStream(byte[] data, int blockSize) in SmallBlockInputStream() method in Google.Protobuf.CodedInputStreamTest.SmallBlockInputStream
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs85 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
88 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize)); in AssertReadVarint()
238 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian32()
268 new SmallBlockInputStream(data, blockSize)); in AssertReadLittleEndian64()
332 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes()
668 private sealed class SmallBlockInputStream : MemoryStream class in Google.Protobuf.CodedInputStreamTest
672 public SmallBlockInputStream(byte[] data, int blockSize) in SmallBlockInputStream() method in Google.Protobuf.CodedInputStreamTest.SmallBlockInputStream
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DCodedInputStreamTest.java85 return CodedInputStream.newInstance(new SmallBlockInputStream(data, blockSize)); in newDecoder()
146 private static final class SmallBlockInputStream extends FilterInputStream { class in CodedInputStreamTest
151 public SmallBlockInputStream(byte[] data, int blockSize) { in SmallBlockInputStream() method in CodedInputStreamTest.SmallBlockInputStream
471 SmallBlockInputStream bytes = new SmallBlockInputStream(new byte[] {1, 2, 3, 4, 5}, 3); in testSkipRawBytesActuallySkips()
698 new SmallBlockInputStream(TestUtil.getAllSet().toByteArray(), 16)); in testSizeLimit()
713 CodedInputStream.newInstance(new SmallBlockInputStream(new byte[256], 8)); in testResetSizeCounter()
828 CodedInputStream input = CodedInputStream.newInstance(new SmallBlockInputStream(bytes, 7)); in testSizeLimitMultipleMessages()
/aosp_15_r20/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DCodedInputStreamTest.java85 return CodedInputStream.newInstance(new SmallBlockInputStream(data, blockSize)); in newDecoder()
146 private static final class SmallBlockInputStream extends FilterInputStream { class in CodedInputStreamTest
151 public SmallBlockInputStream(byte[] data, int blockSize) { in SmallBlockInputStream() method in CodedInputStreamTest.SmallBlockInputStream
471 SmallBlockInputStream bytes = new SmallBlockInputStream(new byte[] {1, 2, 3, 4, 5}, 3); in testSkipRawBytesActuallySkips()
698 new SmallBlockInputStream(TestUtil.getAllSet().toByteArray(), 16)); in testSizeLimit()
713 CodedInputStream.newInstance(new SmallBlockInputStream(new byte[256], 8)); in testResetSizeCounter()
828 CodedInputStream input = CodedInputStream.newInstance(new SmallBlockInputStream(bytes, 7)); in testSizeLimitMultipleMessages()