Home
last modified time | relevance | path

Searched refs:messageSet (Results 1 – 5 of 5) sorted by relevance

/external/golang-protobuf/proto/
Dmessage_set.go67 type messageSet struct { struct
74 var _ Message = (*messageSet)(nil)
82 func (ms *messageSet) find(pb Message) *_MessageSet_Item { argument
96 func (ms *messageSet) Has(pb Message) bool { argument
103 func (ms *messageSet) Unmarshal(pb Message) error { argument
113 func (ms *messageSet) Marshal(pb Message) error { argument
137 func (ms *messageSet) Reset() { *ms = messageSet{} } argument
138 func (ms *messageSet) String() string { return CompactTextString(ms) } argument
139 func (*messageSet) ProtoMessage() {} argument
177 ms := &messageSet{Item: make([]*_MessageSet_Item, 0, len(m))}
[all …]
Dmessage_set_test.go41 in := &messageSet{
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DWireFormatTest.java346 TestMessageSet messageSet = in testSerializeMessageSetWithFlag() local
363 ByteString data = messageSet.toByteString(); in testSerializeMessageSetWithFlag()
432 TestMessageSet messageSet = in testParseMessageSetWithFlag() local
435 assertEquals(123, messageSet.getExtension( in testParseMessageSetWithFlag()
437 assertEquals("foo", messageSet.getExtension( in testParseMessageSetWithFlag()
442 UnknownFieldSet unknownFields = messageSet.getUnknownFields(); in testParseMessageSetWithFlag()
484 TestMessageSet messageSet = in testParseMessageSetExtensionWithFlag() local
486 assertEquals(123, messageSet.getExtension( in testParseMessageSetExtensionWithFlag()
523 TestMessageSet messageSet = in testMergeLazyMessageSetExtensionWithFlag() local
526 messageSet = in testMergeLazyMessageSetExtensionWithFlag()
[all …]
DTextFormatTest.java305 TestMessageSet messageSet = in testPrintMessageSet() local
315 assertEquals(messageSetText, messageSet.toString()); in testPrintMessageSet()
386 TestMessageSet messageSet = builder.build(); in testParseMessageSet() local
388 assertTrue(messageSet.hasExtension( in testParseMessageSet()
390 assertEquals(123, messageSet.getExtension( in testParseMessageSet()
392 assertTrue(messageSet.hasExtension( in testParseMessageSet()
394 assertEquals("foo", messageSet.getExtension( in testParseMessageSet()
400 messageSet = builder.build(); in testParseMessageSet()
401 assertEquals(456, messageSet.getExtension( in testParseMessageSet()
413 TestMessageSet messageSet = builder.build(); in testParseMessageSetWithOverwriteForbidden() local
[all …]
/external/protobuf/objectivec/Tests/
DGPBWireFormatTests.m215 TestMessageSet* messageSet =
221 [[messageSet
225 [[messageSet
229 XCTAssertEqual([messageSet.unknownFields countOfFields], (NSUInteger)1);
230 GPBUnknownField* unknownField = [messageSet.unknownFields getField:kUnknownTypeId];