Home
last modified time | relevance | path

Searched refs:ExtensionRegistryLite (Results 1 – 25 of 30) sorted by relevance

12

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionRegistryLite.java73 public class ExtensionRegistryLite { class
91 public static ExtensionRegistryLite newInstance() { in newInstance()
92 return new ExtensionRegistryLite(); in newInstance()
96 public static ExtensionRegistryLite getEmptyRegistry() { in getEmptyRegistry()
101 public ExtensionRegistryLite getUnmodifiable() { in getUnmodifiable()
102 return new ExtensionRegistryLite(this); in getUnmodifiable()
137 ExtensionRegistryLite() { in ExtensionRegistryLite() method in ExtensionRegistryLite
143 ExtensionRegistryLite(ExtensionRegistryLite other) { in ExtensionRegistryLite() method in ExtensionRegistryLite
156 private ExtensionRegistryLite(boolean empty) { in ExtensionRegistryLite() method in ExtensionRegistryLite
159 private static final ExtensionRegistryLite EMPTY =
[all …]
DParser.java72 ExtensionRegistryLite extensionRegistry) in parseFrom()
89 ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
108 ExtensionRegistryLite extensionRegistry) in parseFrom()
125 ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
141 ExtensionRegistryLite extensionRegistry) in parseFrom()
157 ExtensionRegistryLite extensionRegistry) in parseFrom()
174 ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
191 ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
214 ExtensionRegistryLite extensionRegistry) in parseFrom()
231 ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
[all …]
DAbstractParser.java78 private static final ExtensionRegistryLite EMPTY_REGISTRY
79 = ExtensionRegistryLite.getEmptyRegistry();
88 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
100 public MessageType parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
123 public MessageType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parseFrom()
135 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
158 public MessageType parsePartialFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
170 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parseFrom()
183 public MessageType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parseFrom()
194 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
[all …]
DMessageLite.java205 ExtensionRegistryLite extensionRegistry) in mergeFrom()
228 ExtensionRegistryLite extensionRegistry) in mergeFrom()
258 ExtensionRegistryLite extensionRegistry) in mergeFrom()
269 ExtensionRegistryLite extensionRegistry) in mergeFrom()
296 ExtensionRegistryLite extensionRegistry) in mergeFrom()
338 ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
DMessage.java152 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
261 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
271 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
275 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom()
282 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
289 boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
DLazyFieldLite.java57 private static final ExtensionRegistryLite EMPTY_REGISTRY =
58 ExtensionRegistryLite.getEmptyRegistry();
98 private ExtensionRegistryLite extensionRegistry;
116 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyFieldLite()
318 public void mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
353 MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) { in mergeValueAndBytes()
366 public void setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry) { in setByteString()
450 private static void checkArguments(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in checkArguments()
DAbstractMessageLite.java140 return mergeFrom(input, ExtensionRegistryLite.getEmptyRegistry()); in mergeFrom()
146 final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
167 final ByteString data, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
207 public BuilderType mergeFrom(final byte[] data, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
217 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
244 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeFrom()
308 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeDelimitedFrom()
322 ExtensionRegistryLite.getEmptyRegistry()); in mergeDelimitedFrom()
DMessageReflection.java325 Object parseGroup(CodedInputStream input, ExtensionRegistryLite registry, in parseGroup()
333 Object parseMessage(CodedInputStream input, ExtensionRegistryLite registry, in parseMessage()
343 ByteString bytes, ExtensionRegistryLite registry, in parseMessageFromBytes()
455 ExtensionRegistryLite extensionRegistry, in parseGroup()
479 ExtensionRegistryLite extensionRegistry, in parseMessage()
503 ExtensionRegistryLite extensionRegistry, in parseMessageFromBytes()
642 ExtensionRegistryLite registry, in parseGroup()
661 ExtensionRegistryLite registry, in parseMessage()
680 ExtensionRegistryLite registry, in parseMessageFromBytes()
731 ExtensionRegistryLite extensionRegistry, in mergeFieldFrom()
[all …]
DAbstractMessage.java402 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
491 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
512 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
520 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
534 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
548 final ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
DMapEntryLite.java62 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in Metadata()
152 ExtensionRegistryLite extensionRegistry) in MapEntryLite()
189 CodedInputStream input, ExtensionRegistryLite extensionRegistry, in mergeField()
323 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
DGeneratedMessageLite.java398 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in mergeFrom()
480 ExtensionRegistryLite extensionRegistry, in parseUnknownField()
1311 public T parsePartialFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
1323 T instance, CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
1343 return parsePartialFrom(defaultInstance, input, ExtensionRegistryLite.getEmptyRegistry()); in parsePartialFrom()
1367 parseFrom(defaultInstance, data, ExtensionRegistryLite.getEmptyRegistry())); in parseFrom()
1372 T defaultInstance, ByteString data, ExtensionRegistryLite extensionRegistry) in parseFrom()
1380 T defaultInstance, ByteString data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
1400 T defaultInstance, byte[] data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
1422 parsePartialFrom(defaultInstance, data, ExtensionRegistryLite.getEmptyRegistry())); in parseFrom()
[all …]
DUnknownFieldSet.java617 public boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
624 public Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
631 public Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
655 public Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
662 public Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom()
669 public Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
1015 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
DExtensionRegistry.java96 public class ExtensionRegistry extends ExtensionRegistryLite {
314 super(ExtensionRegistryLite.getEmptyRegistry()); in ExtensionRegistry()
DLazyField.java55 ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyField()
DCodedInputStream.java420 final ExtensionRegistryLite extensionRegistry) in readGroup()
437 final ExtensionRegistryLite extensionRegistry) in readGroup()
471 final ExtensionRegistryLite extensionRegistry) in readMessage()
489 final ExtensionRegistryLite extensionRegistry) in readMessage()
DGeneratedMessage.java273 ExtensionRegistryLite extensionRegistry, in parseUnknownField()
288 ExtensionRegistryLite extensions) throws IOException { in parseWithIOException()
306 CodedInputStream input, ExtensionRegistryLite extensions) throws IOException { in parseWithIOException()
324 InputStream input, ExtensionRegistryLite extensions) throws IOException { in parseDelimitedWithIOException()
662 final ExtensionRegistryLite extensionRegistry, in parseUnknownField()
898 ExtensionRegistryLite extensionRegistry, in parseUnknownField()
1299 final ExtensionRegistryLite extensionRegistry, in parseUnknownField()
DMapEntry.java67 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in Metadata()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DWireFormatTest.java193 ExtensionRegistryLite registry_lite = TestUtilLite.getExtensionRegistryLite(); in testParseExtensionsLite()
214 ExtensionRegistryLite registry = TestUtilLite.getExtensionRegistryLite(); in testParsePackedExtensionsLite()
344 ExtensionRegistryLite.setEagerlyParseMessageSets(eagerParsing); in testSerializeMessageSetWithFlag()
398 ExtensionRegistryLite.setEagerlyParseMessageSets(eagerParsing); in testParseMessageSetWithFlag()
461 ExtensionRegistryLite.setEagerlyParseMessageSets(eagerParsing); in testParseMessageSetExtensionWithFlag()
500 ExtensionRegistryLite.setEagerlyParseMessageSets(eagerParsing); in testMergeLazyMessageSetExtensionWithFlag()
542 ExtensionRegistryLite.setEagerlyParseMessageSets(eagerParsing); in testMergeMessageSetExtensionWithFlag()
DLazyFieldLiteTest.java198 ExtensionRegistryLite emptyRegistry = ExtensionRegistryLite.getEmptyRegistry(); in testMergeKeepsExtensionsWhenPossible()
255 ExtensionRegistryLite extensionRegistry, MessageLite message) { in createLazyFieldLiteFromMessage()
DTestUtilLite.java324 public static ExtensionRegistryLite getExtensionRegistryLite() { in getExtensionRegistryLite()
325 ExtensionRegistryLite registry = ExtensionRegistryLite.newInstance(); in getExtensionRegistryLite()
334 public static void registerAllExtensionsLite(ExtensionRegistryLite registry) { in registerAllExtensionsLite()
DUnknownFieldSetLiteTest.java177 ExtensionRegistryLite extensionRegistry = ExtensionRegistryLite.newInstance(); in testRoundTrips()
DParserTest.java66 ExtensionRegistryLite registry) in assertRoundTripEquals()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java141 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
276 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom()
286 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom()
296 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom()
306 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseDelimitedFrom()
317 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in parseFrom()
/external/protobuf/
Dbuild.gradle48 include 'com/google/protobuf/ExtensionRegistryLite.java'
DAndroid.mk31 java/core/src/main/java/com/google/protobuf/ExtensionRegistryLite.java \

12