Home
last modified time | relevance | path

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

123

/external/protobuf/java/src/main/java/com/google/protobuf/
DAbstractMessageLite.java124 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessageLite.Builder
126 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom()
130 public abstract BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
135 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessageLite.Builder
139 mergeFrom(input); in mergeFrom()
151 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
157 mergeFrom(input, extensionRegistry); in mergeFrom()
169 public BuilderType mergeFrom(final byte[] data) in mergeFrom() method in AbstractMessageLite.Builder
171 return mergeFrom(data, 0, data.length); in mergeFrom()
174 public BuilderType mergeFrom(final byte[] data, final int off, in mergeFrom() method in AbstractMessageLite.Builder
[all …]
DAbstractMessage.java272 public BuilderType mergeFrom(final Message other) { in mergeFrom() method in AbstractMessage.Builder
301 .mergeFrom(existingValue) in mergeFrom()
302 .mergeFrom((Message)entry.getValue()) in mergeFrom()
316 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessage.Builder
318 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom()
322 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder
352 .mergeFrom(unknownFields) in mergeUnknownFields()
396 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessage.Builder
398 return super.mergeFrom(data); in mergeFrom()
402 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder
[all …]
DMessageLite.java196 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
204 Builder mergeFrom(CodedInputStream input, in mergeFrom() method
218 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
227 Builder mergeFrom(ByteString data, in mergeFrom() method
238 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
247 Builder mergeFrom(byte[] data, int off, int len) in mergeFrom() method
257 Builder mergeFrom(byte[] data, in mergeFrom() method
268 Builder mergeFrom(byte[] data, int off, int len, in mergeFrom() method
286 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method
295 Builder mergeFrom(InputStream input, in mergeFrom() method
DMessage.java127 Builder mergeFrom(Message other); in mergeFrom() method
134 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
135 Builder mergeFrom(CodedInputStream input, in mergeFrom() method
221 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
222 Builder mergeFrom(ByteString data, in mergeFrom() method
225 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
226 Builder mergeFrom(byte[] data, int off, int len) in mergeFrom() method
228 Builder mergeFrom(byte[] data, in mergeFrom() method
231 Builder mergeFrom(byte[] data, int off, int len, in mergeFrom() method
234 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method
[all …]
DUnknownFieldSet.java72 return newBuilder().mergeFrom(copyFrom); in newBuilder()
240 return newBuilder().mergeFrom(input).build(); in parseFrom()
246 return newBuilder().mergeFrom(data).build(); in parseFrom()
252 return newBuilder().mergeFrom(data).build(); in parseFrom()
258 return newBuilder().mergeFrom(input).build(); in parseFrom()
266 return newBuilder().mergeFrom(this); in toBuilder()
318 lastField.mergeFrom(existing); in getFieldBuilder()
352 return UnknownFieldSet.newBuilder().mergeFrom( in clone()
393 public Builder mergeFrom(final UnknownFieldSet other) { in mergeFrom() method in UnknownFieldSet.Builder
411 getFieldBuilder(number).mergeFrom(field); in mergeField()
[all …]
DDynamicMessage.java92 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom()
101 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
107 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom()
114 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
120 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom()
127 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
133 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom()
140 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
153 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); in newBuilder()
272 return newBuilderForType().mergeFrom(this); in toBuilder()
[all …]
DSingleFieldBuilder.java143 builder.mergeFrom(message); // no-op if message is the default message in getBuilder()
190 public SingleFieldBuilder<MType, BType, IType> mergeFrom( in mergeFrom() method in SingleFieldBuilder
195 getBuilder().mergeFrom(value); in mergeFrom()
DMessageReflection.java458 subBuilder.mergeFrom(originalMessage); in parseGroup()
479 subBuilder.mergeFrom(originalMessage); in parseMessage()
500 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes()
503 subBuilder.mergeFrom(bytes, extensionRegistry); in parseMessageFromBytes()
613 subBuilder.mergeFrom(originalMessage); in parseGroup()
628 subBuilder.mergeFrom(originalMessage); in parseMessage()
642 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes()
645 subBuilder.mergeFrom(bytes, registry); in parseMessageFromBytes()
DLazyStringList.java153 void mergeFrom(LazyStringList other); in mergeFrom() method
DRpcUtil.java95 .newBuilderForType().mergeFrom(source).build();
DGeneratedMessageLite.java105 public abstract BuilderType mergeFrom(MessageType message); in mergeFrom() method in GeneratedMessageLite.Builder
496 extensions.mergeFrom(((ExtendableMessage) other).extensions); in mergeExtensionFields()
720 return ((Builder) to).mergeFrom((GeneratedMessageLite) from); in internalMergeFrom()
924 builder.mergeFrom(asBytes); in readResolve()
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/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()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DMessageNano.java93 public abstract MessageNano mergeFrom(CodedInputByteBufferNano input) throws IOException; in mergeFrom() method in MessageNano
129 public static final <T extends MessageNano> T mergeFrom(T msg, final byte[] data) in mergeFrom() method in MessageNano
131 return mergeFrom(msg, data, 0, data.length); in mergeFrom()
138 public static final <T extends MessageNano> T mergeFrom(T msg, final byte[] data, in mergeFrom() method in MessageNano
143 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.java201 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy()
227 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
238 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
240 abstractMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized()
250 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
252 dynamicMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized()
274 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testPackedParsing()
293 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
302 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
310 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testUnpackedParsing()
[all …]
DMessageTest.java82 .mergeFrom(MERGE_SOURCE).build(); in testMergeFrom()
95 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testMergeFromDynamic()
105 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicMergeFrom()
321 .mergeFrom(DynamicMessage.newBuilder(MERGE_SOURCE).build()) in testDynamicRepeatedMessageNull()
345 .mergeFrom(DynamicMessage.newBuilder(REPEATED_NESTED).build()) in testDynamicRepeatedMessageNotNull()
DUnknownFieldSetTest.java159 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).build(); in testCopyFrom()
188 .mergeFrom(source) in testMergeFrom()
201 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clear().build(); in testClear()
207 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).clear().build(); in testClearMessage()
214 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clearField(fieldNumber).build(); in testClearField()
501 .mergeFrom(emptyMessageLite).build(); in testCopyFromLite()
527 message1 = TestAllTypes.newBuilder(message1).mergeFrom(message2).build(); in testMergeFromLite()
529 .mergeFrom(emptyMessageLite2).build(); in testMergeFromLite()
647 .mergeFrom(emptyMessageLite1).clear().build(); in testClearLite()
DSingleFieldBuilderTest.java134 builder.mergeFrom(TestAllTypes.getDefaultInstance()); in testMerge()
139 builder.mergeFrom(TestAllTypes.newBuilder() in testMerge()
149 builder.mergeFrom(TestAllTypes.newBuilder() in testMerge()
DGeneratedMessageTest.java439 builder.mergeFrom((TestAllTypes) null); in testMergeFromOtherRejectsNull()
588 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
595 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
698 TestAllExtensions.newBuilder().mergeFrom(original).build(); in testExtensionMergeFrom()
762 TestAllExtensionsLite.newBuilder().mergeFrom(original).build(); in testLiteExtensionMergeFrom()
1105 .mergeFrom((Message) builder1.getField(fieldDescriptor)); in testGetFieldBuilder()
1114 .mergeFrom((Message) builder1.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1123 .mergeFrom((Message) builder1.getField(importFieldDescriptor)); in testGetFieldBuilder()
1143 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1152 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
[all …]
DNanoTest.java2144 EnumValidity.M deserialized = MessageNano.mergeFrom(new EnumValidity.M(), serialized); in testNanoEnumValidity()
2168 MessageNano.mergeFrom(deserialized, serialized); in testNanoEnumValidity()
2187 EnumValidity.Alt alt = MessageNano.mergeFrom(new EnumValidity.Alt(), serialized); in testNanoEnumValidity()
2217 MessageNano.mergeFrom(new EnumValidityAccessors.M(), serialized); in testNanoEnumValidityAccessors()
2225 MessageNano.mergeFrom(deserialized, serialized); in testNanoEnumValidityAccessors()
2231 MessageNano.mergeFrom(new EnumValidityAccessors.Alt(), serialized); in testNanoEnumValidityAccessors()
2369 MessageNano.mergeFrom(resultNano, MessageNano.toByteArray(testAllTypesNano)); in testEncodingOfString()
3009 message = MessageNano.mergeFrom(new Extensions.ExtendableMessage(), data2); in testExtensions()
3210 SimpleMessageNano newMessage = MessageNano.mergeFrom(new SimpleMessageNano(), bytes); in testMergeFrom()
3496 MessageNano.mergeFrom(new TestAllTypesNano(), MessageNano.toByteArray(m1)))); in testEqualsWithSpecialFloatingPointValues()
[all …]
/external/protobuf/benchmarks/
DProtoBench.java93 … final Message sampleMessage = defaultMessage.newBuilderForType().mergeFrom(inputString).build(); in runTest()
130 defaultMessage.newBuilderForType().mergeFrom(inputString).build(); in runTest()
136 .mergeFrom(CodedInputStream.newInstance(inputData)).build(); in runTest()
142 .mergeFrom(CodedInputStream.newInstance(inputStream)).build(); in runTest()
/external/llvm/lib/IR/
DFunctionInfo.cpp21 void FunctionInfoIndex::mergeFrom(std::unique_ptr<FunctionInfoIndex> Other, in mergeFrom() function in FunctionInfoIndex
/external/protobuf/java/src/device/main/java/com/google/protobuf/nano/android/
DParcelableMessageNanoCreator.java64 MessageNano.mergeFrom(proto, data); in createFromParcel()
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java541 PhoneNumber arNumberWithExtn = new PhoneNumber().mergeFrom(AR_MOBILE).setExtension("1234"); in testFormatOutOfCountryCallingNumber()
706 PhoneNumber deNumberWithExtn = new PhoneNumber().mergeFrom(DE_NUMBER).setExtension("1234"); in testFormatNumberForMobileDialing()
721 PhoneNumber usNumberWithExtn = new PhoneNumber().mergeFrom(US_NUMBER).setExtension("1234"); in testFormatNumberForMobileDialing()
878 PhoneNumber nzNumber = new PhoneNumber().mergeFrom(NZ_NUMBER).setExtension("1234"); in testFormatNumberWithExtension()
885 PhoneNumber usNumberWithExtension = new PhoneNumber().mergeFrom(US_NUMBER).setExtension("4567"); in testFormatNumberWithExtension()
1349 tooLongNumber.mergeFrom(US_LONG_NUMBER); in testTruncateTooLongNumber()
1354 tooLongNumber.mergeFrom(INTERNATIONAL_TOLL_FREE_TOO_LONG); in testTruncateTooLongNumber()
1359 PhoneNumber validNumberCopy = new PhoneNumber().mergeFrom(validNumber); in testTruncateTooLongNumber()
1368 PhoneNumber invalidNumberCopy = new PhoneNumber().mergeFrom(numberWithInvalidPrefix); in testTruncateTooLongNumber()
1375 PhoneNumber tooShortNumberCopy = new PhoneNumber().mergeFrom(tooShortNumber); in testTruncateTooLongNumber()
[all …]

123