/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MessageLite.java | 178 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method 185 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 197 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method 205 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 214 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method 222 Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException; in mergeFrom() method 230 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 239 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 254 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method 263 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() method [all …]
|
D | Message.java | 127 Builder mergeFrom(Message other); in mergeFrom() method 141 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method 144 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 246 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method 249 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 253 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method 256 Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException; in mergeFrom() method 259 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 263 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 267 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method [all …]
|
D | AbstractMessage.java | 366 return mergeFrom((Message) other); in internalMergeFrom() 370 public BuilderType mergeFrom(final Message other) { in mergeFrom() method in AbstractMessage.Builder 371 return mergeFrom(other, other.getAllFields()); in mergeFrom() 374 BuilderType mergeFrom(final Message other, Map<FieldDescriptor, Object> allFields) { in mergeFrom() method in AbstractMessage.Builder 404 .mergeFrom(existingValue) in mergeFrom() 405 .mergeFrom((Message) entry.getValue()) in mergeFrom() 419 public BuilderType mergeFrom(final CodedInputStream input) throws IOException { in mergeFrom() method in AbstractMessage.Builder 420 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom() 424 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder 453 UnknownFieldSet.newBuilder(getUnknownFields()).mergeFrom(unknownFields).build()); in mergeUnknownFields() [all …]
|
D | AbstractMessageLite.java | 172 public BuilderType mergeFrom(final CodedInputStream input) throws IOException { in mergeFrom() method in AbstractMessageLite.Builder 173 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom() 178 public abstract BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder 183 public BuilderType mergeFrom(final ByteString data) throws InvalidProtocolBufferException { in mergeFrom() method in AbstractMessageLite.Builder 186 mergeFrom(input); in mergeFrom() 197 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder 202 mergeFrom(input, extensionRegistry); in mergeFrom() 213 public BuilderType mergeFrom(final byte[] data) throws InvalidProtocolBufferException { in mergeFrom() method in AbstractMessageLite.Builder 214 return mergeFrom(data, 0, data.length); in mergeFrom() 218 public BuilderType mergeFrom(final byte[] data, final int off, final int len) in mergeFrom() method in AbstractMessageLite.Builder [all …]
|
D | UnknownFieldSet.java | 76 return newBuilder().mergeFrom(copyFrom); in newBuilder() 264 return newBuilder().mergeFrom(input).build(); in parseFrom() 270 return newBuilder().mergeFrom(data).build(); in parseFrom() 275 return newBuilder().mergeFrom(data).build(); in parseFrom() 280 return newBuilder().mergeFrom(input).build(); in parseFrom() 290 return newBuilder().mergeFrom(this); in toBuilder() 396 public Builder mergeFrom(UnknownFieldSet other) { in mergeFrom() method in UnknownFieldSet.Builder 416 getFieldBuilder(number).mergeFrom(field); in mergeField() 488 public Builder mergeFrom(CodedInputStream input) throws IOException { in mergeFrom() method in UnknownFieldSet.Builder 536 public Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException { in mergeFrom() method in UnknownFieldSet.Builder [all …]
|
D | DynamicMessage.java | 92 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom() 99 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom() 105 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom() 112 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom() 118 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom() 125 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom() 130 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom() 136 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom() 149 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); in newBuilder() 279 return newBuilderForType().mergeFrom(this); in toBuilder() [all …]
|
D | Schema.java | 50 void mergeFrom(T message, Reader reader, ExtensionRegistryLite extensionRegistry) in mergeFrom() method 59 void mergeFrom(T message, byte[] data, int position, int limit, Registers registers) in mergeFrom() method 81 void mergeFrom(T message, T other); in mergeFrom() method
|
D | Protobuf.java | 64 public <T> void mergeFrom(T message, Reader reader) throws IOException { in mergeFrom() method in Protobuf 65 mergeFrom(message, reader, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom() 69 public <T> void mergeFrom(T message, Reader reader, ExtensionRegistryLite extensionRegistry) in mergeFrom() method in Protobuf 71 schemaFor(message).mergeFrom(message, reader, extensionRegistry); in mergeFrom()
|
D | SingleFieldBuilder.java | 132 builder.mergeFrom(message); // no-op if message is the default message in getBuilder() 175 public SingleFieldBuilder<MType, BType, IType> mergeFrom(MType value) { in mergeFrom() method in SingleFieldBuilder 179 getBuilder().mergeFrom(value); in mergeFrom()
|
D | SingleFieldBuilderV3.java | 132 builder.mergeFrom(message); // no-op if message is the default message in getBuilder() 175 public SingleFieldBuilderV3<MType, BType, IType> mergeFrom(MType value) { in mergeFrom() method in SingleFieldBuilderV3 179 getBuilder().mergeFrom(value); in mergeFrom()
|
D | LazyFieldLite.java | 287 setValue(this.value.toBuilder().mergeFrom(other.value).build()); in merge() 296 public void mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() method in LazyFieldLite 323 setValue(value.toBuilder().mergeFrom(input, extensionRegistry).build()); in mergeFrom() 333 return value.toBuilder().mergeFrom(otherBytes, extensionRegistry).build(); in mergeValueAndBytes()
|
D | GeneratedMessageLite.java | 189 return ((BuilderType) createBuilder()).mergeFrom(prototype); in createBuilder() 201 builder.mergeFrom((MessageType) this); in toBuilder() 385 builder.mergeFrom(buildPartial()); in clone() 412 return mergeFrom(message); in internalMergeFrom() 416 public BuilderType mergeFrom(MessageType message) { in mergeFrom() method in GeneratedMessageLite.Builder 423 Protobuf.getInstance().schemaFor(dest).mergeFrom(dest, src); in mergeFromInstance() 432 public BuilderType mergeFrom( in mergeFrom() method in GeneratedMessageLite.Builder 437 Protobuf.getInstance().schemaFor(instance).mergeFrom( in mergeFrom() 451 public BuilderType mergeFrom( in mergeFrom() method in GeneratedMessageLite.Builder 454 return mergeFrom(input, offset, length, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom() [all …]
|
D | MessageReflection.java | 447 subBuilder.mergeFrom(originalMessage); in parseGroup() 471 subBuilder.mergeFrom(originalMessage); in parseMessage() 495 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes() 498 subBuilder.mergeFrom(bytes, extensionRegistry); in parseMessageFromBytes() 514 subBuilder.mergeFrom(originalMessage); in newMergeTargetForField() 643 subBuilder.mergeFrom(originalMessage); in parseGroup() 661 subBuilder.mergeFrom(originalMessage); in parseMessage() 679 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes() 682 subBuilder.mergeFrom(bytes, registry); in parseMessageFromBytes()
|
D | MapFieldSchemaLite.java | 70 public Object mergeFrom(Object destMapField, Object srcMapField) { in mergeFrom() method in MapFieldSchemaLite 82 mine.mergeFrom(other); in mergeFromLite()
|
D | UnknownFieldSchema.java | 100 mergeFrom(subFields, reader); in mergeOneFieldFrom() 113 final void mergeFrom(B unknownFields, Reader reader) throws IOException { in mergeFrom() method in UnknownFieldSchema
|
D | MapFieldSchemaFull.java | 69 public Object mergeFrom(Object destMapField, Object srcMapField) { in mergeFrom() method in MapFieldSchemaFull 80 mine.mergeFrom(other); in mergeFromFull()
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBMessageTests+Merge.m | 94 [dst mergeFrom:src]; 132 [dst mergeFrom:src]; 170 [dst mergeFrom:src]; 208 [dst mergeFrom:src]; 231 [dst mergeFrom:src]; 263 //% [dst mergeFrom:src]; 273 [dst mergeFrom:src]; 284 [dst mergeFrom:src]; 295 [dst mergeFrom:src]; 306 [dst mergeFrom:src]; [all …]
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | AbstractMessageTest.java | 202 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy() 228 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing() 239 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized() 241 abstractMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized() 251 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized() 253 dynamicMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized() 275 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testPackedParsing() 294 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked() 303 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked() 311 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testUnpackedParsing() [all …]
|
D | MessageTest.java | 83 .mergeFrom(MERGE_SOURCE).build(); in testMergeFrom() 96 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic() 106 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom() 322 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicRepeatedMessageNull() 346 .mergeFrom(DynamicMessage.newBuilder(REPEATED_NESTED).build()) in testDynamicRepeatedMessageNotNull()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AbstractMessageTest.java | 252 .mergeFrom(TestUtil.getAllSet()) in testCopy() 275 AbstractMessageWrapper message = builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing() 286 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized() 288 abstractMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized() 298 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized() 300 dynamicMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized() 319 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testPackedParsing() 335 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked() 343 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked() 351 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testUnpackedParsing() [all …]
|
D | AbstractSchemaTest.java | 82 schema.mergeFrom(newMsg, reader, ExtensionRegistryLite.getEmptyRegistry()); in invalidUtf8StringParsing() 102 schema.mergeFrom(message, truncatedData, 0, i, new ArrayDecoders.Registers()); in mergeFromByteArrayFastPathMayThrowIndexOutOfBoundsException() 121 schema.mergeFrom( in roundtrip() 128 schema.mergeFrom(newMsg, reader, ExtensionRegistryLite.getEmptyRegistry()); in roundtrip()
|
D | MessageTest.java | 86 TestAllTypes result = TestAllTypes.newBuilder(MERGE_DEST).mergeFrom(MERGE_SOURCE).build(); in testMergeFrom() 98 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic() 108 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom() 320 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicRepeatedMessageNull() 346 .mergeFrom(DynamicMessage.newBuilder(repeatedNested).build()) in testDynamicRepeatedMessageNotNull()
|
D | ParseExceptionsTest.java | 160 return DescriptorProto.newBuilder().mergeFrom(in).build(); in messageBuilder_mergeFrom_InputStream() 173 .mergeFrom(in, ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry() 186 return DescriptorProto.newBuilder().mergeFrom(CodedInputStream.newInstance(in)).build(); in messageBuilder_mergeFrom_CodedInputStream() 199 .mergeFrom(CodedInputStream.newInstance(in), ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_CodedInputStreamAndExtensionRegistry()
|
D | SingleFieldBuilderV3Test.java | 114 builder.mergeFrom(TestAllTypes.getDefaultInstance()); in testMerge() 119 builder.mergeFrom(TestAllTypes.newBuilder().setOptionalDouble(4.0).buildPartial()); in testMerge() 125 builder.mergeFrom(TestAllTypes.newBuilder().setOptionalDouble(5.0).buildPartial()); in testMerge()
|
D | UnknownFieldSetTest.java | 309 TestEmptyMessage message = TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).build(); in testCopyFrom() 330 .mergeFrom(source) in testMergeFrom() 337 UnknownFieldSet.Builder builder = UnknownFieldSet.newBuilder().mergeFrom(unknownFields); in testAsMap() 346 UnknownFieldSet fields = UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clear().build(); in testClear() 352 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).clear().build(); in testClearMessage() 359 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clearField(fieldNumber).build(); in testClearField() 560 message = UnittestProto3.TestEmptyMessage.newBuilder().mergeFrom(message).build(); in testProto3RoundTrip()
|