/external/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()
|
/external/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()
|
/external/grpc-grpc-java/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ |
D | ProtoLiteUtils.java | 128 parser = (Parser<T>) defaultInstance.getParserForType(); in MessageMarshaller() 252 return (T) defaultInstance.getParserForType().parseFrom(serialized, globalRegistry); in parseBytes()
|
/external/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
|
/external/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()
|
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/ |
D | NestedTypeOuter.java | 618 public com.google.protobuf.Parser<Inner> getParserForType() { in getParserForType() method in NestedTypeOuter.Middle.Inner 932 public com.google.protobuf.Parser<Middle> getParserForType() { in getParserForType() method in NestedTypeOuter.Middle 1246 public com.google.protobuf.Parser<NestedTypeOuter> getParserForType() { in getParserForType() method in NestedTypeOuter
|
D | EmptyMessage.java | 379 public com.google.protobuf.Parser<EmptyMessage> getParserForType() { in getParserForType() method in EmptyMessage
|
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/ |
D | GetServersRequest.java | 459 public com.google.protobuf.Parser<GetServersRequest> getParserForType() { in getParserForType() method in GetServersRequest
|
D | GetTopChannelsRequest.java | 459 public com.google.protobuf.Parser<GetTopChannelsRequest> getParserForType() { in getParserForType() method in GetTopChannelsRequest
|
D | GetSocketRequest.java | 455 public com.google.protobuf.Parser<GetSocketRequest> getParserForType() { in getParserForType() method in GetSocketRequest
|
D | GetSubchannelRequest.java | 455 public com.google.protobuf.Parser<GetSubchannelRequest> getParserForType() { in getParserForType() method in GetSubchannelRequest
|
D | GetChannelRequest.java | 455 public com.google.protobuf.Parser<GetChannelRequest> getParserForType() { in getParserForType() method in GetChannelRequest
|
D | GetServerSocketsRequest.java | 518 public com.google.protobuf.Parser<GetServerSocketsRequest> getParserForType() { in getParserForType() method in GetServerSocketsRequest
|