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.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 …]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DAbstractMessageLite.java114 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessageLite.Builder
116 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom()
120 public abstract BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
125 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessageLite.Builder
129 mergeFrom(input); in mergeFrom()
141 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessageLite.Builder
147 mergeFrom(input, extensionRegistry); in mergeFrom()
159 public BuilderType mergeFrom(final byte[] data) in mergeFrom() method in AbstractMessageLite.Builder
161 return mergeFrom(data, 0, data.length); in mergeFrom()
164 public BuilderType mergeFrom(final byte[] data, final int off, in mergeFrom() method in AbstractMessageLite.Builder
[all …]
DMessageLite.java195 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
203 Builder mergeFrom(CodedInputStream input, in mergeFrom() method
217 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
226 Builder mergeFrom(ByteString data, in mergeFrom() method
237 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
246 Builder mergeFrom(byte[] data, int off, int len) in mergeFrom() method
256 Builder mergeFrom(byte[] data, in mergeFrom() method
267 Builder mergeFrom(byte[] data, int off, int len, in mergeFrom() method
285 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() method
294 Builder mergeFrom(InputStream input, in mergeFrom() method
DMessage.java126 Builder mergeFrom(Message other); in mergeFrom() method
133 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() method
134 Builder mergeFrom(CodedInputStream input, in mergeFrom() method
214 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() method
215 Builder mergeFrom(ByteString data, in mergeFrom() method
218 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() method
219 Builder mergeFrom(byte[] data, int off, int len) in mergeFrom() method
221 Builder mergeFrom(byte[] data, in mergeFrom() method
224 Builder mergeFrom(byte[] data, int off, int len, in mergeFrom() method
227 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 …]
DDynamicMessage.java76 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom()
85 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
91 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom()
98 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
104 return newBuilder(type).mergeFrom(data).buildParsed(); in parseFrom()
111 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
117 return newBuilder(type).mergeFrom(input).buildParsed(); in parseFrom()
124 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
137 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); in newBuilder()
242 return newBuilderForType().mergeFrom(this); in toBuilder()
[all …]
DAbstractMessage.java291 public BuilderType mergeFrom(final Message other) { in mergeFrom() method in AbstractMessage.Builder
320 .mergeFrom(existingValue) in mergeFrom()
321 .mergeFrom((Message)entry.getValue()) in mergeFrom()
335 public BuilderType mergeFrom(final CodedInputStream input) in mergeFrom() method in AbstractMessage.Builder
337 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom()
341 public BuilderType mergeFrom( in mergeFrom() method in AbstractMessage.Builder
421 subBuilder.mergeFrom(originalMessage); in mergeOriginalMessage()
725 subBuilder.mergeFrom(rawBytes, extensionRegistry); in mergeMessageSetExtensionFromBytes()
754 .mergeFrom(unknownFields) in mergeUnknownFields()
859 public BuilderType mergeFrom(final ByteString data) in mergeFrom() method in AbstractMessage.Builder
[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()
DGeneratedMessageLite.java102 public abstract BuilderType mergeFrom(MessageType message); in mergeFrom() method in GeneratedMessageLite.Builder
465 extensions.mergeFrom(((ExtendableMessage) other).extensions); in mergeExtensionFields()
676 return ((Builder) to).mergeFrom((GeneratedMessageLite) from); in internalMergeFrom()
772 builder.mergeFrom(asBytes); in readResolve()
/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.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()
/external/chromium_org/third_party/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()
DSingleFieldBuilderTest.java134 builder.mergeFrom(TestAllTypes.getDefaultInstance()); in testMerge()
139 builder.mergeFrom(TestAllTypes.newBuilder() in testMerge()
149 builder.mergeFrom(TestAllTypes.newBuilder() in testMerge()
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()
DGeneratedMessageTest.java517 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
524 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
627 TestAllExtensions.newBuilder().mergeFrom(original).build(); in testExtensionMergeFrom()
691 TestAllExtensionsLite.newBuilder().mergeFrom(original).build(); in testLiteExtensionMergeFrom()
1025 .mergeFrom((Message) builder1.getField(fieldDescriptor)); in testGetFieldBuilder()
1034 .mergeFrom((Message) builder1.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1043 .mergeFrom((Message) builder1.getField(importFieldDescriptor)); in testGetFieldBuilder()
1063 .mergeFrom((Message) builder2.getField(foreignFieldDescriptor)); in testGetFieldBuilder()
1072 .mergeFrom((Message) builder2.getField(importFieldDescriptor)); in testGetFieldBuilder()
/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()
/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()

123