/external/protobuf/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 | 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 | 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 | 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 | 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() 1238 EXPECT_FALSE(parser.ParseFromString("Optional_Double: 10.0", &proto)); in TEST_F() 1239 EXPECT_FALSE(parser.ParseFromString("oPtIoNaLgRoUp { a: 15 }", &proto)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | print_model_analysis.cc | 42 if (!option_pb.ParseFromString(options)) { in RunProfile() 89 if (!graph_ptr->ParseFromString(*graph)) { in NewProfiler() 90 if (!protobuf::TextFormat::ParseFromString(*graph, graph_ptr.get())) { in NewProfiler() 100 if (!op_log_ptr->ParseFromString(*op_log)) { in NewProfiler() 129 if (!graph_ptr->ParseFromString(*graph)) { in AddStep() 130 if (!protobuf::TextFormat::ParseFromString(*graph, graph_ptr.get())) { in AddStep() 140 run_meta_ptr->ParseFromString(*run_meta); in AddStep() 146 op_log_ptr->ParseFromString(*op_log); in AddStep() 179 graph_ptr->ParseFromString(*graph); in PrintModelAnalysis() 185 run_meta_ptr->ParseFromString(*run_meta); in PrintModelAnalysis() [all …]
|
D | tfprof_stats_test.cc | 91 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 127 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 163 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 194 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 244 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 278 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F()
|
/external/protobuf/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 …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | kernel_def_builder_test.cc | 28 protobuf::TextFormat::ParseFromString("op: 'A' device_type: 'CPU'", in TEST() 40 protobuf::TextFormat::ParseFromString(R"proto( in TEST() 54 protobuf::TextFormat::ParseFromString(R"proto( in TEST() 66 protobuf::TextFormat::ParseFromString(R"proto( in TEST() 82 protobuf::TextFormat::ParseFromString( in TEST()
|
D | op_gen_lib_test.cc | 182 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 214 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 251 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 283 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 311 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 341 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 382 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 409 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 442 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 512 protobuf::TextFormat::ParseFromString(op_list1, &op_list); // NOLINT in TEST()
|
/external/tensorflow/tensorflow/python/summary/ |
D | summary_test.py | 50 summary.ParseFromString(summary_str) 68 summary.ParseFromString(sm1) 74 summary.ParseFromString(sm2) 90 summary.ParseFromString(summ_str) 104 summary.ParseFromString(summary_str) 120 summary.ParseFromString(summary_str) 136 summary.ParseFromString(summary_str) 149 summary.ParseFromString(summary_str) 167 summary.ParseFromString(summary_str) 183 summary.ParseFromString(summary_str) [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_op_test.cc | 44 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches() 291 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 296 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 299 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 325 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 330 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 333 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 359 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 364 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F()
|
/external/tensorflow/tensorflow/python/profiler/ |
D | model_analyzer.py | 222 tfprof_node.ParseFromString( 239 tfprof_node.ParseFromString( 256 tfprof_node.ParseFromString( 273 tfprof_node.ParseFromString( 289 advise_pb.ParseFromString( 363 tfprof_node.ParseFromString(ret) 374 tfprof_node.ParseFromString(ret) 416 ret.ParseFromString(
|
/external/tensorflow/tensorflow/core/api_def/ |
D | update_api_def_test.cc | 71 protobuf::TextFormat::ParseFromString(op_text, &op); // NOLINT in TEST() 137 protobuf::TextFormat::ParseFromString(op1_text, &op1); // NOLINT in TEST() 138 protobuf::TextFormat::ParseFromString(op2_text, &op2); // NOLINT in TEST() 139 protobuf::TextFormat::ParseFromString(op3_text, &op3); // NOLINT in TEST() 174 protobuf::TextFormat::ParseFromString(op_text, &op); // NOLINT in TEST()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | stats_dataset_test_base.py | 37 summary_proto.ParseFromString(summary_str) 49 summary_proto.ParseFromString(summary_str) 61 summary_proto.ParseFromString(summary_str) 71 summary_proto.ParseFromString(summary_str) 80 summary_proto.ParseFromString(summary_str)
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer_unittest.cc | 106 EXPECT_TRUE(trace.ParseFromString(s)); in TEST() 134 EXPECT_TRUE(trace.ParseFromString(s)); in TEST() 140 EXPECT_TRUE(subtrace.ParseFromString(Decompress(data))); in TEST() 207 EXPECT_TRUE(trace.ParseFromString(s)); in TEST() 215 EXPECT_TRUE(subtrace.ParseFromString(Decompress(data))); in TEST() 264 EXPECT_TRUE(trace.ParseFromString(s)); in TEST() 272 EXPECT_TRUE(subtrace.ParseFromString(Decompress(data))); in TEST()
|
/external/perf_data_converter/src/quipper/ |
D | perf_recorder_test.cc | 52 EXPECT_TRUE(perf_data_proto.ParseFromString(output_string)); in TEST_F() 79 ASSERT_TRUE(stat.ParseFromString(output_string)); in TEST_F() 93 ASSERT_TRUE(perf_data_proto.ParseFromString(output_string)); in TEST_F() 104 ASSERT_TRUE(stat.ParseFromString(output_string)); in TEST_F() 130 ASSERT_TRUE(stat.ParseFromString(output_string)); in TEST_F()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/python/training/functions/ |
D | gbdt_batch_test.py | 273 output.ParseFromString(serialized.eval()) 287 output.ParseFromString(serialized.eval()) 366 output.ParseFromString(serialized.eval()) 376 output.ParseFromString(serialized.eval()) 411 output.ParseFromString(serialized.eval()) 537 output.ParseFromString(serialized.eval()) 549 output.ParseFromString(serialized.eval()) 641 output.ParseFromString(serialized.eval()) 655 output.ParseFromString(serialized.eval()) 744 output.ParseFromString(serialized.eval()) [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_util_test.cc | 72 ASSERT_TRUE(parsed.ParseFromString(ToString(buf))); in TEST() 85 ASSERT_TRUE(parsed.ParseFromString(ToString(buf))); in TEST() 112 TEST(GrpcProto, ParseFromString) { in TEST() argument 132 ASSERT_TRUE(parsed.ParseFromString(parsed_str)); in TEST() 189 CHECK(proto.ParseFromString(serial)); in BM_ParseString()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/ |
D | split_handler_ops_test.py | 84 split_info.ParseFromString(splits[0]) 101 split_info.ParseFromString(splits[1]) 142 split_info.ParseFromString(splits[0]) 235 split_info.ParseFromString(splits[0]) 258 split_info.ParseFromString(splits[1]) 368 split_info.ParseFromString(splits[0]) 391 split_info.ParseFromString(splits[1]) 461 split_info.ParseFromString(splits[0]) 503 split_info.ParseFromString(splits[0]) 566 split_info.ParseFromString(splits[0]) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/ |
D | training_ops_test.py | 91 tree_ensemble.ParseFromString(serialized) 168 tree_ensemble.ParseFromString(serialized) 285 tree_ensemble.ParseFromString(serialized) 454 tree_ensemble.ParseFromString(serialized) 620 tree_ensemble.ParseFromString(serialized) 751 tree_ensemble.ParseFromString(serialized) 887 tree_ensemble.ParseFromString(serialized) 979 res_ensemble.ParseFromString(serialized) 1049 res_ensemble.ParseFromString(serialized) 1156 res_ensemble.ParseFromString(serialized) [all …]
|
/external/autotest/client/site_tests/login_OwnershipTaken/ |
D | login_OwnershipTaken.py | 33 response_proto.ParseFromString(retrieved_policy) 37 poldata.ParseFromString(response_proto.policy_data) 42 polval.ParseFromString(poldata.policy_value)
|