Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDynamicMessageTest.java63 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
71 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
91 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
111 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
120 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
128 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
134 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
143 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSettersRejectNull()
149 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor())); in testDynamicMessageDefaults()
151 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 …]
DFieldPresenceTest.java268 DynamicMessage defaultInstance = DynamicMessage.getDefaultInstance(descriptor); in testFieldPresenceDynamicMessage()
270 DynamicMessage message = defaultInstance.newBuilderForType().build(); in testFieldPresenceDynamicMessage()
434 DynamicMessage dynamicOptionalOnlyMessage = in testUnknownFields()
435 DynamicMessage.getDefaultInstance( in testUnknownFields()
DWireFormatTest.java277 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
314 DynamicMessage source = in testParseMultipleExtensionRangesDynamic()
315 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
322 DynamicMessage dest = in testParseMultipleExtensionRangesDynamic()
323 DynamicMessage.parseFrom(descriptor, source.toByteString(), in testParseMultipleExtensionRangesDynamic()
DAbstractMessageTest.java271 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized()
504 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
DUnknownEnumValueTest.java185 Message dynamicMessageDefaultInstance = DynamicMessage.getDefaultInstance(descriptor); in testUnknownEnumValueWithDynamicMessage()
DMapForProto2Test.java780 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testDynamicMessage()
794 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testReflectionEqualsAndHashCode()
DMapTest.java892 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testDynamicMessage()
906 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testReflectionEqualsAndHashCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDynamicMessageTest.java60 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageAccessors()
68 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testSettersAfterBuild()
88 DynamicMessage.newBuilder(TestEmptyMessage.getDescriptor()); in testUnknownFields()
108 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageSettersRejectNull()
117 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionAccessors()
125 DynamicMessage.newBuilder(TestAllExtensions.getDescriptor()); in testDynamicMessageExtensionSettersRejectNull()
131 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSetters()
140 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()); in testDynamicMessageRepeatedSettersRejectNull()
146 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor())); in testDynamicMessageDefaults()
148 DynamicMessage.newBuilder(TestAllTypes.getDescriptor()).build()); in testDynamicMessageDefaults()
[all …]
DMessageTest.java96 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic()
104 DynamicMessage result = in testDynamicMergeFrom()
105 DynamicMessage.newBuilder(MERGE_DEST) in testDynamicMergeFrom()
106 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom()
170 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamic()
183 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); in testRequiredDynamicForeign()
292 DynamicMessage.newBuilder(TestRequired.getDescriptor()).build(); in testDynamicUninitializedException()
301 DynamicMessage message = in testDynamicBuildPartial()
302 DynamicMessage.newBuilder(TestRequired.getDescriptor()) in testDynamicBuildPartial()
310 DynamicMessage.parseFrom(descriptor, ByteString.EMPTY); in testDynamicParseUnititialized()
[all …]
DWireFormatTest.java211 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testInterleavedFieldsAndExtensions()
248 DynamicMessage source = in testParseMultipleExtensionRangesDynamic()
249 DynamicMessage.newBuilder(TestFieldOrderings.getDescriptor()) in testParseMultipleExtensionRangesDynamic()
256 DynamicMessage dest = in testParseMultipleExtensionRangesDynamic()
257 DynamicMessage.parseFrom(descriptor, source.toByteString(), in testParseMultipleExtensionRangesDynamic()
DAbstractMessageTest.java248 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized()
481 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDynamicMessage.java50 public final class DynamicMessage extends AbstractMessage { class
66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() method in DynamicMessage
79 public static DynamicMessage getDefaultInstance(Descriptor type) { in getDefaultInstance()
82 return new DynamicMessage(type, FieldSet.<FieldDescriptor>emptySet(), in getDefaultInstance()
89 public static DynamicMessage parseFrom(Descriptor type, in parseFrom()
96 public static DynamicMessage parseFrom( in parseFrom()
105 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom()
111 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom()
118 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom()
124 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom()
[all …]
DGeneratedMessageV3.java1104 return DynamicMessage.getDefaultInstance(field.getMessageType());
1490 return DynamicMessage.getDefaultInstance(field.getMessageType());
DGeneratedMessage.java1103 return DynamicMessage.getDefaultInstance(field.getMessageType());
1489 return DynamicMessage.getDefaultInstance(field.getMessageType());
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddynamic_message.cc218 class DynamicMessage : public Message { class
241 const DynamicMessage* prototype;
252 DynamicMessage(const TypeInfo* type_info);
253 ~DynamicMessage();
281 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMessage);
282 DynamicMessage(const TypeInfo* type_info, ::google::protobuf::Arena* arena);
304 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() function in google::protobuf::DynamicMessage
310 DynamicMessage::DynamicMessage(const TypeInfo* type_info, in DynamicMessage() function in google::protobuf::DynamicMessage
317 void DynamicMessage::SharedCtor() { in SharedCtor()
419 DynamicMessage::~DynamicMessage() { in ~DynamicMessage()
[all …]
Ddynamic_message.h133 friend class DynamicMessage; variable
Ddrop_unknown_fields_test.cc68 TEST(DropUnknownFieldsTest, DynamicMessage) { in TEST() argument
Dmap_field.h49 class DynamicMessage; variable
158 friend class ::google::protobuf::DynamicMessage;
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DValidationUtil.java23 import com.google.protobuf.DynamicMessage;
153 DynamicMessage fidelityMessage = in validateDevFidelityParams()
154 DynamicMessage.parseFrom(fidelityParamsDesc, devFidelityContent); in validateDevFidelityParams()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java70 this.builder = DynamicMessage.newBuilder(this.descriptor); in initialize()
366 protected DynamicMessage build(ThreadContext context) { in build()
370 protected DynamicMessage build(ThreadContext context, int depth) { in build()
377 for (DynamicMessage kv : maps.get(fieldDescriptor).build(context, mapDescriptor)) { in build()
432 private IRubyObject buildFrom(ThreadContext context, DynamicMessage dynamicMessage) { in buildFrom()
565 return msg.buildFrom(context, (DynamicMessage) value); in wrapField()
623DynamicMessage message = (DynamicMessage) this.builder.getRepeatedField(fieldDescriptor, i); in getField()
760 private DynamicMessage.Builder builder;
DRubyMap.java36 import com.google.protobuf.DynamicMessage;
364 protected List<DynamicMessage> build(ThreadContext context, RubyDescriptor descriptor) { in build()
365 List<DynamicMessage> list = new ArrayList<DynamicMessage>(); in build()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java54 import com.google.protobuf.DynamicMessage;
651 DynamicMessage.getDefaultInstance(type).getParserForType().parseFrom(content); in printAny()
1233 DynamicMessage.getDefaultInstance(contentType).newBuilderForType(); in mergeAny()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt730 * Updated DynamicMessage.setField() to handle repeated enum values
1189 * Fixed alignment issue that caused crashes when using DynamicMessage on
DMakefile.am208 java/core/src/main/java/com/google/protobuf/DynamicMessage.java \