/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | LazyFieldLite.java | 98 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 …]
|
D | AbstractParser.java | 88 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 …]
|
D | Parser.java | 72 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 …]
|
D | MessageLite.java | 205 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
|
D | AbstractMessageLite.java | 146 final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 167 final ByteString data, final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 171 mergeFrom(input, extensionRegistry); in mergeFrom() 207 public BuilderType mergeFrom(final byte[] data, final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 209 return mergeFrom(data, 0, data.length, extensionRegistry); in mergeFrom() 217 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 222 mergeFrom(input, extensionRegistry); in mergeFrom() 244 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeFrom() argument 246 mergeFrom(codedInput, extensionRegistry); in mergeFrom() 308 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeDelimitedFrom() argument [all …]
|
D | MessageReflection.java | 455 ExtensionRegistryLite extensionRegistry, in parseGroup() argument 472 input.readGroup(field.getNumber(), subBuilder, extensionRegistry); in parseGroup() local 479 ExtensionRegistryLite extensionRegistry, in parseMessage() argument 496 input.readMessage(subBuilder, extensionRegistry); in parseMessage() 503 ExtensionRegistryLite extensionRegistry, in parseMessageFromBytes() argument 520 subBuilder.mergeFrom(bytes, extensionRegistry); in parseMessageFromBytes() 731 ExtensionRegistryLite extensionRegistry, in mergeFieldFrom() argument 738 input, unknownFields, extensionRegistry, type, target); in mergeFieldFrom() 754 if (extensionRegistry instanceof ExtensionRegistry) { in mergeFieldFrom() 756 target.findExtensionByNumber((ExtensionRegistry) extensionRegistry, in mergeFieldFrom() [all …]
|
D | Message.java | 152 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
|
D | AbstractMessage.java | 402 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 415 extensionRegistry, in mergeFrom() 491 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 493 return (BuilderType) super.mergeFrom(data, extensionRegistry); in mergeFrom() 512 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 514 return (BuilderType) super.mergeFrom(data, extensionRegistry); in mergeFrom() 520 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 522 return (BuilderType) super.mergeFrom(data, off, len, extensionRegistry); in mergeFrom() 534 final ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 536 return (BuilderType) super.mergeFrom(input, extensionRegistry); in mergeFrom() [all …]
|
D | MapEntryLite.java | 62 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in Metadata() 64 return new MapEntryLite<K, V>(finalThis, input, extensionRegistry); in Metadata() 152 ExtensionRegistryLite extensionRegistry) in MapEntryLite() argument 165 input, extensionRegistry, metadata.keyType, key); in MapEntryLite() 169 input, extensionRegistry, metadata.valueType, value); in MapEntryLite() 189 CodedInputStream input, ExtensionRegistryLite extensionRegistry, in mergeField() argument 194 input.readMessage(subBuilder, extensionRegistry); in mergeField() 323 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 326 new MapEntryLite<K, V>(metadata, input, extensionRegistry); in mergeFrom()
|
D | TextFormat.java | 1222 final ExtensionRegistry extensionRegistry, in merge() argument 1225 PARSER.merge(input, extensionRegistry, builder); in merge() 1235 final ExtensionRegistry extensionRegistry, in merge() argument 1238 PARSER.merge(input, extensionRegistry, builder); in merge() 1343 final ExtensionRegistry extensionRegistry, in merge() argument 1354 merge(toStringBuilder(input), extensionRegistry, builder); in merge() local 1383 final ExtensionRegistry extensionRegistry, in merge() argument 1391 mergeField(tokenizer, extensionRegistry, target); in merge() 1401 final ExtensionRegistry extensionRegistry, in mergeField() argument 1404 mergeField(tokenizer, extensionRegistry, target, parseInfoTreeBuilder); in mergeField() [all …]
|
D | DynamicMessage.java | 99 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()
|
D | GeneratedMessageLite.java | 398 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() 1311 public T parsePartialFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument 1313 return GeneratedMessageLite.parsePartialFrom(defaultInstance, input, extensionRegistry); in parsePartialFrom() 1323 T instance, CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument 1328 result.dynamicMethod(MethodToInvoke.MERGE_FROM_STREAM, input, extensionRegistry); in parsePartialFrom() [all …]
|
D | CodedInputStream.java | 420 final ExtensionRegistryLite extensionRegistry) in readGroup() argument 426 builder.mergeFrom(this, extensionRegistry); in readGroup() 437 final ExtensionRegistryLite extensionRegistry) in readGroup() argument 443 T result = parser.parsePartialFrom(this, extensionRegistry); in readGroup() 471 final ExtensionRegistryLite extensionRegistry) in readMessage() argument 479 builder.mergeFrom(this, extensionRegistry); in readMessage() 489 final ExtensionRegistryLite extensionRegistry) in readMessage() argument 497 T result = parser.parsePartialFrom(this, extensionRegistry); in readMessage()
|
D | UnknownFieldSet.java | 617 public boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom() argument 624 public Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 631 public Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 655 public Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 662 public Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 669 public Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() argument 1015 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() argument
|
/external/protobuf/objectivec/ |
D | GPBMessage.h | 118 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry 136 extensionRegistry: 137 (nullable GPBExtensionRegistry *)extensionRegistry 156 extensionRegistry: 157 (nullable GPBExtensionRegistry *)extensionRegistry 186 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry 203 extensionRegistry: 204 (nullable GPBExtensionRegistry *)extensionRegistry 300 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry;
|
D | GPBMessage_PackagePrivate.h | 96 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry; 101 extensionRegistry: 102 (GPBExtensionRegistry *)extensionRegistry;
|
D | GPBCodedInputStream_PackagePrivate.h | 66 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry; 75 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry
|
D | GPBExtensionInternals.m | 43 GPBExtensionRegistry *extensionRegistry, 267 GPBExtensionRegistry *extensionRegistry, 279 extensionRegistry, 293 extensionRegistry, 328 GPBExtensionRegistry *extensionRegistry, 362 extensionRegistry:extensionRegistry]; 369 extensionRegistry:extensionRegistry]; 371 [input readMessage:message extensionRegistry:extensionRegistry];
|
D | GPBCodedInputStream.m | 409 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry { 416 [message mergeFromCodedInputStream:self extensionRegistry:extensionRegistry]; 437 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry { 446 [message mergeFromCodedInputStream:self extensionRegistry:extensionRegistry]; 453 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry 464 GPBDictionaryReadEntry(mapDictionary, self, extensionRegistry, field,
|
D | GPBMessage.m | 802 return [self initWithData:data extensionRegistry:nil error:errorPtr]; 806 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry 810 [self mergeFromData:data extensionRegistry:extensionRegistry]; 837 extensionRegistry: 838 (GPBExtensionRegistry *)extensionRegistry 842 [self mergeFromCodedInputStream:input extensionRegistry:extensionRegistry]; 1862 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry { 1864 [self mergeFromCodedInputStream:input extensionRegistry:extensionRegistry]; 1872 extensionRegistry:(GPBExtensionRegistry *)extensionRegistry { 1881 [self mergeFromData:data extensionRegistry:extensionRegistry]; [all …]
|
D | GPBCodedInputStream.h | 98 extensionRegistry:(nullable GPBExtensionRegistry *)extensionRegistry;
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | WireFormatTest.java | 399 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 …]
|
D | TextFormatTest.java | 380 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()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | SentinelOuterClass.java | 141 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 …]
|
/external/protobuf/objectivec/Tests/ |
D | GPBWireFormatTests.m | 106 GPBExtensionRegistry* registry = [self extensionRegistry]; 109 extensionRegistry:registry 128 GPBExtensionRegistry* registry = [self extensionRegistry]; 131 extensionRegistry:registry 217 extensionRegistry:[UnittestMsetRoot extensionRegistry]
|