/external/protobuf/java/src/test/java/com/google/protobuf/ |
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() 136 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerializeExtensionsLite() 164 TestAllExtensions.parseFrom(rawBytes, registry); in testParseExtensions() 177 TestPackedExtensions.parseFrom(rawBytes, registry); in testParsePackedExtensions() 193 TestAllExtensionsLite.parseFrom(rawBytes, registry_lite); in testParseExtensionsLite() 201 TestAllExtensionsLite.parseFrom(rawBytes, registry); in testParseExtensionsLite() 214 TestPackedExtensionsLite.parseFrom(rawBytes, registry); in testParsePackedExtensionsLite() [all …]
|
D | MicroTest.java | 92 SimpleMessageMicro newMsg = SimpleMessageMicro.parseFrom(result); in testSimpleMessageMicro() 131 RecursiveMessageMicro newMsg = RecursiveMessageMicro.parseFrom(result); in testRecursiveMessageMicro() 168 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroRequiredInt32() 195 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalInt32() 221 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalInt64() 247 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalUint32() 273 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalUint64() 299 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalSint32() 325 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalSint64() 351 TestAllTypesMicro newMsg = TestAllTypesMicro.parseFrom(result); in testMicroOptionalFixed32() [all …]
|
D | UnknownFieldSetTest.java | 54 emptyMessage = TestEmptyMessage.parseFrom(allFieldsData); in setUp() 218 TestAllTypes destination = TestAllTypes.parseFrom(data); in testParseKnownAndUnknown() 234 TestAllTypes allTypesMessage = TestAllTypes.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() 235 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongTypeTreatedAsUnknown() 247 TestEmptyMessageWithExtensions.parseFrom(allFieldsData); in testUnknownExtensions() 260 TestAllExtensions.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() 261 TestEmptyMessage emptyMessage = TestEmptyMessage.parseFrom(bizarroData); in testWrongExtensionTypeTreatedAsUnknown() 295 TestAllTypes message = TestAllTypes.parseFrom(data); in testParseUnknownEnumValue() 313 TestAllExtensions.parseFrom(data, TestUtil.getExtensionRegistry()); in testParseUnknownEnumValue() 339 UnknownFieldSet parsed = UnknownFieldSet.parseFrom(data); in testLargeVarint()
|
D | CodedInputStreamTest.java | 281 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testReadWholeMessage() 286 message2 = TestAllTypes.parseFrom( in testReadWholeMessage() 371 TestAllTypes.parseFrom(message.toByteString().newInput()); in testReadHugeBlob() 426 assertMessageDepth(TestRecursiveMessage.parseFrom(data64), 64); in testMaliciousRecursion() 429 TestRecursiveMessage.parseFrom(data65); in testMaliciousRecursion() 438 TestRecursiveMessage.parseFrom(input); in testMaliciousRecursion() 451 TestAllTypes.parseFrom(input); in testSizeLimit()
|
D | AbstractMessageTest.java | 209 TestAllTypes.parseFrom(abstractMessage.toByteString())); in testSerialization() 228 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization() 247 TestUnpackedTypes.parseFrom(abstractMessage.toByteString())); in testUnpackedSerialization() 283 message = TestOptimizedForSize.parseFrom(message.toByteString()); in testOptimizedForSize() 409 UnittestProto.TestEmptyMessage.parseFrom(e.toByteArray()); in testEqualsAndHashCode() 411 UnittestProto.TestEmptyMessage.parseFrom(f.toByteArray()); in testEqualsAndHashCode() 418 UnittestProto.TestEmptyMessage.parseFrom(e.toByteArray()); in testEqualsAndHashCode()
|
D | DynamicMessageTest.java | 152 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testDynamicMessageSerialization() 168 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes); in testDynamicMessageParsing() 179 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization() 195 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing()
|
D | MessageTest.java | 253 TestRequired.parseFrom(ByteString.EMPTY); in testParseUnititialized() 269 TestRequiredForeign.parseFrom(data); in testParseNestedUnititialized() 307 DynamicMessage.parseFrom(descriptor, ByteString.EMPTY); in testDynamicParseUnititialized()
|
D | LiteTest.java | 75 TestAllTypesLite message2 = TestAllTypesLite.parseFrom(data); in testLite()
|
D | GeneratedMessageTest.java | 558 assertEquals(message, MessageWithNoOuter.parseFrom(message.toByteString())); in testMultipleFilesOption()
|
/external/icu4c/test/intltest/ |
D | fldset.h | 66 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str, UErrorCode& status) { in parseFrom() function 67 return parseFrom(str,NULL,status); in parseFrom() 78 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str, in parseFrom() function 81 return parseFrom(str, &inheritFrom, status); in parseFrom() 92 int32_t parseFrom(const U_NAMESPACE_QUALIFIER UnicodeString& str,
|
D | dadrcal.cpp | 139 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps() 170 paramsSet.parseFrom(testSetting, status); // parse with inheritance. in testOps() 190 } else if(toSet.parseFrom(testSetting, &fromSet, status)<0 || U_FAILURE(status)){ in testOps() 416 fromSet.parseFrom(from, status); in testConvert() 426 toSet.parseFrom(to, &fromSet, status); in testConvert()
|
D | dadrfmt.cpp | 163 if(styleSet.parseFrom(spec, status)<0 || U_FAILURE(status)) { in testConvertDate() 190 if(fromSet.parseFrom(add, status)<0 || U_FAILURE(status)) { in testConvertDate() 210 } else if(fromSet.parseFrom(date, status)<0 || U_FAILURE(status)) { in testConvertDate()
|
D | fldset.cpp | 93 int32_t FieldsSet::parseFrom(const UnicodeString& str, const in parseFrom() function in FieldsSet
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 72 public static DynamicMessage parseFrom(Descriptor type, in parseFrom() method in DynamicMessage 79 public static DynamicMessage parseFrom( in parseFrom() method in DynamicMessage 88 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom() method in DynamicMessage 94 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom() method in DynamicMessage 101 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom() method in DynamicMessage 107 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom() method in DynamicMessage 114 public static DynamicMessage parseFrom(Descriptor type, InputStream input) in parseFrom() method in DynamicMessage 120 public static DynamicMessage parseFrom(Descriptor type, InputStream input, in parseFrom() method in DynamicMessage
|
D | UnknownFieldSet.java | 237 public static UnknownFieldSet parseFrom(final CodedInputStream input) in parseFrom() method in UnknownFieldSet 243 public static UnknownFieldSet parseFrom(final ByteString data) in parseFrom() method in UnknownFieldSet 249 public static UnknownFieldSet parseFrom(final byte[] data) in parseFrom() method in UnknownFieldSet 255 public static UnknownFieldSet parseFrom(final InputStream input) in parseFrom() method in UnknownFieldSet
|
D | Descriptors.java | 276 proto = FileDescriptorProto.parseFrom(descriptorBytes); in internalBuildGeneratedFileFrom() 296 proto = FileDescriptorProto.parseFrom(descriptorBytes, registry); in internalBuildGeneratedFileFrom()
|
/external/protobuf/examples/ |
D | ListPeople.java | 46 AddressBook.parseFrom(new FileInputStream(args[0])); in main()
|