Home
last modified time | relevance | path

Searched refs:extensionRegistry (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java98 private ExtensionRegistryLite extensionRegistry; field in LazyFieldLite
116 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyFieldLite() argument
117 checkArguments(extensionRegistry, bytes); in LazyFieldLite()
118 this.extensionRegistry = extensionRegistry; in LazyFieldLite()
212 if (other.extensionRegistry != null) { in set()
213 this.extensionRegistry = other.extensionRegistry; in set()
262 if (this.extensionRegistry == null) { in merge()
263 this.extensionRegistry = other.extensionRegistry; in merge()
280 setValue(mergeValueAndBytes(other.value, this.delayedBytes, this.extensionRegistry)); in merge()
283 setValue(mergeValueAndBytes(this.value, other.delayedBytes, other.extensionRegistry)); in merge()
[all …]
DAbstractParser.java88 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom() argument
91 parsePartialFrom(input, extensionRegistry)); in parseFrom()
100 public MessageType parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
105 message = parsePartialFrom(input, extensionRegistry); in parsePartialFrom()
123 public MessageType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parseFrom() argument
125 return checkMessageInitialized(parsePartialFrom(data, extensionRegistry)); in parseFrom()
135 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
139 MessageType message = parsePartialFrom(input, extensionRegistry); in parsePartialFrom()
158 public MessageType parsePartialFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
160 return parsePartialFrom(data, 0, data.length, extensionRegistry); in parsePartialFrom()
[all …]
DParser.java72 ExtensionRegistryLite extensionRegistry) in parseFrom() argument
89 ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
108 ExtensionRegistryLite extensionRegistry) in parseFrom() argument
125 ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
141 ExtensionRegistryLite extensionRegistry) in parseFrom() argument
157 ExtensionRegistryLite extensionRegistry) in parseFrom() argument
174 ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
191 ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
214 ExtensionRegistryLite extensionRegistry) in parseFrom() argument
231 ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
[all …]
DMessageLite.java205 ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
228 ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
258 ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
269 ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
296 ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
338 ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom() argument
DMapEntryLite.java123 CodedInputStream input, ExtensionRegistryLite extensionRegistry, in parseField() argument
128 input.readMessage(subBuilder, extensionRegistry); in parseField()
166 public Map.Entry<K, V> parseEntry(ByteString bytes, ExtensionRegistryLite extensionRegistry) in parseEntry() argument
168 return parseEntry(bytes.newCodedInput(), metadata, extensionRegistry); in parseEntry()
172 CodedInputStream input, Metadata<K, V> metadata, ExtensionRegistryLite extensionRegistry) in parseEntry() argument
182 key = parseField(input, extensionRegistry, metadata.keyType, key); in parseEntry()
184 value = parseField(input, extensionRegistry, metadata.valueType, value); in parseEntry()
199 MapFieldLite<K, V> map, CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseInto() argument
212 key = parseField(input, extensionRegistry, metadata.keyType, key); in parseInto()
214 value = parseField(input, extensionRegistry, metadata.valueType, value); in parseInto()
DMessage.java152 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
261 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
271 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
275 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
282 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
289 boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom() argument
DAbstractMessageLite.java147 final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
166 final ByteString data, final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
170 mergeFrom(input, extensionRegistry); in mergeFrom()
202 public BuilderType mergeFrom(final byte[] data, final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
204 return mergeFrom(data, 0, data.length, extensionRegistry); in mergeFrom()
212 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
217 mergeFrom(input, extensionRegistry); in mergeFrom()
237 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeFrom() argument
239 mergeFrom(codedInput, extensionRegistry); in mergeFrom()
301 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeDelimitedFrom() argument
[all …]
DMessageReflection.java454 ExtensionRegistryLite extensionRegistry, in parseGroup() argument
471 input.readGroup(field.getNumber(), subBuilder, extensionRegistry); in parseGroup() local
478 ExtensionRegistryLite extensionRegistry, in parseMessage() argument
495 input.readMessage(subBuilder, extensionRegistry); in parseMessage()
502 ExtensionRegistryLite extensionRegistry, in parseMessageFromBytes() argument
519 subBuilder.mergeFrom(bytes, extensionRegistry); in parseMessageFromBytes()
728 ExtensionRegistryLite extensionRegistry, in mergeFieldFrom() argument
735 input, unknownFields, extensionRegistry, type, target); in mergeFieldFrom()
751 if (extensionRegistry instanceof ExtensionRegistry) { in mergeFieldFrom()
753 target.findExtensionByNumber((ExtensionRegistry) extensionRegistry, in mergeFieldFrom()
[all …]
DAbstractMessage.java430 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
443 extensionRegistry, in mergeFrom()
544 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
546 return (BuilderType) super.mergeFrom(data, extensionRegistry); in mergeFrom()
565 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
567 return (BuilderType) super.mergeFrom(data, extensionRegistry); in mergeFrom()
573 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
575 return (BuilderType) super.mergeFrom(data, off, len, extensionRegistry); in mergeFrom()
587 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
589 return (BuilderType) super.mergeFrom(input, extensionRegistry); in mergeFrom()
[all …]
DDynamicMessage.java99 ExtensionRegistry extensionRegistry) in parseFrom() argument
101 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
112 ExtensionRegistry extensionRegistry) in parseFrom() argument
114 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
125 ExtensionRegistry extensionRegistry) in parseFrom() argument
127 return newBuilder(type).mergeFrom(data, extensionRegistry).buildParsed(); in parseFrom()
138 ExtensionRegistry extensionRegistry) in parseFrom() argument
140 return newBuilder(type).mergeFrom(input, extensionRegistry).buildParsed(); in parseFrom()
292 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in getParserForType()
296 builder.mergeFrom(input, extensionRegistry); in getParserForType()
DTextFormat.java1230 final ExtensionRegistry extensionRegistry, in merge() argument
1233 PARSER.merge(input, extensionRegistry, builder); in merge()
1243 final ExtensionRegistry extensionRegistry, in merge() argument
1246 PARSER.merge(input, extensionRegistry, builder); in merge()
1351 final ExtensionRegistry extensionRegistry, in merge() argument
1362 merge(toStringBuilder(input), extensionRegistry, builder); in merge() local
1413 final ExtensionRegistry extensionRegistry, in merge() argument
1423 mergeField(tokenizer, extensionRegistry, target, unknownFields); in merge()
1435 final ExtensionRegistry extensionRegistry, in mergeField() argument
1439 mergeField(tokenizer, extensionRegistry, target, parseInfoTreeBuilder, in mergeField()
[all …]
DGeneratedMessageLite.java398 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in mergeFrom() argument
402 instance.dynamicMethod(MethodToInvoke.MERGE_FROM_STREAM, input, extensionRegistry); in mergeFrom()
480 ExtensionRegistryLite extensionRegistry, in parseUnknownField() argument
487 GeneratedExtension<MessageType, ?> extension = extensionRegistry.findLiteExtensionByNumber( in parseUnknownField()
557 subBuilder, extensionRegistry); in parseUnknownField() local
559 input.readMessage(subBuilder, extensionRegistry); in parseUnknownField()
1338 public T parsePartialFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
1340 return GeneratedMessageLite.parsePartialFrom(defaultInstance, input, extensionRegistry); in parsePartialFrom()
1350 T instance, CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
1355 result.dynamicMethod(MethodToInvoke.MERGE_FROM_STREAM, input, extensionRegistry); in parsePartialFrom()
[all …]
DLazyField.java55 ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyField() argument
56 super(extensionRegistry, bytes); in LazyField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBMessage.h120 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry
141 extensionRegistry:
142 (nullable GPBExtensionRegistry *)extensionRegistry
164 extensionRegistry:
165 (nullable GPBExtensionRegistry *)extensionRegistry
200 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry
220 extensionRegistry:
221 (nullable GPBExtensionRegistry *)extensionRegistry
320 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry;
DGPBMessage_PackagePrivate.h92 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry;
97 extensionRegistry:
98 (GPBExtensionRegistry *)extensionRegistry;
DGPBCodedInputStream_PackagePrivate.h66 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry;
75 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry
DGPBExtensionInternals.m43 GPBExtensionRegistry *extensionRegistry,
276 GPBExtensionRegistry *extensionRegistry,
288 extensionRegistry,
302 extensionRegistry,
337 GPBExtensionRegistry *extensionRegistry,
371 extensionRegistry:extensionRegistry];
378 extensionRegistry:extensionRegistry];
380 [input readMessage:message extensionRegistry:extensionRegistry];
DGPBCodedInputStream.h131 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry;
DGPBCodedInputStream.m441 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry {
446 [message mergeFromCodedInputStream:self extensionRegistry:extensionRegistry];
465 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry {
472 [message mergeFromCodedInputStream:self extensionRegistry:extensionRegistry];
479 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry
488 GPBDictionaryReadEntry(mapDictionary, self, extensionRegistry, field,
DGPBMessage.m820 return [self initWithData:data extensionRegistry:nil error:errorPtr];
824 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry
828 [self mergeFromData:data extensionRegistry:extensionRegistry];
854 extensionRegistry:
855 (GPBExtensionRegistry *)extensionRegistry
859 [self mergeFromCodedInputStream:input extensionRegistry:extensionRegistry];
1873 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry {
1875 [self mergeFromCodedInputStream:input extensionRegistry:extensionRegistry];
1883 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry {
1892 [self mergeFromData:data extensionRegistry:extensionRegistry];
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DWireFormatTest.java333 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag() local
334 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testParseMessageSetWithFlag()
335 extensionRegistry.add(TestMessageSetExtension2.messageSetExtension); in testParseMessageSetWithFlag()
367 TestMessageSet.parseFrom(data, extensionRegistry); in testParseMessageSetWithFlag()
396 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag() local
397 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testParseMessageSetExtensionWithFlag()
419 TestMessageSet.parseFrom(data, extensionRegistry); in testParseMessageSetExtensionWithFlag()
435 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag() local
436 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testMergeLazyMessageSetExtensionWithFlag()
458 TestMessageSet.parseFrom(data, extensionRegistry); in testMergeLazyMessageSetExtensionWithFlag()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DWireFormatTest.java399 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag() local
400 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testParseMessageSetWithFlag()
401 extensionRegistry.add(TestMessageSetExtension2.messageSetExtension); in testParseMessageSetWithFlag()
433 TestMessageSet.parseFrom(data, extensionRegistry); in testParseMessageSetWithFlag()
462 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag() local
463 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testParseMessageSetExtensionWithFlag()
485 TestMessageSet.parseFrom(data, extensionRegistry); in testParseMessageSetExtensionWithFlag()
501 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag() local
502 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testMergeLazyMessageSetExtensionWithFlag()
524 TestMessageSet.parseFrom(data, extensionRegistry); in testMergeLazyMessageSetExtensionWithFlag()
[all …]
DTextFormatTest.java380 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSet() local
381 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testParseMessageSet()
382 extensionRegistry.add(TestMessageSetExtension2.messageSetExtension); in testParseMessageSet()
385 TextFormat.merge(messageSetText, extensionRegistry, builder); in testParseMessageSet()
398 TextFormat.merge(messageSetTextWithRepeatedExtension, extensionRegistry, in testParseMessageSet()
406 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithOverwriteForbidden() local
407 extensionRegistry.add(TestMessageSetExtension1.messageSetExtension); in testParseMessageSetWithOverwriteForbidden()
408 extensionRegistry.add(TestMessageSetExtension2.messageSetExtension); in testParseMessageSetWithOverwriteForbidden()
412 messageSetText, extensionRegistry, builder); in testParseMessageSetWithOverwriteForbidden()
422 messageSetTextWithRepeatedExtension, extensionRegistry, builder); in testParseMessageSetWithOverwriteForbidden()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java141 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
145 builder.mergeFrom(input, extensionRegistry);
276 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom() argument
278 return PARSER.parseFrom(data, extensionRegistry); in parseFrom()
286 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom() argument
288 return PARSER.parseFrom(data, extensionRegistry); in parseFrom()
296 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom() argument
298 return PARSER.parseFrom(input, extensionRegistry); in parseFrom()
306 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseDelimitedFrom() argument
308 return PARSER.parseDelimitedFrom(input, extensionRegistry); in parseDelimitedFrom()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBWireFormatTests.m111 GPBExtensionRegistry* registry = [self extensionRegistry];
114 extensionRegistry:registry
134 GPBExtensionRegistry* registry = [self extensionRegistry];
137 extensionRegistry:registry
223 extensionRegistry:[UnittestMsetRoot extensionRegistry]

12