Home
last modified time | relevance | path

Searched defs:extensionRegistry (Results 1 – 25 of 45) sorted by relevance

12

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DParser.java68 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
82 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
98 public MessageType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) in parseFrom()
110 public MessageType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parseFrom()
123 public MessageType parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
137 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parseFrom()
150 public MessageType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parseFrom()
165 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
178 public MessageType parsePartialFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
197 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
[all …]
DAbstractParser.java84 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
95 public MessageType parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
118 public MessageType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parseFrom()
129 public MessageType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) in parseFrom()
154 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
177 public MessageType parsePartialFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
189 byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in parseFrom()
201 public MessageType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parseFrom()
212 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
230 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
[all …]
DLazyFieldLite.java102 private ExtensionRegistryLite extensionRegistry; field in LazyFieldLite
118 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in LazyFieldLite()
296 public void mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
299 setByteString(input.readBytes(), extensionRegistry); in mergeFrom() local
331 MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) { in mergeValueAndBytes()
342 public void setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry) { in setByteString()
433 private static void checkArguments(ExtensionRegistryLite extensionRegistry, ByteString bytes) { in checkArguments()
DReader.java138 <T> T readMessageBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readMessageBySchemaWithCheck()
145 <T> T readMessage(Class<T> clazz, ExtensionRegistryLite extensionRegistry) throws IOException; in readMessage()
154 <T> T readGroup(Class<T> clazz, ExtensionRegistryLite extensionRegistry) throws IOException; in readGroup()
158 <T> T readGroupBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroupBySchemaWithCheck()
289 List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws IOException; in readMessageList()
292 List<T> target, Class<T> targetType, ExtensionRegistryLite extensionRegistry) in readMessageList()
304 List<T> target, Class<T> targetType, ExtensionRegistryLite extensionRegistry) in readGroupList()
309 List<T> target, Schema<T> targetType, ExtensionRegistryLite extensionRegistry) in readGroupList()
377 ExtensionRegistryLite extensionRegistry) in readMap()
DMessageLite.java185 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
205 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
230 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
239 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom()
263 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
295 boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
DMessage.java144 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
249 Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
259 Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
263 Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom()
270 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
277 boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
DExtensionSchema.java64 ExtensionRegistryLite extensionRegistry, in parseExtension()
78 ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number); in findExtensionByNumber()
84 ExtensionRegistryLite extensionRegistry, in parseLengthPrefixedMessageSetItem()
95 ExtensionRegistryLite extensionRegistry, in parseMessageSetItem()
DCodedInputStreamReader.java170 public <T> T readMessage(Class<T> clazz, ExtensionRegistryLite extensionRegistry) in readMessage()
179 Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws IOException { in readMessageBySchemaWithCheck()
186 public <T> T readGroup(Class<T> clazz, ExtensionRegistryLite extensionRegistry) in readGroup()
194 public <T> T readGroupBySchemaWithCheck(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroupBySchemaWithCheck()
201 private <T> T readMessage(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readMessage()
222 private <T> T readGroup(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroup()
796 List<T> target, Class<T> targetType, ExtensionRegistryLite extensionRegistry) in readMessageList()
804 List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readMessageList()
826 List<T> target, Class<T> targetType, ExtensionRegistryLite extensionRegistry) in readGroupList()
834 List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroupList()
[all …]
DGeneratedMessageLite.java433 byte[] input, int offset, int length, ExtensionRegistryLite extensionRegistry) in mergeFrom()
460 com.google.protobuf.ExtensionRegistryLite extensionRegistry) in mergeFrom()
529 ExtensionRegistryLite extensionRegistry, in parseUnknownField()
544 ExtensionRegistryLite extensionRegistry, in parseExtension()
614 input.readGroup(extension.getNumber(), subBuilder, extensionRegistry); in parseExtension() local
658 ExtensionRegistryLite extensionRegistry, in parseUnknownFieldAsMessageSet()
688 ExtensionRegistryLite extensionRegistry) in mergeMessageSetExtensionFromCodedStream()
760 ExtensionRegistryLite extensionRegistry, in eagerlyMergeMessageSetExtension()
770 ExtensionRegistryLite extensionRegistry, in mergeMessageSetExtensionFromBytes()
1508 public T parsePartialFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
[all …]
DAbstractMessageLite.java179 final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
198 final ByteString data, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
233 public BuilderType mergeFrom(final byte[] data, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
243 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
267 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeFrom()
329 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeDelimitedFrom()
DDynamicMessage.java97 Descriptor type, CodedInputStream input, ExtensionRegistry extensionRegistry) in parseFrom()
110 Descriptor type, ByteString data, ExtensionRegistry extensionRegistry) in parseFrom()
123 Descriptor type, byte[] data, ExtensionRegistry extensionRegistry) in parseFrom()
135 Descriptor type, InputStream input, ExtensionRegistry extensionRegistry) throws IOException { in parseFrom()
DMapEntryLite.java121 ExtensionRegistryLite extensionRegistry, in parseField()
166 public Map.Entry<K, V> parseEntry(ByteString bytes, ExtensionRegistryLite extensionRegistry) in parseEntry()
172 CodedInputStream input, Metadata<K, V> metadata, ExtensionRegistryLite extensionRegistry) in parseEntry()
199 MapFieldLite<K, V> map, CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseInto()
DBinaryReader.java235 public <T> T readMessage(Class<T> clazz, ExtensionRegistryLite extensionRegistry) in readMessage()
243 Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws IOException { in readMessageBySchemaWithCheck()
248 private <T> T readMessage(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readMessage()
275 public <T> T readGroup(Class<T> clazz, ExtensionRegistryLite extensionRegistry) in readGroup()
283 Schema<T> schema, ExtensionRegistryLite extensionRegistry) throws IOException { in readGroupBySchemaWithCheck()
288 private <T> T readGroup(Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroup()
928 List<T> target, Class<T> targetType, ExtensionRegistryLite extensionRegistry) in readMessageList()
936 List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readMessageList()
961 List<T> target, Class<T> targetType, ExtensionRegistryLite extensionRegistry) in readGroupList()
969 List<T> target, Schema<T> schema, ExtensionRegistryLite extensionRegistry) in readGroupList()
[all …]
DAbstractMessage.java425 final CodedInputStream input, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
529 final ByteString data, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
546 public BuilderType mergeFrom(final byte[] data, final ExtensionRegistryLite extensionRegistry) in mergeFrom()
556 final ExtensionRegistryLite extensionRegistry) in mergeFrom()
568 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeFrom()
579 final InputStream input, final ExtensionRegistryLite extensionRegistry) throws IOException { in mergeDelimitedFrom()
DExtensionSchemaLite.java72 ExtensionRegistryLite extensionRegistry, in parseExtension()
503 ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) { in findExtensionByNumber()
511 ExtensionRegistryLite extensionRegistry, in parseLengthPrefixedMessageSetItem()
525 ExtensionRegistryLite extensionRegistry, in parseMessageSetItem()
DExtensionSchemaFull.java90 ExtensionRegistryLite extensionRegistry, in parseExtension()
498 ExtensionRegistryLite extensionRegistry, MessageLite defaultInstance, int number) { in findExtensionByNumber()
507 ExtensionRegistryLite extensionRegistry, in parseLengthPrefixedMessageSetItem()
527 ExtensionRegistryLite extensionRegistry, in parseMessageSetItem()
DCodedInputStream.java294 final ExtensionRegistryLite extensionRegistry) in readGroup()
300 final int fieldNumber, final Parser<T> parser, final ExtensionRegistryLite extensionRegistry) in readGroup()
316 final MessageLite.Builder builder, final ExtensionRegistryLite extensionRegistry) in readMessage()
322 final Parser<T> parser, final ExtensionRegistryLite extensionRegistry) throws IOException; in readMessage()
827 final ExtensionRegistryLite extensionRegistry) in readGroup()
843 final ExtensionRegistryLite extensionRegistry) in readGroup()
864 final MessageLite.Builder builder, final ExtensionRegistryLite extensionRegistry) in readMessage()
881 final Parser<T> parser, final ExtensionRegistryLite extensionRegistry) throws IOException { in readMessage()
1546 final ExtensionRegistryLite extensionRegistry) in readGroup()
1562 final ExtensionRegistryLite extensionRegistry) in readGroup()
[all …]
DUnknownFieldSet.java594 public boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
601 public Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
608 public Builder mergeFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
630 public Builder mergeFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in mergeFrom()
637 public Builder mergeFrom(byte[] data, int off, int len, ExtensionRegistryLite extensionRegistry) in mergeFrom()
644 public Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom()
1061 CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
DMessageReflection.java433 ExtensionRegistryLite extensionRegistry, in parseGroup()
450 input.readGroup(field.getNumber(), subBuilder, extensionRegistry); in parseGroup() local
457 ExtensionRegistryLite extensionRegistry, in parseMessage()
481 ExtensionRegistryLite extensionRegistry, in parseMessageFromBytes()
727 ExtensionRegistryLite extensionRegistry, in mergeFieldFrom()
877 ExtensionRegistryLite extensionRegistry, in mergeMessageSetExtensionFromCodedStream()
961 ExtensionRegistryLite extensionRegistry, in mergeMessageSetExtensionFromBytes()
984 ExtensionRegistryLite extensionRegistry, in eagerlyMergeMessageSetExtension()
DMessageSetSchema.java225 public void mergeFrom(T message, Reader reader, ExtensionRegistryLite extensionRegistry) in mergeFrom()
240 ExtensionRegistryLite extensionRegistry) in mergeFromHelper()
276 ExtensionRegistryLite extensionRegistry, in parseMessageSetItemOrUnknownField()
DTextFormat.java1477 final ExtensionRegistry extensionRegistry, in merge()
1490 final ExtensionRegistry extensionRegistry, in merge()
1504 final ExtensionRegistry extensionRegistry, in parse()
1659 final ExtensionRegistry extensionRegistry, in merge()
1670 merge(toStringBuilder(input), extensionRegistry, builder); in merge() local
1750 final ExtensionRegistry extensionRegistry, in merge()
1769 final ExtensionRegistry extensionRegistry, in mergeField()
1784 final ExtensionRegistry extensionRegistry, in mergeField()
1939 final ExtensionRegistry extensionRegistry, in consumeFieldValues()
1981 final ExtensionRegistry extensionRegistry, in consumeFieldValue()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DWireFormatTest.java343 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag() local
399 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag() local
430 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag() local
463 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeMessageSetExtensionWithFlag() local
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java276 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()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DWireFormatTest.java333 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetWithFlag() local
396 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testParseMessageSetExtensionWithFlag() local
435 ExtensionRegistry extensionRegistry = ExtensionRegistry.newInstance(); in testMergeLazyMessageSetExtensionWithFlag() local
/third_party/protobuf/objectivec/Tests/
DGPBMessageTests+ClassNames.m97 + (GPBExtensionRegistry*)extensionRegistry { class

12