Home
last modified time | relevance | path

Searched refs:ParseFrom (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DMessageParser.cs65 public IMessage ParseFrom(byte[] data) in ParseFrom() method in Google.Protobuf.MessageParser
78 public IMessage ParseFrom(ByteString data) in ParseFrom() method in Google.Protobuf.MessageParser
91 public IMessage ParseFrom(Stream input) in ParseFrom() method in Google.Protobuf.MessageParser
119 public IMessage ParseFrom(CodedInputStream input) in ParseFrom() method in Google.Protobuf.MessageParser
192 public new T ParseFrom(byte[] data) in ParseFrom() method in Google.Protobuf.MessageParser
205 public new T ParseFrom(ByteString data) in ParseFrom() method in Google.Protobuf.MessageParser
218 public new T ParseFrom(Stream input) in ParseFrom() method in Google.Protobuf.MessageParser
246 public new T ParseFrom(CodedInputStream input) in ParseFrom() method in Google.Protobuf.MessageParser
DJsonFormatter.cs576 IMessage message = descriptor.Parser.ParseFrom(data); in WriteAny()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs133 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_Empty()
167 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_SingleValues()
201 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_RepeatedValues()
233 TestMap parsed = TestMap.Parser.ParseFrom(bytes); in RoundTrip_Maps()
248 var parsed = TestMap.Parser.ParseFrom(bytes); in MapWithEmptyEntry()
267 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyValue()
284 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyKey_PrimitiveValue()
301 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapWithOnlyKey_MessageValue()
329 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapIgnoresExtraFieldsWithinEntryMessages()
353 var parsed = TestMap.Parser.ParseFrom(memoryStream.ToArray()); in MapFieldOrderIsIrrelevant()
[all …]
DCodedInputStreamTest.cs236 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(rawBytes); in ReadWholeMessage_VaryingBlockSizes()
242 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes()
263 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(message.ToByteString()); in ReadHugeBlob()
319 AssertMessageDepth(TestRecursiveMessage.Parser.ParseFrom(data64), 64); in MaliciousRecursion()
321 …Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(data65)); in MaliciousRecursion()
324 … Assert.Throws<InvalidProtocolBufferException>(() => TestRecursiveMessage.Parser.ParseFrom(input)); in MaliciousRecursion()
334 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseFrom(input)); in SizeLimit()
DTestCornerCases.cs58 NegativeEnumMessage copy = NegativeEnumMessage.Parser.ParseFrom(bytes); in TestRoundTripNegativeEnums()
/external/protobuf/csharp/src/AddressBook/
DSampleUsage.cs57 Person copy = Person.Parser.ParseFrom(bytes); in Main()
65 AddressBook restored = AddressBook.Parser.ParseFrom(bytes); in Main()
DListPeople.cs93 AddressBook addressBook = AddressBook.Parser.ParseFrom(stream); in Main()
DAddPerson.cs112 addressBook = AddressBook.Parser.ParseFrom(file); in Main()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs75 var parsed = TestWellKnownTypes.Parser.ParseFrom(bytes); in NonDefaultSingleValues()
105 var parsed = TestWellKnownTypes.Parser.ParseFrom(bytes); in NonNullDefaultIsPreservedThroughSerialization()
144 var parsed = RepeatedWellKnownTypes.Parser.ParseFrom(bytes); in RepeatedWrappersSerializeDeserialize()
198 var parsed = MapWellKnownTypes.Parser.ParseFrom(bytes); in MapWrappersSerializeDeserialize()
292 var parsed = OneofWellKnownTypes.Parser.ParseFrom(bytes); in AssertOneofRoundTrip()
407 var message = TestWellKnownTypes.Parser.ParseFrom(stream); in UnknownFieldInWrapper()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback.cc148 static OneBitVectorChunk* ParseFrom(const uint8_t* data) { in ParseFrom() function in webrtc::rtcp::OneBitVectorChunk
215 static TwoBitVectorChunk* ParseFrom(const uint8_t* buffer) { in ParseFrom() function in webrtc::rtcp::TwoBitVectorChunk
269 static RunLengthChunk* ParseFrom(const uint8_t* buffer) { in ParseFrom() function in webrtc::rtcp::RunLengthChunk
654 rtc::scoped_ptr<TransportFeedback> TransportFeedback::ParseFrom( in ParseFrom() function in webrtc::rtcp::TransportFeedback
756 return TwoBitVectorChunk::ParseFrom(buffer); in ParseChunk()
760 return OneBitVectorChunk::ParseFrom(buffer); in ParseChunk()
764 RunLengthChunk* rle_chunk = RunLengthChunk::ParseFrom(buffer); in ParseChunk()
Dtransport_feedback_unittest.cc76 feedback_ = TransportFeedback::ParseFrom(serialized_->Buffer(), in VerifyPacket()
402 TransportFeedback::ParseFrom(raw_packet->Buffer(), raw_packet->Length()); in TEST()
413 TransportFeedback::ParseFrom(raw_packet->Buffer(), raw_packet->Length()); in TEST()
452 TransportFeedback::ParseFrom(mod_buffer, kExpectedSizeWithPadding)); in TEST()
475 TransportFeedback::ParseFrom(serialized_packet->Buffer(), in TEST()
Dtransport_feedback.h61 static rtc::scoped_ptr<TransportFeedback> ParseFrom(const uint8_t* buffer,
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs73 ConformanceRequest request = ConformanceRequest.Parser.ParseFrom(inputData); in RunTest()
94 message = TestAllTypes.Parser.ParseFrom(request.ProtobufPayload); in PerformRequest()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dtransport_feedback_adapter_unittest.cc216 feedback = rtcp::TransportFeedback::ParseFrom(raw_packet->Buffer(), in TEST_F()
285 feedback = rtcp::TransportFeedback::ParseFrom(raw_packet->Buffer(), in TEST_F()
306 feedback = rtcp::TransportFeedback::ParseFrom(raw_packet->Buffer(), in TEST_F()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFileDescriptor.cs299 proto = FileDescriptorProto.Parser.ParseFrom(descriptorData); in FromGeneratedCode()
/external/pcre/pcrecpp/include/
Dpcrecpparg.h53 return object->ParseFrom(str, n); in Parse()
/external/regex-re2/util/
Dpcre.h571 return object->ParseFrom(str, n); in Parse()
/external/regex-re2/re2/
Dre2.h742 return object->ParseFrom(str, n); in Parse()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility.cc1238 rtcp::TransportFeedback::ParseFrom(_ptrRTCPData - 12, length); in ParseFBCommon()
/external/protobuf/
DCHANGES.txt689 Foo foo = Foo.PARSER.ParseFrom(input);
/external/protobuf/util/
DCHANGES.txt689 Foo foo = Foo.PARSER.ParseFrom(input);