Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
292 private ExtensionRegistry() { in ExtensionRegistry() method in ExtensionRegistry
301 private ExtensionRegistry(ExtensionRegistry other) { in ExtensionRegistry() method in ExtensionRegistry
318 ExtensionRegistry(boolean empty) { in ExtensionRegistry() method in ExtensionRegistry
329 static final ExtensionRegistry EMPTY_REGISTRY = 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()
439 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
440 ExtensionRegistry registry, String name) { in findExtensionByName()
445 public ExtensionRegistry.ExtensionInfo findExtensionByNumber( in findExtensionByNumber()
446 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber) { in findExtensionByNumber()
625 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
626 ExtensionRegistry registry, String name) { in findExtensionByName()
[all …]
DTextFormat.java1230 final ExtensionRegistry extensionRegistry, in merge()
1243 final ExtensionRegistry extensionRegistry, in merge()
1332 merge(input, ExtensionRegistry.getEmptyRegistry(), builder); in merge()
1342 merge(input, ExtensionRegistry.getEmptyRegistry(), builder); in merge()
1351 final ExtensionRegistry extensionRegistry, in merge()
1413 final ExtensionRegistry extensionRegistry, in merge()
1435 final ExtensionRegistry extensionRegistry, in mergeField()
1448 final ExtensionRegistry extensionRegistry, in mergeField()
1457 ExtensionRegistry.ExtensionInfo extension = null; in mergeField()
1569 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()
DAbstractMessage.java424 return mergeFrom(input, ExtensionRegistry.getEmptyRegistry()); in mergeFrom()
DDescriptors.java354 final ExtensionRegistry registry = in internalBuildGeneratedFileFrom()
409 final ExtensionRegistry registry) { in internalUpdateFileDescriptor()
434 ExtensionRegistry assignDescriptors(FileDescriptor root); in assignDescriptors()
DUnknownFieldSet.java538 ExtensionRegistry.getEmptyRegistry()); in mergeFieldFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DExtensionRegistryFactoryTest.java82 assertEquals(registry.getClass(), ExtensionRegistry.class); in testCreate()
89 assertEquals(emptyRegistry.getClass(), ExtensionRegistry.class); in testEmpty()
90 assertEquals(emptyRegistry, ExtensionRegistry.EMPTY_REGISTRY); in testEmpty()
106 NonNestedExtension.registerAllExtensions((ExtensionRegistry) registry2); in testAdd()
109 ExtensionRegistry fullRegistry1 = (ExtensionRegistry) registry1; in testAdd()
110 ExtensionRegistry fullRegistry2 = (ExtensionRegistry) registry2; in testAdd()
217 ExtensionRegistry.EXTENSION_CLASS_NAME))); in getLiteOnlyClassLoader()
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()
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()
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()
DTestUtil.java1193 public static ExtensionRegistry getExtensionRegistry() { in getExtensionRegistry()
1194 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in getExtensionRegistry()
1203 public static void registerAllExtensions(ExtensionRegistry registry) { in registerAllExtensions()
2629 private final ExtensionRegistry extensionRegistry;
2677 ExtensionRegistry extensionRegistry) { in ReflectionTester()
2785 ExtensionRegistry.ExtensionInfo extension = in newBuilderForField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DWireFormatTest.java135 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParseExtensions()
148 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParsePackedExtensions()
221 private ExtensionRegistry getTestFieldOrderingsRegistry() { in getTestFieldOrderingsRegistry()
222 ExtensionRegistry result = ExtensionRegistry.newInstance(); in getTestFieldOrderingsRegistry()
333 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag()
396 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag()
435 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag()
DParserTest.java202 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize()
258 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge()
DTextFormatTest.java359 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSet()
DTestUtil.java1073 public static ExtensionRegistry getExtensionRegistry() { in getExtensionRegistry()
1074 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in getExtensionRegistry()
1084 public static void registerAllExtensions(ExtensionRegistry registry) { in registerAllExtensions()
1870 private final ExtensionRegistry extensionRegistry;
1918 ExtensionRegistry extensionRegistry) { in ReflectionTester()
2026 ExtensionRegistry.ExtensionInfo extension = in newBuilderForField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java41 com.google.protobuf.ExtensionRegistry registry) { in registerAllExtensions()
757 public com.google.protobuf.ExtensionRegistry assignDescriptors(
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am212 java/core/src/main/java/com/google/protobuf/ExtensionRegistry.java \