/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | lite_unittest.cc | 75 empty_message->ParseFromString(data); in SetAllTypesInEmptyMessageUnknownFields() 87 empty_message->ParseFromString(data); in SetSomeTypesInEmptyMessageUnknownFields() 107 message3.ParseFromString(data); in main() 123 message3.ParseFromString(extensions_data); in main() 139 message3.ParseFromString(packed_data); in main() 156 message3.ParseFromString(packed_extensions_data); in main() 201 parsing_merge.ParseFromString(buffer); in main() 225 empty_message.ParseFromString(data); in main() 228 message2.ParseFromString(data); in main() 241 empty_message.ParseFromString(data); in main() [all …]
|
D | drop_unknown_fields_test.cc | 53 ASSERT_TRUE(foo.ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST() 61 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo.SerializeAsString())); in TEST() 77 ASSERT_TRUE(foo->ParseFromString(foo_with_extra_fields.SerializeAsString())); in TEST() 80 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo->SerializeAsString())); in TEST()
|
D | any_test.cc | 46 ASSERT_TRUE(message.ParseFromString(data)); in TEST() 63 ASSERT_TRUE(message.ParseFromString(data)); in TEST() 75 ASSERT_TRUE(any.ParseFromString(any.SerializeAsString())); in TEST() 81 ASSERT_TRUE(message.ParseFromString(message.SerializeAsString())); in TEST()
|
D | wire_format_unittest.cc | 407 EXPECT_TRUE(dest.ParseFromString(data)); in TEST() 438 ASSERT_TRUE(raw.ParseFromString(data)); in TEST() 452 EXPECT_TRUE(message1.ParseFromString(raw.item(0).message())); in TEST() 456 EXPECT_TRUE(message2.ParseFromString(raw.item(1).message())); in TEST() 546 ASSERT_TRUE(message_set.ParseFromString(data)); in TEST() 590 ASSERT_TRUE(message_set.ParseFromString(data)); in TEST() 611 EXPECT_FALSE(message_set.ParseFromString(input)); in TEST() 769 EXPECT_TRUE(msg2.ParseFromString(msg1.SerializeAsString())); in TEST() 782 ASSERT_TRUE(msg2.ParseFromString(serialized)); in TEST() 787 ASSERT_TRUE(msg3.ParseFromString(serialized)); in TEST() [all …]
|
D | preserve_unknown_enum_test.cc | 106 EXPECT_EQ(true, message.ParseFromString(serialized)); in TEST() 111 EXPECT_EQ(true, orig_message.ParseFromString(serialized)); in TEST() 125 EXPECT_EQ(true, message->ParseFromString(serialized)); in TEST() 129 EXPECT_EQ(true, orig_message.ParseFromString(serialized)); in TEST() 142 EXPECT_EQ(true, message.ParseFromString(serialized)); in TEST() 151 EXPECT_EQ(true, orig_message.ParseFromString(serialized)); in TEST() 166 EXPECT_EQ(true, message->ParseFromString(serialized)); in TEST() 176 EXPECT_EQ(true, orig_message.ParseFromString(serialized)); in TEST() 188 EXPECT_EQ(true, message.ParseFromString(serialized)); in TEST()
|
D | unknown_field_set_unittest.cc | 65 ASSERT_TRUE(empty_message_.ParseFromString(all_fields_data_)); in SetUp() 266 ASSERT_TRUE(other_message.ParseFromString(GetBizarroData())); in TEST_F() 332 ASSERT_TRUE(destination.ParseFromString(all_fields_data_ + data)); in TEST_F() 348 ASSERT_TRUE(all_types_message.ParseFromString(bizarro_data)); in TEST_F() 349 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F() 365 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F() 375 ASSERT_TRUE(message.ParseFromString(all_fields_data_)); in TEST_F() 399 ASSERT_TRUE(all_extensions_message.ParseFromString(bizarro_data)); in TEST_F() 400 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F() 435 ASSERT_TRUE(message.ParseFromString(data)); in TEST_F() [all …]
|
D | lite_arena_unittest.cc | 62 to->ParseFromString(data); in TEST() 78 message->ParseFromString(data); in TEST()
|
D | text_format_unittest.cc | 327 EXPECT_TRUE(unknown_fields.ParseFromString(data)); in TEST_F() 554 EXPECT_TRUE(TextFormat::ParseFromString(parse_string, &proto_)); in TEST_F() 564 EXPECT_TRUE(TextFormat::ParseFromString(parse_string, &proto)); in TEST_F() 637 ASSERT_TRUE(TextFormat::ParseFromString(parse_string, &proto_)); in TEST_F() 834 EXPECT_TRUE(parser.ParseFromString("a: 1", &message)); in TEST_F() 842 ASSERT_TRUE(TextFormat::ParseFromString( in TEST_F() 954 EXPECT_EQ(expected_result, parser.ParseFromString(input, proto)) in ExpectMessage() 967 EXPECT_TRUE(parser.ParseFromString(input, proto)); in ExpectSuccessAndTree() 1240 EXPECT_FALSE(parser.ParseFromString("Optional_Double: 10.0", &proto)); in TEST_F() 1241 EXPECT_FALSE(parser.ParseFromString("oPtIoNaLgRoUp { a: 15 }", &proto)); in TEST_F() [all …]
|
D | proto3_arena_unittest.cc | 128 arena_message->ParseFromString(original.SerializeAsString()); in TEST() 138 arena_message->ParseFromString(original.SerializeAsString()); in TEST()
|
D | message_unittest.cc | 150 EXPECT_TRUE(message.ParseFromString(data)); in TEST() 189 EXPECT_FALSE(message.ParseFromString("")); in TEST() 377 parsing_merge.ParseFromString(buffer); in TEST()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 67 self.empty_message.ParseFromString(self.all_fields_data) 79 message.ParseFromString(self.all_fields_data) 115 message.ParseFromString(self.all_fields_data) 119 message.ParseFromString(self.all_fields.SerializeToString()) 129 message.optional_nested_message.ParseFromString( 131 message.repeated_nested_message.add().ParseFromString( 151 self.empty_message.ParseFromString(self.all_fields_data) 217 source.ParseFromString(message.SerializeToString()) 223 destination.ParseFromString(message.SerializeToString()) 228 message.ParseFromString(destination.SerializeToString()) [all …]
|
D | message_test.py | 117 golden_message.ParseFromString(golden_data) 127 golden_message.ParseFromString(golden_data) 138 golden_message.ParseFromString(golden_data) 157 golden_message.ParseFromString(golden_data) 177 golden_message.ParseFromString(golden_data) 190 golden_message.ParseFromString(golden_data) 202 message.ParseFromString(serialized) 212 golden_message.ParseFromString(golden_data) 221 golden_message.ParseFromString(golden_data) 230 golden_message.ParseFromString(golden_data) [all …]
|
/frameworks/opt/gamesdk/samples/tuningfork/ |
D | parselogcat.py | 30 fp.ParseFromString(tclevent.fidelityparams) 36 a.ParseFromString(h.annotation) 51 l.ParseFromString(ser.decode("base64"))
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 239 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 270 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 285 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 323 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 337 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 349 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 392 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 431 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 446 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() 467 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F() [all …]
|
/frameworks/opt/gamesdk/samples/tuningfork/prototest/src/ |
D | gameengine.cc | 23 s.ParseFromString(settings); in init() 34 t.ParseFromString(s); in set()
|
D | eng_game.cc | 48 fp.ParseFromString(fp_ser); in runWithGameEngine()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | conformance_cpp.cc | 93 if (!test_message.ParseFromString(request.protobuf_payload())) { in DoTest() 111 if (!test_message.ParseFromString(proto_binary)) { in DoTest() 172 if (!request.ParseFromString(serialized_input)) { in DoTestIo()
|
D | conformance_python.py | 62 test_message.ParseFromString(request.protobuf_payload) 107 request.ParseFromString(serialized_request)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | message.py | 178 def ParseFromString(self, serialized): member in Message 295 self.ParseFromString(state['serialized'])
|
D | reflection.py | 77 new_msg.ParseFromString(byte_str)
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 72 ASSERT_TRUE(primitives.ParseFromString(flushToString(&proto))); in TEST() 116 ASSERT_TRUE(primitives.ParseFromString(serialized)); in TEST() 162 ASSERT_TRUE(primitives.ParseFromString(serialized)); in TEST() 205 ASSERT_TRUE(complex.ParseFromString(iterateToString(&proto))); in TEST() 246 ASSERT_TRUE(complex.ParseFromString(serialized)); in TEST() 272 ASSERT_TRUE(beforeClear.ParseFromString(flushToString(&proto))); in TEST() 282 ASSERT_TRUE(afterClear.ParseFromString(flushToString(&proto))); in TEST() 305 ASSERT_TRUE(complex.ParseFromString(flushToString(&proto))); in TEST()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 624 EXPECT_TRUE(message2.ParseFromString(data)); in TEST() 638 EXPECT_TRUE(packed_message2.ParseFromString(packed_data)); in TEST() 658 EXPECT_TRUE(message2.ParseFromString(data)); in TEST() 677 EXPECT_TRUE(message2.ParseFromString(data)); in TEST() 743 EXPECT_TRUE(message2.ParseFromString(data)); in TEST() 857 ASSERT_TRUE(message2.ParseFromString(data)); in TEST() 1822 EXPECT_TRUE(message2.ParseFromString(data)); in TEST_F() 1836 EXPECT_TRUE(message2.ParseFromString(data)); in TEST_F() 1851 EXPECT_TRUE(message2.ParseFromString(data)); in TEST_F() 1865 EXPECT_TRUE(message2.ParseFromString(data)); in TEST_F() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/ |
D | list_people.py | 35 address_book.ParseFromString(f.read())
|
D | add_person.py | 47 address_book.ParseFromString(f.read())
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | DeviceFiles.cpp | 206 if (!hashFile.ParseFromString(serializedHashFile)) { in RetrieveHashedFile() 226 if (!deSerializedFile->ParseFromString(hashFile.file())) { in RetrieveHashedFile()
|