Home
last modified time | relevance | path

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

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
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 …]
DAbstractMessageLite.java140 public BuilderType mergeFrom(final CodedInputStream input) throws IOException { in mergeFrom() method in AbstractMessageLite.Builder
141 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom()
146 public abstract BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
151 public BuilderType mergeFrom(final ByteString data) throws InvalidProtocolBufferException { in mergeFrom() method in AbstractMessageLite.Builder
154 mergeFrom(input); in mergeFrom()
165 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
170 mergeFrom(input, extensionRegistry); in mergeFrom()
181 public BuilderType mergeFrom(final byte[] data) throws InvalidProtocolBufferException { in mergeFrom() method in AbstractMessageLite.Builder
182 return mergeFrom(data, 0, data.length); in mergeFrom()
186 public BuilderType mergeFrom(final byte[] data, final int off, final int len) in mergeFrom() method in AbstractMessageLite.Builder
[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 …]
DAbstractMessage.java374 return mergeFrom((Message) other); in internalMergeFrom()
378 public BuilderType mergeFrom(final Message other) { in mergeFrom() method in AbstractMessage.Builder
407 .mergeFrom(existingValue) in mergeFrom()
408 .mergeFrom((Message)entry.getValue()) in mergeFrom()
422 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessage.Builder
424 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom()
428 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder
459 .mergeFrom(unknownFields) in mergeUnknownFields()
536 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessage.Builder
538 return (BuilderType) super.mergeFrom(data); in mergeFrom()
[all …]
DUnknownFieldSet.java73 return newBuilder().mergeFrom(copyFrom); in newBuilder()
250 return newBuilder().mergeFrom(input).build(); in parseFrom()
256 return newBuilder().mergeFrom(data).build(); in parseFrom()
262 return newBuilder().mergeFrom(data).build(); in parseFrom()
268 return newBuilder().mergeFrom(input).build(); in parseFrom()
278 return newBuilder().mergeFrom(this); in toBuilder()
330 lastField.mergeFrom(existing); in getFieldBuilder()
366 return UnknownFieldSet.newBuilder().mergeFrom( in clone()
409 public Builder mergeFrom(final UnknownFieldSet other) { in mergeFrom() method in UnknownFieldSet.Builder
427 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()
284 return newBuilderForType().mergeFrom(this); in toBuilder()
[all …]
DSingleFieldBuilderV3.java143 builder.mergeFrom(message); // no-op if message is the default message in getBuilder()
190 public SingleFieldBuilderV3<MType, BType, IType> mergeFrom( in mergeFrom() method in SingleFieldBuilderV3
195 getBuilder().mergeFrom(value); in mergeFrom()
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.java468 subBuilder.mergeFrom(originalMessage); in parseGroup()
492 subBuilder.mergeFrom(originalMessage); in parseMessage()
516 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes()
519 subBuilder.mergeFrom(bytes, extensionRegistry); in parseMessageFromBytes()
649 subBuilder.mergeFrom(originalMessage); in parseGroup()
668 subBuilder.mergeFrom(originalMessage); in parseMessage()
686 subBuilder.mergeFrom(originalMessage); in parseMessageFromBytes()
689 subBuilder.mergeFrom(bytes, registry); in parseMessageFromBytes()
DLazyStringList.java164 void mergeFrom(LazyStringList other); in mergeFrom() method
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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.m102 [message mergeFrom:emptyMessage_];
150 [destination1 mergeFrom:source1];
151 [destination1 mergeFrom:source2];
154 [destination2 mergeFrom:source3];
155 [destination2 mergeFrom:source4];
162 [message mergeFrom:emptyMessage_];
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DAbstractMessageTest.java202 .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 …]
DMessageTest.java83 .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()
DUnknownFieldSetTest.java157 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).build(); in testCopyFrom()
186 .mergeFrom(source) in testMergeFrom()
199 UnknownFieldSet.newBuilder().mergeFrom(unknownFields).clear().build(); in testClear()
205 TestEmptyMessage.newBuilder().mergeFrom(emptyMessage).clear().build(); in testClearMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
DSingleFieldBuilderV3Test.java134 builder.mergeFrom(TestAllTypes.getDefaultInstance()); in testMerge()
139 builder.mergeFrom(TestAllTypes.newBuilder() in testMerge()
149 builder.mergeFrom(TestAllTypes.newBuilder() in testMerge()
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()
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 …]
DLazyMessageLiteTest.java217 .mergeFrom(outerMerging) in testMergeValues()
243 .mergeFrom(outerMerging) in testMergeDefaultValues()
261 LazyMessageLite.Builder merged = LazyMessageLite.newBuilder().mergeFrom(outer); in testMergeOneofMessages()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()

123