Home
last modified time | relevance | path

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

123

/third_party/protobuf/benchmarks/java/src/main/java/com/google/protobuf/
DProtoCaliperBenchmark.java11 import com.google.protobuf.ExtensionRegistry;
35 @Override ExtensionRegistry getExtensionRegistry() { return ExtensionRegistry.newInstance(); } in getExtensionRegistry()
43 @Override ExtensionRegistry getExtensionRegistry() { return ExtensionRegistry.newInstance(); } in getExtensionRegistry()
51 @Override ExtensionRegistry getExtensionRegistry() { return ExtensionRegistry.newInstance(); } in getExtensionRegistry()
59 ExtensionRegistry getExtensionRegistry() { in getExtensionRegistry()
60 ExtensionRegistry extensions = ExtensionRegistry.newInstance(); in getExtensionRegistry()
79 ExtensionRegistry getExtensionRegistry() { in getExtensionRegistry()
80 ExtensionRegistry extensions = ExtensionRegistry.newInstance(); in getExtensionRegistry()
93 abstract ExtensionRegistry getExtensionRegistry(); in getExtensionRegistry()
104 private ExtensionRegistry extensions;
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionRegistry.java91 public class ExtensionRegistry extends ExtensionRegistryLite { class
93 public static ExtensionRegistry newInstance() { in newInstance()
94 return new ExtensionRegistry(); in newInstance()
98 public static ExtensionRegistry getEmptyRegistry() { in getEmptyRegistry()
105 public ExtensionRegistry getUnmodifiable() { in getUnmodifiable()
106 return new ExtensionRegistry(this); in getUnmodifiable()
270 private ExtensionRegistry() { in ExtensionRegistry() method in ExtensionRegistry
277 private ExtensionRegistry(ExtensionRegistry other) { in ExtensionRegistry() method in ExtensionRegistry
291 ExtensionRegistry(boolean empty) { in ExtensionRegistry() method in ExtensionRegistry
299 static final ExtensionRegistry EMPTY_REGISTRY = new ExtensionRegistry(true);
DMessageReflection.java222 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
223 ExtensionRegistry registry, String name); in findExtensionByName()
225 public ExtensionRegistry.ExtensionInfo findExtensionByNumber( in findExtensionByNumber()
226 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber); in findExtensionByNumber()
419 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
420 ExtensionRegistry registry, String name) { in findExtensionByName()
425 public ExtensionRegistry.ExtensionInfo findExtensionByNumber( in findExtensionByNumber()
426 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber) { in findExtensionByNumber()
621 public ExtensionRegistry.ExtensionInfo findExtensionByName( in findExtensionByName()
622 ExtensionRegistry registry, String name) { in findExtensionByName()
[all …]
DExtensionSchemaFull.java95 ExtensionRegistry.ExtensionInfo extension = (ExtensionRegistry.ExtensionInfo) extensionObject; in parseExtension()
499 return ((ExtensionRegistry) extensionRegistry) in findExtensionByNumber()
510 ExtensionRegistry.ExtensionInfo extensionInfo = (ExtensionRegistry.ExtensionInfo) extension; in parseLengthPrefixedMessageSetItem()
530 ExtensionRegistry.ExtensionInfo extensionInfo = (ExtensionRegistry.ExtensionInfo) extension; in parseMessageSetItem()
DTextFormat.java1477 final ExtensionRegistry extensionRegistry, in merge()
1490 final ExtensionRegistry extensionRegistry, in merge()
1504 final ExtensionRegistry extensionRegistry, in parse()
1642 merge(input, ExtensionRegistry.getEmptyRegistry(), builder); in merge()
1650 merge(input, ExtensionRegistry.getEmptyRegistry(), builder); in merge()
1659 final ExtensionRegistry extensionRegistry, in merge()
1750 final ExtensionRegistry extensionRegistry, in merge()
1769 final ExtensionRegistry extensionRegistry, in mergeField()
1784 final ExtensionRegistry extensionRegistry, in mergeField()
1793 ExtensionRegistry.ExtensionInfo extension = null; in mergeField()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DMessageExtensions.cs243 …ergeFrom(this IMessage message, byte[] data, bool discardUnknownFields, ExtensionRegistry registry) in MergeFrom()
249 input.ExtensionRegistry = registry; in MergeFrom()
254 …essage, byte[] data, int offset, int length, bool discardUnknownFields, ExtensionRegistry registry) in MergeFrom()
260 input.ExtensionRegistry = registry; in MergeFrom()
265 …From(this IMessage message, ByteString data, bool discardUnknownFields, ExtensionRegistry registry) in MergeFrom()
271 input.ExtensionRegistry = registry; in MergeFrom()
276 …rgeFrom(this IMessage message, Stream input, bool discardUnknownFields, ExtensionRegistry registry) in MergeFrom()
282 codedInput.ExtensionRegistry = registry; in MergeFrom()
288 …essage message, ReadOnlySequence<byte> data, bool discardUnknownFields, ExtensionRegistry registry) in MergeFrom()
292 ctx.ExtensionRegistry = registry; in MergeFrom()
[all …]
DExtensionRegistry.cs43 … public sealed class ExtensionRegistry : ICollection<Extension>, IDeepCloneable<ExtensionRegistry> class
63 public ExtensionRegistry() in ExtensionRegistry() method in Google.Protobuf.ExtensionRegistry
68 private ExtensionRegistry(IDictionary<ObjectIntPair<Type>, Extension> collection) in ExtensionRegistry() method in Google.Protobuf.ExtensionRegistry
179 public ExtensionRegistry Clone() in Clone()
181 return new ExtensionRegistry(extensions); in Clone()
DParseContext.cs104 ctx.state.ExtensionRegistry = null; in Initialize()
124 internal ExtensionRegistry ExtensionRegistry property
126 get { return state.ExtensionRegistry; }
127 set { state.ExtensionRegistry = value; }
DMessageParser.cs50 internal ExtensionRegistry Extensions { get; }
52 …internal MessageParser(Func<IMessage> factory, bool discardUnknownFields, ExtensionRegistry extens… in MessageParser()
201 public MessageParser WithExtensionRegistry(ExtensionRegistry registry) =>
241 …internal MessageParser(Func<T> factory, bool discardUnknownFields, ExtensionRegistry extensions) :… in MessageParser()
373 public new MessageParser<T> WithExtensionRegistry(ExtensionRegistry registry) =>
DParserInternalState.cs113 internal ExtensionRegistry ExtensionRegistry { get; set; } property
DCodedInputStream.cs255 internal ExtensionRegistry ExtensionRegistry property in Google.Protobuf.CodedInputStream
257 get { return state.ExtensionRegistry; }
258 set { state.ExtensionRegistry = value; }
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DExtensionRegistryFactoryTest.java87 assertEquals(registry.getClass(), ExtensionRegistry.class); in testCreate()
94 assertEquals(emptyRegistry.getClass(), ExtensionRegistry.class); in testEmpty()
95 assertEquals(emptyRegistry, ExtensionRegistry.EMPTY_REGISTRY); in testEmpty()
111 NonNestedExtension.registerAllExtensions((ExtensionRegistry) registry2); in testAdd()
114 ExtensionRegistry fullRegistry1 = (ExtensionRegistry) registry1; in testAdd()
115 ExtensionRegistry fullRegistry2 = (ExtensionRegistry) registry2; in testAdd()
154 NonNestedExtension.registerAllExtensions((ExtensionRegistry) registry2); in testAdd_immutable()
260 ExtensionRegistry.EXTENSION_CLASS_NAME))); in getLiteOnlyClassLoader()
DWireFormatTest.java221 private ExtensionRegistry getTestFieldOrderingsRegistry() { in getTestFieldOrderingsRegistry()
222 ExtensionRegistry result = ExtensionRegistry.newInstance(); in getTestFieldOrderingsRegistry()
244 private static ExtensionRegistry getTestExtensionInsideTableRegistry() { in getTestExtensionInsideTableRegistry()
245 ExtensionRegistry result = ExtensionRegistry.newInstance(); in getTestExtensionInsideTableRegistry()
343 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag()
399 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag()
430 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag()
463 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeMessageSetExtensionWithFlag()
DParseExceptionsTest.java99 return DescriptorProto.parseFrom(in, ExtensionRegistry.newInstance()); in message_parseFrom_InputStreamAndExtensionRegistry()
124 CodedInputStream.newInstance(in), ExtensionRegistry.newInstance()); in message_parseFrom_CodedInputStreamAndExtensionRegistry()
148 return DescriptorProto.parseDelimitedFrom(in, ExtensionRegistry.newInstance()); in message_parseDelimitedFrom_InputStreamAndExtensionRegistry()
173 .mergeFrom(in, ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry()
199 .mergeFrom(CodedInputStream.newInstance(in), ExtensionRegistry.newInstance()) in messageBuilder_mergeFrom_CodedInputStreamAndExtensionRegistry()
244 builder.mergeDelimitedFrom(in, ExtensionRegistry.newInstance()); in messageBuilder_mergeDelimitedFrom_InputStreamAndExtensionRegistry()
DParserTest.java201 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize()
265 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge()
DProto2UnknownEnumValueTest.java87 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testExtensionUnknownEnumValues()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_system/
Dfilecache.pb.dart25 …tory FileHash.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry
27 …factory FileHash.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])…
66 …y FileStorage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry
67 …factory FileStorage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPT…
/third_party/protobuf/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()
/third_party/protobuf/conformance/
DConformanceJava.java34 import com.google.protobuf.ExtensionRegistry;
103 Parser <MessageType> parser, ExtensionRegistry extensions) in decode()
163 ByteString bytes, Parser <MessageType> parser, ExtensionRegistry extensions) in parseBinary()
248 ExtensionRegistry extensions = ExtensionRegistry.newInstance(); in doTest()
256 ExtensionRegistry extensions = ExtensionRegistry.newInstance(); in doTest()
/third_party/cef/patch/patches/
Dwebui_2037.patch46 + // CEF should avoid accessing ExtensionRegistry when extensions are disabled.
52 extensions::ExtensionRegistry* extension_registry =
53 extensions::ExtensionRegistry::Get(profile);
94 extensions::ExtensionRegistry* extension_registry =
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DExtensionSetTest.cs40 … TestAllExtensions.Parser.WithExtensionRegistry(new ExtensionRegistry() { OptionalBoolExtension }), in TestMergeCodedInput()
73 input.ExtensionRegistry = new ExtensionRegistry() { OptionalStringExtension }; in TryMergeFieldFrom_CodedInputStream()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_instance.py29 from zink_extensions import Extension,Layer,ExtensionRegistry,Version
354 registry = ExtensionRegistry(vkxml_path)
/third_party/cef/libcef/browser/extensions/
Dbrowser_extensions_util.cc166 ExtensionRegistry* registry = ExtensionRegistry::Get(browser_context); in GetExtensionForUrl()
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs86 ExtensionRegistry proto2ExtensionRegistry = new ExtensionRegistry in PerformRequest()

123