/external/protobuf/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
|
/external/protobuf/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 | 270 TestAllTypes message = TestAllTypes.parseFrom(data); in testSerializeAndParse() 296 TestOptionalFieldsOnly optionalOnlyMessage = TestOptionalFieldsOnly.parseFrom(data); in testRepeatedFields() 302 TestRepeatedFieldsOnly repeatedOnlyMessage = TestRepeatedFieldsOnly.parseFrom(data); in testRepeatedFields() 353 TestOptionalFieldsOnly.parseFrom(data); in testUnknownFields() 358 message = TestAllTypes.parseFrom(optionalOnlyMessage.toByteString()); in testUnknownFields() 367 .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()
|
/external/protobuf/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 …]
|
/external/icu/icu4c/source/test/intltest/ |
D | fldset.h | 68 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str, UErrorCode& status) { in parseFrom() function 69 return parseFrom(str,NULL,status); in parseFrom() 80 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str, in parseFrom() function 83 return parseFrom(str, &inheritFrom, status); in parseFrom() 94 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str,
|
D | dadrcal.cpp | 141 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps() 172 paramsSet.parseFrom(testSetting, status); // parse with inheritance. in testOps() 192 } else if(toSet.parseFrom(testSetting, &fromSet, status)<0 || U_FAILURE(status)){ in testOps() 418 fromSet.parseFrom(from, status); in testConvert() 428 toSet.parseFrom(to, &fromSet, status); in testConvert()
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 93 SimpleMessageNano newMsg = SimpleMessageNano.parseFrom(result); in testSimpleMessageNano() 132 RecursiveMessageNano newMsg = RecursiveMessageNano.parseFrom(result); in testRecursiveMessageNano() 162 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoRequiredInt32() 182 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalInt32() 203 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalInt64() 224 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalUint32() 245 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalUint64() 266 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalSint32() 287 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalSint64() 308 TestAllTypesNano newMsg = TestAllTypesNano.parseFrom(result); in testNanoOptionalFixed32() [all …]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/ |
D | ProtobufWireAdapter.java | 131 OuterMessage message = OuterMessage.parseFrom(messageBuffer); in readNextOuterMessage() 155 return PoloProto.Options.parseFrom(payload); in readNextInnerMessage() 157 return PoloProto.PairingRequest.parseFrom(payload); in readNextInnerMessage() 159 return PoloProto.PairingRequestAck.parseFrom(payload); in readNextInnerMessage() 161 return PoloProto.Configuration.parseFrom(payload); in readNextInnerMessage() 163 return PoloProto.ConfigurationAck.parseFrom(payload); in readNextInnerMessage() 165 return PoloProto.Secret.parseFrom(payload); in readNextInnerMessage() 167 return PoloProto.SecretAck.parseFrom(payload); in readNextInnerMessage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | DataDrivenCalendarTest.java | 151 fromSet.parseFrom(from); in testConvert() 153 toSet.parseFrom(to, fromSet); in testConvert() 206 fromSet.parseFrom(testSetting); in testOps() 217 paramsSet.parseFrom(paramsData); // parse with inheritance. in testOps() 228 toSet.parseFrom(testSetting, fromSet); in testOps()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | DataDrivenCalendarTest.java | 152 fromSet.parseFrom(from); in testConvert() 154 toSet.parseFrom(to, fromSet); in testConvert() 207 fromSet.parseFrom(testSetting); in testOps() 218 paramsSet.parseFrom(paramsData); // parse with inheritance. in testOps() 229 toSet.parseFrom(testSetting, fromSet); in testOps()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | FieldsSet.java | 117 public int parseFrom(String str) { in parseFrom() method in FieldsSet 118 return parseFrom(str, null); in parseFrom() 121 public int parseFrom(String str, FieldsSet inheritFrom) { in parseFrom() method in FieldsSet
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | FieldsSet.java | 116 public int parseFrom(String str) { in parseFrom() method in FieldsSet 117 return parseFrom(str, null); in parseFrom() 120 public int parseFrom(String str, FieldsSet inheritFrom) { in parseFrom() method in FieldsSet
|
/external/protobuf/conformance/ |
D | ConformanceJavaLite.java | 53 testMessage = Conformance.TestAllTypes.parseFrom(request.getProtobufPayload()); in doTest() 103 Conformance.ConformanceRequest.parseFrom(serializedInput); in doTestIo()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenFormatTest.java | 118 styleSet.parseFrom(spec); in testConvertDate() 140 addSet.parseFrom(add); in testConvertDate() 159 fromSet.parseFrom(date); in testConvertDate()
|