Searched refs:MemoryStream (Results 1 – 10 of 10) sorted by relevance
51 MemoryStream rawOutput = new MemoryStream(); in AssertWriteVarint()61 MemoryStream rawOutput = new MemoryStream(); in AssertWriteVarint()77 MemoryStream rawOutput = new MemoryStream(); in AssertWriteVarint()86 MemoryStream rawOutput = new MemoryStream(); in AssertWriteVarint()136 MemoryStream rawOutput = new MemoryStream(); in AssertWriteLittleEndian32()145 rawOutput = new MemoryStream(); in AssertWriteLittleEndian32()159 MemoryStream rawOutput = new MemoryStream(); in AssertWriteLittleEndian64()168 rawOutput = new MemoryStream(); in AssertWriteLittleEndian64()203 MemoryStream rawOutput = new MemoryStream(); in WriteWholeMessage_VaryingBlockSizes()295 MemoryStream ms = new MemoryStream(child); in TestCodedInputOutputPosition()[all …]
83 MemoryStream memoryStream = new MemoryStream(); in AssertReadVarint()107 …ws<InvalidProtocolBufferException>(() => CodedInputStream.ReadRawVarint32(new MemoryStream(data))); in AssertReadVarintFailure()271 MemoryStream ms = new MemoryStream(); in ReadMaliciouslyLargeBlob()323 …CodedInputStream input = CodedInputStream.CreateWithLimits(new MemoryStream(data64.ToByteArray()),… in MaliciousRecursion()332 … MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()345 MemoryStream ms = new MemoryStream(); in ReadInvalidUtf8()367 private sealed class SmallBlockInputStream : MemoryStream396 using (var ms = new MemoryStream()) in TestSlowPathAvoidance()436 var stream = new MemoryStream(); in SkipGroup()480 var stream = new MemoryStream(); in SkipGroup_WrongEndGroupTag()[all …]
125 var stream = new MemoryStream(); in TestRoundTripRaw()137 var stream = new MemoryStream(); in TestRoundTripWithTag()150 var stream = new MemoryStream(); in TestCalculateSizeWithTag()160 var stream = new MemoryStream(); in TestDefaultValue()
257 var memoryStream = new MemoryStream(); in MapWithOnlyValue()275 var memoryStream = new MemoryStream(); in MapWithOnlyKey_PrimitiveValue()292 var memoryStream = new MemoryStream(); in MapWithOnlyKey_MessageValue()309 var memoryStream = new MemoryStream(); in MapIgnoresExtraFieldsWithinEntryMessages()336 var memoryStream = new MemoryStream(); in MapFieldOrderIsIrrelevant()360 var memoryStream = new MemoryStream(); in MapNonContiguousEntries()411 var memoryStream = new MemoryStream(); in DuplicateKeys_LastEntryWins()644 var stream = new MemoryStream(); in IgnoreUnknownFields_RealDataStillRead()685 var stream = new MemoryStream(); in ExtraEndGroupThrows()
94 uint8_t* MemoryStream::getRawBufferAddr() { in getRawBufferAddr()98 jobject MemoryStream::getRawBuffer() { in getRawBuffer()102 int MemoryStream::getRawBufferSize() { in getRawBufferSize()110 size_t MemoryStream::doRead(void* buffer, size_t size) { in doRead()
44 class MemoryStream : public Stream {46 MemoryStream(void* buffer, size_t size, jobject buf) : in MemoryStream() function
56 MemoryStream stream(bytes + offset, length, NULL); in nativeDecodeByteArray()67 MemoryStream stream( in nativeDecodeByteBuffer()
51 using (MemoryStream stream = new MemoryStream()) in Main()
310 var stream = new MemoryStream(); in AddEntriesFrom_PackedInt32()338 var stream = new MemoryStream(); in AddEntriesFrom_NonPackedInt32()364 var stream = new MemoryStream(); in AddEntriesFrom_String()390 var stream = new MemoryStream(); in AddEntriesFrom_Message()412 var stream = new MemoryStream(); in WriteTo_PackedInt32()433 var stream = new MemoryStream(); in WriteTo_NonPackedInt32()454 var stream = new MemoryStream(); in WriteTo_String()477 var stream = new MemoryStream(); in WriteTo_Message()
157 var rawOutput = new MemoryStream(); in RepeatedWrappersBinaryFormat()334 using (var stream = new MemoryStream()) in MergingStreamExplicitValue()391 var stream = new MemoryStream(); in UnknownFieldInWrapper()