/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DynamicMessageTest.java | 63 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 …]
|
D | MessageTest.java | 95 .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 …]
|
D | WireFormatTest.java | 277 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()
|
D | AbstractMessageTest.java | 271 Message.Builder dynamicMessageBuilder = DynamicMessage.newBuilder( in testParsingUninitialized() 504 DynamicMessage dynamic = DynamicMessage.newBuilder(message).build(); in checkEqualsIsConsistent()
|
D | FieldPresenceTest.java | 364 DynamicMessage dynamicOptionalOnlyMessage = in testUnknownFields() 365 DynamicMessage.getDefaultInstance( in testUnknownFields()
|
D | UnknownEnumValueTest.java | 185 Message dynamicMessageDefaultInstance = DynamicMessage.getDefaultInstance(descriptor); in testUnknownEnumValueWithDynamicMessage()
|
D | MapForProto2Test.java | 557 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testDynamicMessage() 571 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testReflectionEqualsAndHashCode()
|
D | MapTest.java | 650 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testDynamicMessage() 664 DynamicMessage.getDefaultInstance(TestMap.getDescriptor()); in testReflectionEqualsAndHashCode()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 50 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 …]
|
D | GeneratedMessage.java | 1028 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField() 1325 return DynamicMessage.getDefaultInstance(field.getMessageType()); in getField()
|
/external/protobuf/src/google/protobuf/ |
D | dynamic_message.cc | 219 class DynamicMessage : public Message { class 242 const DynamicMessage* prototype; 253 DynamicMessage(const TypeInfo* type_info); 254 ~DynamicMessage(); 282 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMessage); 283 DynamicMessage(const TypeInfo* type_info, ::google::protobuf::Arena* arena); 305 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() function in google::protobuf::DynamicMessage 311 DynamicMessage::DynamicMessage(const TypeInfo* type_info, in DynamicMessage() function in google::protobuf::DynamicMessage 318 void DynamicMessage::SharedCtor() { in SharedCtor() 420 DynamicMessage::~DynamicMessage() { in ~DynamicMessage() [all …]
|
D | dynamic_message.h | 133 friend class DynamicMessage; variable
|
D | drop_unknown_fields_test.cc | 68 TEST(DropUnknownFieldsTest, DynamicMessage) { in TEST() argument
|
D | map_field.h | 49 class DynamicMessage; variable 158 friend class ::google::protobuf::DynamicMessage;
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 70 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() 619 … DynamicMessage message = (DynamicMessage) this.builder.getRepeatedField(fieldDescriptor, i); in getField() 756 private DynamicMessage.Builder builder;
|
D | RubyMap.java | 36 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()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 54 import com.google.protobuf.DynamicMessage; 578 Message contentMessage = DynamicMessage.getDefaultInstance(type) in printAny() 1174 DynamicMessage.getDefaultInstance(contentType).newBuilderForType(); in mergeAny()
|
/external/protobuf/ |
D | CHANGES.txt | 598 * Updated DynamicMessage.setField() to handle repeated enum values 1057 * Fixed alignment issue that caused crashes when using DynamicMessage on
|
D | Makefile.am | 208 java/core/src/main/java/com/google/protobuf/DynamicMessage.java \
|