Home
last modified time | relevance | path

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

1234

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DAbstractMessageLite.java139 public BuilderType mergeFrom(final CodedInputStream input) throws IOException { in mergeFrom() method in AbstractMessageLite.Builder
140 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom()
145 public abstract BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
150 public BuilderType mergeFrom(final ByteString data) throws InvalidProtocolBufferException { in mergeFrom() method in AbstractMessageLite.Builder
153 mergeFrom(input); in mergeFrom()
166 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
171 mergeFrom(input, extensionRegistry); in mergeFrom()
184 public BuilderType mergeFrom(final byte[] data) throws InvalidProtocolBufferException { in mergeFrom() method in AbstractMessageLite.Builder
185 return mergeFrom(data, 0, data.length); in mergeFrom()
189 public BuilderType mergeFrom(final byte[] data, final int off, final int len) in mergeFrom() method in AbstractMessageLite.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
[all …]
DUnknownFieldSet.java72 return newBuilder().mergeFrom(copyFrom); in newBuilder()
248 return newBuilder().mergeFrom(input).build(); in parseFrom()
254 return newBuilder().mergeFrom(data).build(); in parseFrom()
260 return newBuilder().mergeFrom(data).build(); in parseFrom()
266 return newBuilder().mergeFrom(input).build(); in parseFrom()
276 return newBuilder().mergeFrom(this); in toBuilder()
328 lastField.mergeFrom(existing); in getFieldBuilder()
364 return UnknownFieldSet.newBuilder().mergeFrom( in clone()
407 public Builder mergeFrom(final UnknownFieldSet other) { in mergeFrom() method in UnknownFieldSet.Builder
425 getFieldBuilder(number).mergeFrom(field); in mergeField()
[all …]
DAbstractMessage.java346 return mergeFrom((Message) other); in internalMergeFrom()
350 public BuilderType mergeFrom(final Message other) { in mergeFrom() method in AbstractMessage.Builder
379 .mergeFrom(existingValue) in mergeFrom()
380 .mergeFrom((Message)entry.getValue()) in mergeFrom()
394 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessage.Builder
396 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom()
400 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder
431 .mergeFrom(unknownFields) in mergeUnknownFields()
483 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessage.Builder
485 return (BuilderType) super.mergeFrom(data); in mergeFrom()
[all …]
DMessage.java135 Builder mergeFrom(Message other); in mergeFrom() method
149 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
152 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() method
258 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
261 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom() method
265 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
268 Builder mergeFrom(byte[] data, int off, int len) throws InvalidProtocolBufferException; in mergeFrom() method
271 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom() method
275 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom() method
279 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method
[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()
284 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()
DLazyFieldLite.java318 public void mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() method in LazyFieldLite
345 setValue(value.toBuilder().mergeFrom(input, extensionRegistry).build()); in mergeFrom()
355 return value.toBuilder().mergeFrom(otherBytes, extensionRegistry).build(); in mergeValueAndBytes()
DMessageReflection.java469 subBuilder.mergeFrom(originalMessage); in parseGroup()
493 subBuilder.mergeFrom(originalMessage); in parseMessage()
517 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes()
520 subBuilder.mergeFrom(bytes, extensionRegistry); in parseMessageFromBytes()
651 subBuilder.mergeFrom(originalMessage); in parseGroup()
670 subBuilder.mergeFrom(originalMessage); in parseMessage()
688 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes()
691 subBuilder.mergeFrom(bytes, registry); in parseMessageFromBytes()
DGeneratedMessageLite.java226 builder.mergeFrom((MessageType) this); in toBuilder()
353 builder.mergeFrom(buildPartial()); in clone()
380 return mergeFrom(message); in internalMergeFrom()
384 public BuilderType mergeFrom(MessageType message) { in mergeFrom() method in GeneratedMessageLite.Builder
396 public BuilderType mergeFrom( in mergeFrom() method in GeneratedMessageLite.Builder
461 extensions.mergeFrom(((ExtendableMessage) other).extensions); in mergeExtensionFields()
971 return ((Builder) to).mergeFrom((GeneratedMessageLite) from); in internalMergeFrom()
1189 .mergeFrom(asBytes) in readResolve()
2117 return (T) mine.toBuilder().mergeFrom(other).build(); in visitMessage()
2224 mine.mergeFrom(other); in visitExtensions()
[all …]
DLazyStringList.java164 void mergeFrom(LazyStringList other); in mergeFrom() method
DUnknownFieldSetLite.java318 subFieldSet.mergeFrom(input); in mergeFieldFrom()
368 private UnknownFieldSetLite mergeFrom(final CodedInputStream input) throws IOException { in mergeFrom() method in UnknownFieldSetLite
/external/protobuf/objectivec/Tests/
DGPBMessageTests+Merge.m94 [dst mergeFrom:src];
132 [dst mergeFrom:src];
170 [dst mergeFrom:src];
208 [dst mergeFrom:src];
231 [dst mergeFrom:src];
263 //% [dst mergeFrom:src];
272 [dst mergeFrom:src];
281 [dst mergeFrom:src];
290 [dst mergeFrom:src];
299 [dst mergeFrom:src];
[all …]
DGPBUnknownFieldSetTest.m106 [message mergeFrom:emptyMessage_];
154 [destination1 mergeFrom:source1];
155 [destination1 mergeFrom:source2];
158 [destination2 mergeFrom:source3];
159 [destination2 mergeFrom:source4];
166 [message mergeFrom:emptyMessage_];
/external/protobuf/javamicro/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/javanano/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()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractMessageTest.java225 .mergeFrom(TestUtil.getAllSet()).build(); in testCopy()
251 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
262 abstractMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
264 abstractMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized()
274 dynamicMessageBuilder.mergeFrom(bytes).buildPartial(); in testParsingUninitialized()
276 dynamicMessageBuilder.mergeFrom(bytes).build(); in testParsingUninitialized()
298 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testPackedParsing()
317 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
326 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
334 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testUnpackedParsing()
[all …]
DParseExceptionsTest.java155 return DescriptorProto.newBuilder().mergeFrom(in).build(); in messageBuilder_mergeFrom_InputStream()
167 .mergeFrom(in, ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry()
179 return DescriptorProto.newBuilder().mergeFrom(CodedInputStream.newInstance(in)).build(); in messageBuilder_mergeFrom_CodedInputStream()
191 .mergeFrom(CodedInputStream.newInstance(in), ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_CodedInputStreamAndExtensionRegistry()
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.java160 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).build(); in testCopyFrom()
189 .mergeFrom(source) in testMergeFrom()
202 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clear().build(); in testClear()
208 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).clear().build(); in testClearMessage()
215 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clearField(fieldNumber).build(); in testClearField()
502 .mergeFrom(emptyMessageLite).build(); in testCopyFromLite()
528 message1 = TestAllTypes.newBuilder(message1).mergeFrom(message2).build(); in testMergeFromLite()
530 .mergeFrom(emptyMessageLite2).build(); in testMergeFromLite()
648 .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.java436 builder.mergeFrom((TestAllTypes) null); in testMergeFromOtherRejectsNull()
585 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
592 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
710 TestAllExtensions.newBuilder().mergeFrom(original).build(); in testExtensionMergeFrom()
774 TestAllExtensionsLite.newBuilder().mergeFrom(original).build(); in testLiteExtensionMergeFrom()
1117 .mergeFrom((Message) builder1.getField(fieldDescriptor)); in testGetFieldBuilder()
1126 .mergeFrom((Message) builder1.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1135 .mergeFrom((Message) builder1.getField(importFieldDescriptor)); in testGetFieldBuilder()
1155 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1164 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
[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/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2127 EnumValidity.M deserialized = MessageNano.mergeFrom(new EnumValidity.M(), serialized); in testNanoEnumValidity()
2151 MessageNano.mergeFrom(deserialized, serialized); in testNanoEnumValidity()
2170 EnumValidity.Alt alt = MessageNano.mergeFrom(new EnumValidity.Alt(), serialized); in testNanoEnumValidity()
2200 MessageNano.mergeFrom(new EnumValidityAccessors.M(), serialized); in testNanoEnumValidityAccessors()
2208 MessageNano.mergeFrom(deserialized, serialized); in testNanoEnumValidityAccessors()
2214 MessageNano.mergeFrom(new EnumValidityAccessors.Alt(), serialized); in testNanoEnumValidityAccessors()
2352 MessageNano.mergeFrom(resultNano, MessageNano.toByteArray(testAllTypesNano)); in testEncodingOfString()
3033 message = MessageNano.mergeFrom(new Extensions.ExtendableMessage(), data2); in testExtensions()
3235 SimpleMessageNano newMessage = MessageNano.mergeFrom(new SimpleMessageNano(), bytes); in testMergeFrom()
3522 MessageNano.mergeFrom(new TestAllTypesNano(), MessageNano.toByteArray(m1)))); in testEqualsWithSpecialFloatingPointValues()
[all …]
/external/clang/include/clang/Sema/
DCleanupInfo.h39 void mergeFrom(CleanupInfo Rhs) { in mergeFrom() function

1234