Home
last modified time | relevance | path

Searched refs:ExtensionRegistry (Results 1 – 25 of 40) sorted by relevance

12

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionRegistry.java96 public class ExtensionRegistry extends ExtensionRegistryLite { class
98 public static ExtensionRegistry newInstance() { in newInstance()
99 return new ExtensionRegistry(); in newInstance()
103 public static ExtensionRegistry getEmptyRegistry() { in getEmptyRegistry()
110 public ExtensionRegistry getUnmodifiable() { in getUnmodifiable()
111 return new ExtensionRegistry(this); in getUnmodifiable()
287 private ExtensionRegistry() { in ExtensionRegistry() method in ExtensionRegistry
296 private ExtensionRegistry(ExtensionRegistry other) { in ExtensionRegistry() method in ExtensionRegistry
313 ExtensionRegistry(boolean empty) { in ExtensionRegistry() method in ExtensionRegistry
324 private static final ExtensionRegistry EMPTY = new ExtensionRegistry(true);
DMessageReflection.java240 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
241 ExtensionRegistry registry, String name); in findExtensionByName()
243 public ExtensionRegistry.ExtensionInfo findExtensionByNumber( in findExtensionByNumber()
244 ExtensionRegistry registry, Descriptors.Descriptor containingType, in findExtensionByNumber()
440 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
441 ExtensionRegistry registry, String name) { in findExtensionByName()
446 public ExtensionRegistry.ExtensionInfo findExtensionByNumber( in findExtensionByNumber()
447 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber) { in findExtensionByNumber()
627 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
628 ExtensionRegistry registry, String name) { in findExtensionByName()
[all …]
DTextFormat.java1222 final ExtensionRegistry extensionRegistry, in merge()
1235 final ExtensionRegistry extensionRegistry, in merge()
1324 merge(input, ExtensionRegistry.getEmptyRegistry(), builder); in merge()
1334 merge(input, ExtensionRegistry.getEmptyRegistry(), builder); in merge()
1343 final ExtensionRegistry extensionRegistry, in merge()
1383 final ExtensionRegistry extensionRegistry, in merge()
1401 final ExtensionRegistry extensionRegistry, in mergeField()
1412 final ExtensionRegistry extensionRegistry, in mergeField()
1420 ExtensionRegistry.ExtensionInfo extension = null; in mergeField()
1543 final ExtensionRegistry extensionRegistry, in consumeFieldValues()
[all …]
DDynamicMessage.java99 ExtensionRegistry extensionRegistry) in parseFrom()
112 ExtensionRegistry extensionRegistry) in parseFrom()
125 ExtensionRegistry extensionRegistry) in parseFrom()
138 ExtensionRegistry extensionRegistry) in parseFrom()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DWireFormatTest.java164 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParseExtensions()
177 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParsePackedExtensions()
201 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParseExtensionsLite()
287 private ExtensionRegistry getTestFieldOrderingsRegistry() { in getTestFieldOrderingsRegistry()
288 ExtensionRegistry result = ExtensionRegistry.newInstance(); in getTestFieldOrderingsRegistry()
399 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag()
462 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag()
501 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag()
543 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeMessageSetExtensionWithFlag()
DParseExceptionsTest.java99 return DescriptorProto.parseFrom(in, ExtensionRegistry.newInstance()); in message_parseFrom_InputStreamAndExtensionRegistry()
122 CodedInputStream.newInstance(in), ExtensionRegistry.newInstance()); in message_parseFrom_CodedInputStreamAndExtensionRegistry()
144 return DescriptorProto.parseDelimitedFrom(in, ExtensionRegistry.newInstance()); in message_parseDelimitedFrom_InputStreamAndExtensionRegistry()
167 .mergeFrom(in, ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry()
191 .mergeFrom(CodedInputStream.newInstance(in), ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_CodedInputStreamAndExtensionRegistry()
217 builder.mergeDelimitedFrom(in, ExtensionRegistry.newInstance()); in messageBuilder_mergeDelimitedFrom_InputStreamAndExtensionRegistry()
DParserTest.java233 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize()
297 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge()
359 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMergeLite()
DTextFormatTest.java380 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSet()
406 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithOverwriteForbidden()
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DReflectionTestDepthTwoAlternateProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
35 public com.google.protobuf.ExtensionRegistry assignDescriptors(
DDynamicReflectionTestProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
40 public com.google.protobuf.ExtensionRegistry assignDescriptors(
DReflectionTestProto.java14 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
52 public com.google.protobuf.ExtensionRegistry assignDescriptors(
DReflectionTestDepthTwoProto.java14 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
61 public com.google.protobuf.ExtensionRegistry assignDescriptors(
DDynamicReflectionTestDepthTwoProto.java14 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
65 public com.google.protobuf.ExtensionRegistry assignDescriptors(
DReflectionTestDepthThreeProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
61 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DServices.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
53 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/interop-testing/src/generated/main/java/io/grpc/testing/integration/
DTest.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
56 public com.google.protobuf.ExtensionRegistry assignDescriptors(
DEmptyProtos.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
442 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/testing-proto/src/generated/main/java/io/grpc/testing/protobuf/
DSimpleServiceProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
53 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
49 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/binarylog/v1alpha/
DBinaryLogProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
92 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/
DLoadBalancerProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
103 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/
DServerReflectionProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
104 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/libchrome/third_party/jinja2/
Dext.py34 class ExtensionRegistry(type): class
43 class Extension(with_metaclass(ExtensionRegistry, object)):
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java41 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
757 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DChannelzProto.java13 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
371 public com.google.protobuf.ExtensionRegistry assignDescriptors(

12