Home
last modified time | relevance | path

Searched refs:codedInputStream (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DSegmentedBufferHelper.cs50 private CodedInputStream codedInputStream; field
58 …public static void Initialize(CodedInputStream codedInputStream, out SegmentedBufferHelper instanc… in Initialize()
60 …instance.totalLength = codedInputStream.InternalInputStream == null ? (int?)codedInputStream.Inter… in Initialize()
62 instance.codedInputStream = codedInputStream; in Initialize()
73 instance.codedInputStream = null; in Initialize()
93 if (codedInputStream != null) in RefillBuffer()
105 public CodedInputStream CodedInputStream => codedInputStream;
238 Stream input = codedInputStream.InternalInputStream; in RefillFromCodedInputStream()
243 …state.bufferSize = (input == null) ? 0 : input.Read(codedInputStream.InternalBuffer, 0, buffer.Len… in RefillFromCodedInputStream()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java1216 CodedInputStream codedInputStream = CodedInputStream.newInstance(inputStream, 1); in testMaliciousInputStream() local
1217 ByteString byteString = codedInputStream.readBytes(); in testMaliciousInputStream()
1226 codedInputStream = CodedInputStream.newInstance(inputStream, 1); in testMaliciousInputStream()
1227 ByteBuffer byteBuffer = codedInputStream.readByteBuffer(); in testMaliciousInputStream()
1237 codedInputStream = CodedInputStream.newInstance(inputStream, 1); in testMaliciousInputStream()
1238 byte[] byteArray = codedInputStream.readByteArray(); in testMaliciousInputStream()
1247 codedInputStream = CodedInputStream.newInstance(inputStream, 1); in testMaliciousInputStream()
1248 int length = codedInputStream.readRawVarint32(); in testMaliciousInputStream()
1249 byteArray = codedInputStream.readRawBytes(length); in testMaliciousInputStream()