Home
last modified time | relevance | path

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

/external/golang-protobuf/proto/
Dmessage_set.go62 type messageSet struct { struct
69 var _ Message = (*messageSet)(nil)
77 func (ms *messageSet) find(pb Message) *_MessageSet_Item { argument
91 func (ms *messageSet) Has(pb Message) bool { argument
95 func (ms *messageSet) Unmarshal(pb Message) error { argument
105 func (ms *messageSet) Marshal(pb Message) error { argument
129 func (ms *messageSet) Reset() { *ms = messageSet{} } argument
130 func (ms *messageSet) String() string { return CompactTextString(ms) } argument
131 func (*messageSet) ProtoMessage() {} argument
155 ms := new(messageSet)
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dmessage_set.go68 type messageSet struct { struct
75 var _ Message = (*messageSet)(nil)
83 func (ms *messageSet) find(pb Message) *_MessageSet_Item { argument
97 func (ms *messageSet) Has(pb Message) bool { argument
101 func (ms *messageSet) Unmarshal(pb Message) error { argument
111 func (ms *messageSet) Marshal(pb Message) error { argument
135 func (ms *messageSet) Reset() { *ms = messageSet{} } argument
136 func (ms *messageSet) String() string { return CompactTextString(ms) } argument
137 func (*messageSet) ProtoMessage() {} argument
198 ms := new(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];