/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DiscardUnknownFieldsTest.java | 85 Message parsed = DiscardUnknownFieldsParser.wrap(message.getParserForType()).parseFrom(input); in assertReuseCodedInputStreamPreserve() 90 parsed = message.getParserForType().parseFrom(input); in assertReuseCodedInputStreamPreserve() 106 MessageLite parsed = message.getParserForType().parseFrom(payload); in assertUnknownFieldsPreserved() 114 Message parsed = DiscardUnknownFieldsParser.wrap(message.getParserForType()).parseFrom(payload); in assertUnknownFieldsExplicitlyDiscarded()
|
D | ParserLiteTest.java | 48 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals() 67 Parser<MessageLite> parser = (Parser<MessageLite>) message.getParserForType(); in assertRoundTripEquals() 109 .getParserForType() in testParseDelimitedToLite() 114 .getParserForType() in testParseDelimitedToLite()
|
D | ParserTest.java | 57 assertEquals(TestAllTypes.parser(), TestUtil.getAllSet().getParserForType()); in testGeneratedMessageParserSingleton() 67 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals() 86 Parser<MessageLite> parser = (Parser<MessageLite>) message.getParserForType(); in assertRoundTripEquals() 180 assertMessageEquals(normalMessage, normalMessage.getParserForType().parseDelimitedFrom(input)); in testParseDelimitedTo() 181 assertMessageEquals(normalMessage, normalMessage.getParserForType().parseDelimitedFrom(input)); in testParseDelimitedTo()
|
D | CheckUtf8Test.java | 133 defaultInstance.getParserForType().parseFrom(data); in assertParseBadUtf8() 145 defaultInstance.getParserForType().parseFrom(new ByteArrayInputStream(data)); in assertParseBadUtf8()
|
D | DynamicMessageTest.java | 182 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessageParsing() 195 message.getParserForType().parseFrom(rawBytes, TestUtil.getExtensionRegistry()); in testDynamicMessageExtensionParsing() 224 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessagePackedParsing()
|
D | WireFormatLiteTest.java | 517 defaultInstance.getParserForType().parseFrom(data, offset, length); in assertInvalidWireFormat() 531 defaultInstance.getParserForType().parseFrom(input); in assertInvalidWireFormat() 635 MessageLite message2 = defaultInstance.getParserForType().parseFrom(data); in assertAccepted() 639 defaultInstance.getParserForType().parseFrom(new ByteArrayInputStream(data)); in assertAccepted()
|
D | AbstractMessageTest.java | 227 public Parser<? extends Message> getParserForType() { in getParserForType() method in AbstractMessageTest.AbstractMessageWrapper 228 return wrappedMessage.getParserForType(); in getParserForType()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | ParserTest.java | 60 TestUtil.getAllSet().getParserForType()); in testGeneratedMessageParserSingleton() 71 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals() 89 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals() 182 normalMessage.getParserForType().parseDelimitedFrom(input)); in testParseDelimitedTo()
|
D | DynamicMessageTest.java | 190 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessageParsing() 202 Message message2 = message.getParserForType().parseFrom( in testDynamicMessageExtensionParsing() 234 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessagePackedParsing()
|
D | AbstractMessageTest.java | 177 public Parser<? extends Message> getParserForType() { in getParserForType() method in AbstractMessageTest.AbstractMessageWrapper 178 return wrappedMessage.getParserForType(); in getParserForType()
|
/third_party/protobuf/benchmarks/java/src/main/java/com/google/protobuf/ |
D | ProtoCaliperBenchmark.java | 193 benchmarkMessageType.getDefaultInstance().getParserForType().parseFrom( in deserializeFromByteArray() 206 benchmarkMessageType.getDefaultInstance().getParserForType().parseFrom( in deserializeFromMemoryStream()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MessageLite.java | 80 Parser<? extends MessageLite> getParserForType(); in getParserForType() method
|
D | Message.java | 54 Parser<? extends Message> getParserForType(); in getParserForType() method
|
D | LazyFieldLite.java | 417 defaultInstance.getParserForType().parseFrom(delayedBytes, extensionRegistry); in ensureInitialized()
|
D | MapEntry.java | 163 public Parser<MapEntry<K, V>> getParserForType() { in getParserForType() method in MapEntry
|
D | DynamicMessage.java | 283 public Parser<DynamicMessage> getParserForType() { in getParserForType() method in DynamicMessage
|
D | UnknownFieldSet.java | 1078 public final Parser getParserForType() { in getParserForType() method in UnknownFieldSet
|
D | GeneratedMessageLite.java | 73 public final Parser<MessageType> getParserForType() { in getParserForType() method in GeneratedMessageLite
|
D | GeneratedMessage.java | 84 public Parser<? extends GeneratedMessage> getParserForType() { in getParserForType() method in GeneratedMessage
|
D | GeneratedMessageV3.java | 102 public Parser<? extends GeneratedMessageV3> getParserForType() { in getParserForType() method in GeneratedMessageV3
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | SentinelOuterClass.java | 157 public com.google.protobuf.Parser<Sentinel> getParserForType() { in getParserForType() method in SentinelOuterClass.Sentinel
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 891 DynamicMessage.getDefaultInstance(type).getParserForType().parseFrom(content); in printAny()
|