Home
last modified time | relevance | path

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

12

/external/protobuf/java/src/main/java/com/google/protobuf/
DAbstractMessageLite.java106 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessageLite.Builder
108 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom()
112 public abstract BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
117 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessageLite.Builder
121 mergeFrom(input); in mergeFrom()
133 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
139 mergeFrom(input, extensionRegistry); in mergeFrom()
151 public BuilderType mergeFrom(final byte[] data) in mergeFrom() method in AbstractMessageLite.Builder
153 return mergeFrom(data, 0, data.length); in mergeFrom()
156 public BuilderType mergeFrom(final byte[] data, final int off, in mergeFrom() method in AbstractMessageLite.Builder
[all …]
DMessageLite.java221 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
229 Builder mergeFrom(CodedInputStream input, in mergeFrom() method
247 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
254 Builder mergeFrom(ByteString data, in mergeFrom() method
263 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
270 Builder mergeFrom(byte[] data, int off, int len) in mergeFrom() method
278 Builder mergeFrom(byte[] data, in mergeFrom() method
287 Builder mergeFrom(byte[] data, int off, int len, in mergeFrom() method
303 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method
310 Builder mergeFrom(InputStream input, in mergeFrom() method
DMessage.java182 Builder mergeFrom(Message other); in mergeFrom() method
189 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
190 Builder mergeFrom(CodedInputStream input, in mergeFrom() method
282 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
283 Builder mergeFrom(ByteString data, in mergeFrom() method
286 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
287 Builder mergeFrom(byte[] data, int off, int len) in mergeFrom() method
289 Builder mergeFrom(byte[] data, in mergeFrom() method
292 Builder mergeFrom(byte[] data, int off, int len, in mergeFrom() method
295 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method
[all …]
DUnknownFieldSet.java72 return newBuilder().mergeFrom(copyFrom); in newBuilder()
239 return newBuilder().mergeFrom(input).build(); in parseFrom()
245 return newBuilder().mergeFrom(data).build(); in parseFrom()
251 return newBuilder().mergeFrom(data).build(); in parseFrom()
257 return newBuilder().mergeFrom(input).build(); in parseFrom()
265 return newBuilder().mergeFrom(this); in toBuilder()
317 lastField.mergeFrom(existing); in getFieldBuilder()
351 return UnknownFieldSet.newBuilder().mergeFrom( in clone()
376 public Builder mergeFrom(final UnknownFieldSet other) { in mergeFrom() method in UnknownFieldSet.Builder
394 getFieldBuilder(number).mergeFrom(field); in mergeField()
[all …]
DAbstractMessage.java198 public BuilderType mergeFrom(final Message other) { in mergeFrom() method in AbstractMessage.Builder
227 .mergeFrom(existingValue) in mergeFrom()
228 .mergeFrom((Message)entry.getValue()) in mergeFrom()
242 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessage.Builder
244 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom()
248 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder
382 subBuilder.mergeFrom((Message) builder.getField(field)); in mergeFieldFrom()
396 subBuilder.mergeFrom((Message) builder.getField(field)); in mergeFieldFrom()
485 subBuilder.mergeFrom(originalMessage); in mergeMessageSetExtensionFromCodedStream()
489 subBuilder.mergeFrom( in mergeMessageSetExtensionFromCodedStream()
[all …]
DDynamicMessage.java75 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom()
84 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
90 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom()
97 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
103 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom()
110 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
116 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom()
123 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
136 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); in newBuilder()
236 return newBuilderForType().mergeFrom(this); in toBuilder()
[all …]
DRpcUtil.java95 .mergeFrom(source)
DGeneratedMessageLite.java63 public abstract BuilderType mergeFrom(MessageType message); in mergeFrom() method in GeneratedMessageLite.Builder
413 ((ExtendableMessage) internalGetResult()).extensions.mergeFrom( in mergeExtensionFields()
476 return ((Builder) to).mergeFrom((GeneratedMessageLite) from); in internalMergeFrom()
DGeneratedMessage.java253 .mergeFrom(unknownFields) in mergeUnknownFields()
718 internalGetResult().extensions.mergeFrom(other.extensions); in mergeExtensionFields()
871 .mergeFrom((Message) value).build(); in singularFromReflectionType()
1268 .mergeFrom((Message) value).build(); in coerceType()
1304 .mergeFrom((Message) value).build(); in coerceType()
DCodedInputStream.java222 builder.mergeFrom(this, extensionRegistry); in readGroup()
257 builder.mergeFrom(this, extensionRegistry); in readMessage()
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DMessageMicro.java68 abstract public MessageMicro mergeFrom(final CodedInputStreamMicro input) throws IOException; in mergeFrom() method in MessageMicro
104 public MessageMicro mergeFrom(final byte[] data) throws InvalidProtocolBufferMicroException { in mergeFrom() method in MessageMicro
105 return mergeFrom(data, 0, data.length); in mergeFrom()
112 public MessageMicro mergeFrom(final byte[] data, final int off, final int len) in mergeFrom() method in MessageMicro
116 mergeFrom(input); in mergeFrom()
DCodedInputStreamMicro.java217 msg.mergeFrom(this); in readGroup()
231 msg.mergeFrom(this); in readMessage()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DMessageNano.java92 public abstract MessageNano mergeFrom(CodedInputByteBufferNano input) throws IOException; in mergeFrom() method in MessageNano
128 public static final <T extends MessageNano> T mergeFrom(T msg, final byte[] data) in mergeFrom() method in MessageNano
130 return mergeFrom(msg, data, 0, data.length); in mergeFrom()
137 public static final <T extends MessageNano> T mergeFrom(T msg, final byte[] data, in mergeFrom() method in MessageNano
142 msg.mergeFrom(input); in mergeFrom()
DCodedInputByteBufferNano.java209 msg.mergeFrom(this); in readGroup()
223 msg.mergeFrom(this); in readMessage()
/external/protobuf/java/src/test/java/com/google/protobuf/
DAbstractMessageTest.java193 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy()
219 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
238 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testPackedParsing()
257 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
266 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
274 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testUnpackedParsing()
362 .mergeFrom(MERGE_SOURCE).build(); in testMergeFrom()
DMessageTest.java80 .mergeFrom(MERGE_SOURCE).build(); in testMergeFrom()
93 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic()
103 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom()
DUnknownFieldSetTest.java156 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).build(); in testCopyFrom()
185 .mergeFrom(source) in testMergeFrom()
198 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clear().build(); in testClear()
204 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).clear().build(); in testClearMessage()
DNanoTest.java2139 EnumValidity.M deserialized = MessageNano.mergeFrom(new EnumValidity.M(), serialized); in testNanoEnumValidity()
2163 MessageNano.mergeFrom(deserialized, serialized); in testNanoEnumValidity()
2182 EnumValidity.Alt alt = MessageNano.mergeFrom(new EnumValidity.Alt(), serialized); in testNanoEnumValidity()
2212 MessageNano.mergeFrom(new EnumValidityAccessors.M(), serialized); in testNanoEnumValidityAccessors()
2220 MessageNano.mergeFrom(deserialized, serialized); in testNanoEnumValidityAccessors()
2226 MessageNano.mergeFrom(new EnumValidityAccessors.Alt(), serialized); in testNanoEnumValidityAccessors()
2901 message = MessageNano.mergeFrom(new Extensions.ExtendableMessage(), data2); in testExtensions()
3093 SimpleMessageNano newMessage = MessageNano.mergeFrom(new SimpleMessageNano(), bytes); in testMergeFrom()
3376 MessageNano.mergeFrom(new TestAllTypesNano(), MessageNano.toByteArray(m1)))); in testEqualsWithSpecialFloatingPointValues()
3391 MessageNano.mergeFrom(new TestAllTypesNano(), MessageNano.toByteArray(m1)))); in testEqualsWithSpecialFloatingPointValues()
[all …]
DGeneratedMessageTest.java376 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
383 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
480 TestAllExtensions.newBuilder().mergeFrom(original).build(); in testExtensionMergeFrom()
540 TestAllExtensionsLite.newBuilder().mergeFrom(original).build(); in testLiteExtensionMergeFrom()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLInputStream.h105 void mergeFrom(SegmentedString& next) in mergeFrom() function
145 m_inputStream->mergeFrom(m_next); in ~InsertionPointRecord()
/external/protobuf/java/src/device/main/java/com/google/protobuf/nano/android/
DParcelingUtil.java53 MessageNano.mergeFrom(proto, data); in createFromParcel()
/external/protobuf/examples/
DAddPerson.java73 addressBook.mergeFrom(input); in main()
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DPhoneNumberUtilTest.java550 PhoneNumber arNumberWithExtn = new PhoneNumber().mergeFrom(AR_MOBILE).setExtension("1234"); in testFormatOutOfCountryCallingNumber()
715 PhoneNumber deNumberWithExtn = new PhoneNumber().mergeFrom(DE_NUMBER).setExtension("1234"); in testFormatNumberForMobileDialing()
730 PhoneNumber usNumberWithExtn = new PhoneNumber().mergeFrom(US_NUMBER).setExtension("1234"); in testFormatNumberForMobileDialing()
887 PhoneNumber nzNumber = new PhoneNumber().mergeFrom(NZ_NUMBER).setExtension("1234"); in testFormatNumberWithExtension()
894 PhoneNumber usNumberWithExtension = new PhoneNumber().mergeFrom(US_NUMBER).setExtension("4567"); in testFormatNumberWithExtension()
1370 tooLongNumber.mergeFrom(US_LONG_NUMBER); in testTruncateTooLongNumber()
1375 tooLongNumber.mergeFrom(INTERNATIONAL_TOLL_FREE_TOO_LONG); in testTruncateTooLongNumber()
1380 PhoneNumber validNumberCopy = new PhoneNumber().mergeFrom(validNumber); in testTruncateTooLongNumber()
1389 PhoneNumber invalidNumberCopy = new PhoneNumber().mergeFrom(numberWithInvalidPrefix); in testTruncateTooLongNumber()
1396 PhoneNumber tooShortNumberCopy = new PhoneNumber().mergeFrom(tooShortNumber); in testTruncateTooLongNumber()
[all …]
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFStream.cpp40 this->mergeFrom(pdfStream); in SkPDFStream()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java904 copiedProto.mergeFrom(number);
1188 numFormatCopy.mergeFrom(formattingPattern);
1298 PhoneNumber numberNoExt = new PhoneNumber().mergeFrom(number).clearExtension();
1541 numFormatCopy.mergeFrom(formatRule);
1670 newFormat.mergeFrom(formattingPattern);
2441 numberCopy.mergeFrom(number);
3072 firstNumber.mergeFrom(firstNumberIn);
3074 secondNumber.mergeFrom(secondNumberIn);

12