/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | AbstractParser.java | 88 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom() method in AbstractParser 95 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException { in parseFrom() method in AbstractParser 96 return parseFrom(input, EMPTY_REGISTRY); in parseFrom() 123 public MessageType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parseFrom() method in AbstractParser 129 public MessageType parseFrom(ByteString data) throws InvalidProtocolBufferException { in parseFrom() method in AbstractParser 130 return parseFrom(data, EMPTY_REGISTRY); in parseFrom() 169 public MessageType parseFrom( in parseFrom() method in AbstractParser 177 public MessageType parseFrom(byte[] data, int off, int len) in parseFrom() method in AbstractParser 179 return parseFrom(data, off, len, EMPTY_REGISTRY); in parseFrom() 183 public MessageType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) in parseFrom() method in AbstractParser [all …]
|
D | Parser.java | 62 public MessageType parseFrom(CodedInputStream input) in parseFrom() method 71 public MessageType parseFrom(CodedInputStream input, in parseFrom() method 99 public MessageType parseFrom(ByteString data) in parseFrom() method 107 public MessageType parseFrom(ByteString data, in parseFrom() method 132 public MessageType parseFrom(byte[] data, int off, int len) in parseFrom() method 140 public MessageType parseFrom(byte[] data, int off, int len, in parseFrom() method 148 public MessageType parseFrom(byte[] data) in parseFrom() method 156 public MessageType parseFrom(byte[] data, in parseFrom() method 205 public MessageType parseFrom(InputStream input) in parseFrom() method 213 public MessageType parseFrom(InputStream input, in parseFrom() method
|
D | DynamicMessage.java | 89 public static DynamicMessage parseFrom(Descriptor type, in parseFrom() method in DynamicMessage 96 public static DynamicMessage parseFrom( in parseFrom() method in DynamicMessage 105 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom() method in DynamicMessage 111 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom() method in DynamicMessage 118 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom() method in DynamicMessage 124 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom() method in DynamicMessage 131 public static DynamicMessage parseFrom(Descriptor type, InputStream input) in parseFrom() method in DynamicMessage 137 public static DynamicMessage parseFrom(Descriptor type, InputStream input, in parseFrom() method in DynamicMessage
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | UnknownFieldSetTest.java | 58 emptyMessage = TestEmptyMessage.parseFrom(allFieldsData); in setUp() 229 TestAllTypes destination = TestAllTypes.parseFrom(data); in testParseKnownAndUnknown() 245 TestAllTypes allTypesMessage = TestAllTypes.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() 246 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() 258 TestEmptyMessageWithExtensions.parseFrom(allFieldsData); in testUnknownExtensions() 271 TestAllExtensions.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() 272 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() 306 TestAllTypes message = TestAllTypes.parseFrom(data); in testParseUnknownEnumValue() 324 TestAllExtensions.parseFrom(data, TestUtil.getExtensionRegistry()); in testParseUnknownEnumValue() 350 UnknownFieldSet parsed = UnknownFieldSet.parseFrom(data); in testLargeVarint() [all …]
|
D | ParserTest.java | 73 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 74 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 77 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 79 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 81 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 94 assertMessageEquals(message, parser.parseFrom(data)); in assertRoundTripEquals() 95 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 98 assertMessageEquals(message, parser.parseFrom(message.toByteString())); in assertRoundTripEquals() 99 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 101 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() [all …]
|
D | WireFormatTest.java | 66 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerialization() 77 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked() 91 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerializeExtensions() 124 TestPackedTypes message2 = TestPackedTypes.parseFrom( in testSerializationPackedWithoutGetSerializedSize() 139 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerializeExtensionsLite() 167 TestAllExtensions.parseFrom(rawBytes, registry); in testParseExtensions() 180 TestPackedExtensions.parseFrom(rawBytes, registry); in testParsePackedExtensions() 196 TestAllExtensionsLite.parseFrom(rawBytes, registry_lite); in testParseExtensionsLite() 204 TestAllExtensionsLite.parseFrom(rawBytes, registry); in testParseExtensionsLite() 217 TestPackedExtensionsLite.parseFrom(rawBytes, registry); in testParsePackedExtensionsLite() [all …]
|
D | UnknownFieldSetLiteTest.java | 169 Foo copy = Foo.parseFrom(foo.toByteArray()); in testRoundTrips() 174 Foo secondCopy = Foo.parseFrom(foo.toByteArray()); in testRoundTrips() 179 Foo copyOfCopy = Foo.parseFrom(copy.toByteArray(), extensionRegistry); in testRoundTrips() 186 Foo.parseFrom("this is a malformed protocol buffer".getBytes(Internal.UTF_8)); in testMalformedBytes() 201 Foo.parseFrom(byteStringOutput.toByteString()); in testMissingStartGroupTag() 216 Foo.parseFrom(byteStringOutput.toByteString()); in testMissingEndGroupTag() 232 Foo.parseFrom(byteStringOutput.toByteString()); in testMismatchingGroupTags() 252 Foo.parseFrom(foo.toByteString().substring(0, foo.toByteString().size() - 10)); in testTruncatedInput() 286 testAllTypes = TestAllTypesLite.parseFrom(new byte[0]); in testEndToEnd()
|
D | DynamicMessageTest.java | 173 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testDynamicMessageSerialization() 189 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes); in testDynamicMessageParsing() 193 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessageParsing() 199 Message message = DynamicMessage.parseFrom( in testDynamicMessageExtensionParsing() 205 Message message2 = message.getParserForType().parseFrom( in testDynamicMessageExtensionParsing() 217 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization() 233 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing() 237 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessagePackedParsing()
|
D | LazyStringEndToEndTest.java | 71 UnittestProto.TestAllTypes tV2 = UnittestProto.TestAllTypes.parseFrom( in testParseAndSerialize() 82 UnittestProto.TestAllTypes tV2 = UnittestProto.TestAllTypes.parseFrom( in testParseAndWrite() 120 UnittestProto.TestAllTypes.parseFrom(encodedTestAllTypes); in testNoStringCachingIfOnlyBytesAccessed()
|
D | CheckUtf8Test.java | 62 assertEquals(UTF8_BYTE_STRING_TEXT, StringWrapper.parser().parseFrom(serialized).getReq()); in testParseRequiredStringWithGoodUtf8() 96 StringWrapper.parser().parseFrom(serialized); in testParseRequiredStringWithBadUtf8() 134 StringWrapperSize.parser().parseFrom(serialized); in testParseRequiredStringWithBadUtf8Size()
|
D | ParseExceptionsTest.java | 88 return DescriptorProto.parseFrom(in); in message_parseFrom_InputStream() 99 return DescriptorProto.parseFrom(in, ExtensionRegistry.newInstance()); in message_parseFrom_InputStreamAndExtensionRegistry() 110 return DescriptorProto.parseFrom(CodedInputStream.newInstance(in)); in message_parseFrom_CodedInputStream() 121 return DescriptorProto.parseFrom( in message_parseFrom_CodedInputStreamAndExtensionRegistry()
|
D | FieldPresenceTest.java | 172 TestAllTypes parsed = TestAllTypes.parseFrom(message.toByteString()); in testLazyField() 340 TestAllTypes message = TestAllTypes.parseFrom(data); in testSerializeAndParse() 366 TestOptionalFieldsOnly optionalOnlyMessage = TestOptionalFieldsOnly.parseFrom(data); in testRepeatedFields() 372 TestRepeatedFieldsOnly repeatedOnlyMessage = TestRepeatedFieldsOnly.parseFrom(data); in testRepeatedFields() 423 TestOptionalFieldsOnly.parseFrom(data); in testUnknownFields() 428 message = TestAllTypes.parseFrom(optionalOnlyMessage.toByteString()); in testUnknownFields() 437 .getParserForType().parseFrom(data); in testUnknownFields()
|
D | AbstractMessageTest.java | 241 TestAllTypes.parseFrom(abstractMessage.toByteString())); in testSerialization() 288 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization() 307 TestUnpackedTypes.parseFrom(abstractMessage.toByteString())); in testUnpackedSerialization() 343 message = TestOptimizedForSize.parseFrom(message.toByteString()); in testOptimizedForSize() 482 UnittestProto.TestEmptyMessage.parseFrom(e.toByteArray()); in testEqualsAndHashCode() 484 UnittestProto.TestEmptyMessage.parseFrom(f.toByteArray()); in testEqualsAndHashCode() 491 UnittestProto.TestEmptyMessage.parseFrom(e.toByteArray()); in testEqualsAndHashCode()
|
D | CodedInputStreamTest.java | 322 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testReadWholeMessage() 327 message2 = TestAllTypes.parseFrom( in testReadWholeMessage() 408 TestAllTypes.parseFrom(message.toByteString().newInput()); in testReadHugeBlob() 463 assertMessageDepth(TestRecursiveMessage.parseFrom(data100), 100); in testMaliciousRecursion() 466 TestRecursiveMessage.parseFrom(data101); in testMaliciousRecursion() 475 TestRecursiveMessage.parseFrom(input); in testMaliciousRecursion() 495 TestAllTypes.parseFrom(input); in testSizeLimit() 814 BoolMessage msg2 = BoolMessage.parseFrom(serialized); in testCompatibleTypes() 818 Int32Message msg3 = Int32Message.parseFrom(serialized); in testCompatibleTypes()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | ParserTest.java | 72 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 73 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 76 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 78 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 80 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 90 assertMessageEquals(message, parser.parseFrom(data)); in assertRoundTripEquals() 91 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 94 assertMessageEquals(message, parser.parseFrom(message.toByteString())); in assertRoundTripEquals() 95 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() 97 assertMessageEquals(message, parser.parseFrom( in assertRoundTripEquals() [all …]
|
D | WireFormatTest.java | 63 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerialization() 74 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked() 88 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerializeExtensions() 121 TestPackedTypes message2 = TestPackedTypes.parseFrom( in testSerializationPackedWithoutGetSerializedSize() 138 TestAllExtensions.parseFrom(rawBytes, registry); in testParseExtensions() 151 TestPackedExtensions.parseFrom(rawBytes, registry); in testParsePackedExtensions() 240 TestFieldOrderings.parseFrom(source.toByteString(), in testParseMultipleExtensionRanges() 257 DynamicMessage.parseFrom(descriptor, source.toByteString(), in testParseMultipleExtensionRangesDynamic() 300 RawMessageSet raw = RawMessageSet.parseFrom(data); in testSerializeMessageSetWithFlag() 310 TestMessageSetExtension1.parseFrom( in testSerializeMessageSetWithFlag() [all …]
|
D | DynamicMessageTest.java | 170 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testDynamicMessageSerialization() 186 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes); in testDynamicMessageParsing() 190 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessageParsing() 196 Message message = DynamicMessage.parseFrom( in testDynamicMessageExtensionParsing() 202 Message message2 = message.getParserForType().parseFrom( in testDynamicMessageExtensionParsing() 214 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization() 230 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing() 234 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessagePackedParsing()
|
D | UnknownFieldSetTest.java | 55 emptyMessage = TestEmptyMessage.parseFrom(allFieldsData); in setUp() 219 TestAllTypes destination = TestAllTypes.parseFrom(data); in testParseKnownAndUnknown() 235 TestAllTypes allTypesMessage = TestAllTypes.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() 236 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() 248 TestEmptyMessageWithExtensions.parseFrom(allFieldsData); in testUnknownExtensions() 261 TestAllExtensions.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() 262 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() 296 TestAllTypes message = TestAllTypes.parseFrom(data); in testParseUnknownEnumValue() 314 TestAllExtensions.parseFrom(data, TestUtil.getExtensionRegistry()); in testParseUnknownEnumValue() 340 UnknownFieldSet parsed = UnknownFieldSet.parseFrom(data); in testLargeVarint()
|
D | LazyStringEndToEndTest.java | 72 UnittestProto.TestAllTypes tV2 = UnittestProto.TestAllTypes.parseFrom( in testParseAndSerialize() 83 UnittestProto.TestAllTypes tV2 = UnittestProto.TestAllTypes.parseFrom( in testParseAndWrite() 96 UnittestProto.TestAllTypes.parseFrom(encodedTestAllTypes); in testNoStringCachingIfOnlyBytesAccessed()
|
D | AbstractMessageTest.java | 218 TestAllTypes.parseFrom(abstractMessage.toByteString())); in testSerialization() 265 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization() 284 TestUnpackedTypes.parseFrom(abstractMessage.toByteString())); in testUnpackedSerialization() 320 message = TestOptimizedForSize.parseFrom(message.toByteString()); in testOptimizedForSize() 459 UnittestProto.TestEmptyMessage.parseFrom(e.toByteArray()); in testEqualsAndHashCode() 461 UnittestProto.TestEmptyMessage.parseFrom(f.toByteArray()); in testEqualsAndHashCode() 468 UnittestProto.TestEmptyMessage.parseFrom(e.toByteArray()); in testEqualsAndHashCode()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | SentinelOuterClass.java | 269 public static com.google.protobuf.jruby.SentinelOuterClass.Sentinel parseFrom( in parseFrom() method in SentinelOuterClass.Sentinel 272 return PARSER.parseFrom(data); in parseFrom() 274 public static com.google.protobuf.jruby.SentinelOuterClass.Sentinel parseFrom( in parseFrom() method in SentinelOuterClass.Sentinel 278 return PARSER.parseFrom(data, extensionRegistry); in parseFrom() 280 public static com.google.protobuf.jruby.SentinelOuterClass.Sentinel parseFrom(byte[] data) in parseFrom() method in SentinelOuterClass.Sentinel 282 return PARSER.parseFrom(data); in parseFrom() 284 public static com.google.protobuf.jruby.SentinelOuterClass.Sentinel parseFrom( in parseFrom() method in SentinelOuterClass.Sentinel 288 return PARSER.parseFrom(data, extensionRegistry); in parseFrom() 290 …public static com.google.protobuf.jruby.SentinelOuterClass.Sentinel parseFrom(java.io.InputStream … in parseFrom() method in SentinelOuterClass.Sentinel 292 return PARSER.parseFrom(input); in parseFrom() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 89 SimpleMessageNano newMsg = SimpleMessageNano.parseFrom(result); in testSimpleMessageNano() 128 RecursiveMessageNano newMsg = RecursiveMessageNano.parseFrom(result); in testRecursiveMessageNano() 158 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoRequiredInt32() 178 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalInt32() 199 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalInt64() 220 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalUint32() 241 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalUint64() 262 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalSint32() 283 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalSint64() 304 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalFixed32() [all …]
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | WindowManagerTrace.java | 61 static WindowManagerTrace parseFrom(byte[] data, Path source) { in parseFrom() method in WindowManagerTrace 66 fileProto = WindowManagerTraceFileProto.parseFrom(data); in parseFrom() 76 static WindowManagerTrace parseFrom(byte[] data) { in parseFrom() method in WindowManagerTrace 77 return parseFrom(data, null); in parseFrom()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | ConformanceJavaLite.java | 53 testMessage = Conformance.TestAllTypes.parseFrom(request.getProtobufPayload()); in doTest() 103 Conformance.ConformanceRequest.parseFrom(serializedInput); in doTestIo()
|
D | ConformanceJava.java | 56 testMessage = Conformance.TestAllTypes.parseFrom(request.getProtobufPayload()); in doTest() 118 Conformance.ConformanceRequest.parseFrom(serializedInput); in doTestIo()
|