Home
last modified time | relevance | path

Searched refs:MemoryStream (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs51 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 …]
DCodedInputStreamTest.cs83 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()
332MemoryStream ms = new MemoryStream(SampleMessages.CreateFullTestAllTypes().ToByteArray()); in SizeLimit()
345 MemoryStream ms = new MemoryStream(); in ReadInvalidUtf8()
367 private sealed class SmallBlockInputStream : MemoryStream
396 using (var ms = new MemoryStream()) in TestSlowPathAvoidance()
436 var stream = new MemoryStream(); in SkipGroup()
480 var stream = new MemoryStream(); in SkipGroup_WrongEndGroupTag()
[all …]
DFieldCodecTest.cs125 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()
DGeneratedMessageTest.cs257 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()
/frameworks/ex/framesequence/jni/
DStream.cpp94 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()
DStream.h44 class MemoryStream : public Stream {
46 MemoryStream(void* buffer, size_t size, jobject buf) : in MemoryStream() function
DFrameSequenceJNI.cpp56 MemoryStream stream(bytes + offset, length, NULL); in nativeDecodeByteArray()
67 MemoryStream stream( in nativeDecodeByteBuffer()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DSampleUsage.cs51 using (MemoryStream stream = new MemoryStream()) in Main()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs310 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs157 var rawOutput = new MemoryStream(); in RepeatedWrappersBinaryFormat()
334 using (var stream = new MemoryStream()) in MergingStreamExplicitValue()
391 var stream = new MemoryStream(); in UnknownFieldInWrapper()