Home
last modified time | relevance | path

Searched refs:DynamicMessage (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DDynamicMessageTest.java58 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
66 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDoubleBuildError()
78 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testClearAfterBuildError()
90 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
99 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
107 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
113 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
122 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSettersRejectNull()
128 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor())); in testDynamicMessageDefaults()
130 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()).build()); in testDynamicMessageDefaults()
[all …]
DMessageTest.java93 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic()
101 DynamicMessage result = in testDynamicMergeFrom()
102 DynamicMessage.newBuilder(MERGE_DEST) in testDynamicMergeFrom()
103 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom()
167 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamic()
180 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamicForeign()
289 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
298 DynamicMessage message = in testDynamicBuildPartial()
299 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
307 DynamicMessage.parseFrom(descriptor, ByteString.EMPTY); in testDynamicParseUnititialized()
DWireFormatTest.java274 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
311 DynamicMessage source = in testParseMultipleExtensionRangesDynamic()
312 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
319 DynamicMessage dest = in testParseMultipleExtensionRangesDynamic()
320 DynamicMessage.parseFrom(descriptor, source.toByteString(), in testParseMultipleExtensionRangesDynamic()
DAbstractMessageTest.java430 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DDynamicMessage.java47 public final class DynamicMessage extends AbstractMessage { class
56 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() method in DynamicMessage
67 public static DynamicMessage getDefaultInstance(Descriptor type) { in getDefaultInstance()
68 return new DynamicMessage(type, FieldSet.<FieldDescriptor>emptySet(), in getDefaultInstance()
73 public static DynamicMessage parseFrom(Descriptor type, in parseFrom()
80 public static DynamicMessage parseFrom( in parseFrom()
89 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom()
95 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom()
102 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom()
108 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom()
[all …]
DGeneratedMessage.java777 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
1057 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDynamicMessage.java46 public final class DynamicMessage extends AbstractMessage { class
55 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() method in DynamicMessage
66 public static DynamicMessage getDefaultInstance(Descriptor type) { in getDefaultInstance()
67 return new DynamicMessage(type, FieldSet.<FieldDescriptor>emptySet(), in getDefaultInstance()
72 public static DynamicMessage parseFrom(Descriptor type, in parseFrom()
79 public static DynamicMessage parseFrom( in parseFrom()
88 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom()
94 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom()
101 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom()
107 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom()
[all …]
DGeneratedMessage.java477 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DDynamicMessageTest.java59 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
67 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
87 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
107 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
116 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
124 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
130 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
139 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSettersRejectNull()
145 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor())); in testDynamicMessageDefaults()
147 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()).build()); in testDynamicMessageDefaults()
[all …]
DMessageTest.java95 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic()
103 DynamicMessage result = in testDynamicMergeFrom()
104 DynamicMessage.newBuilder(MERGE_DEST) in testDynamicMergeFrom()
105 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom()
169 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamic()
182 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamicForeign()
291 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
300 DynamicMessage message = in testDynamicBuildPartial()
301 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
309 DynamicMessage.parseFrom(descriptor, ByteString.EMPTY); in testDynamicParseUnititialized()
[all …]
DWireFormatTest.java275 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
312 DynamicMessage source = in testParseMultipleExtensionRangesDynamic()
313 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
320 DynamicMessage dest = in testParseMultipleExtensionRangesDynamic()
321 DynamicMessage.parseFrom(descriptor, source.toByteString(), in testParseMultipleExtensionRangesDynamic()
DAbstractMessageTest.java247 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized()
480 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc164 class DynamicMessage : public Message { class
181 scoped_ptr<const DynamicMessage> prototype;
184 DynamicMessage(const TypeInfo* type_info);
185 ~DynamicMessage();
200 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMessage);
222 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() function in google::protobuf::DynamicMessage
305 DynamicMessage::~DynamicMessage() { in ~DynamicMessage()
381 void DynamicMessage::CrossLinkPrototypes() { in CrossLinkPrototypes()
405 Message* DynamicMessage::New() const { in New()
408 return new(new_base) DynamicMessage(type_info_); in New()
[all …]
Ddynamic_message.h127 friend class DynamicMessage; variable
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc166 class DynamicMessage : public Message { class
187 const DynamicMessage* prototype;
196 DynamicMessage(const TypeInfo* type_info);
197 ~DynamicMessage();
212 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMessage);
234 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() function in google::protobuf::DynamicMessage
317 DynamicMessage::~DynamicMessage() { in ~DynamicMessage()
394 void DynamicMessage::CrossLinkPrototypes() { in CrossLinkPrototypes()
418 Message* DynamicMessage::New() const { in New()
421 return new(new_base) DynamicMessage(type_info_); in New()
[all …]
Ddynamic_message.h127 friend class DynamicMessage; variable
/external/protobuf/
DMakefile.am78 java/src/main/java/com/google/protobuf/DynamicMessage.java \
DMakefile.in322 java/src/main/java/com/google/protobuf/DynamicMessage.java \
DCHANGES.txt263 * Fixed alignment issue that caused crashes when using DynamicMessage on
/external/chromium_org/third_party/protobuf/
DCHANGES.txt403 * Fixed alignment issue that caused crashes when using DynamicMessage on