Home
last modified time | relevance | path

Searched refs:ParseFromString (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/protobuf/src/google/protobuf/
Dlite_unittest.cc75 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 …]
Dwire_format_unittest.cc407 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 …]
Dpreserve_unknown_enum_test.cc106 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()
Ddrop_unknown_fields_test.cc53 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()
Dany_test.cc46 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()
Dunknown_field_set_unittest.cc65 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 …]
Dtext_format_unittest.cc327 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/
Dprint_model_analysis.cc42 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 …]
Dtfprof_stats_test.cc91 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/
Dunknown_fields_test.py67 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 …]
Dmessage_test.py117 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/
Dkernel_def_builder_test.cc28 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()
Dop_gen_lib_test.cc182 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/
Dsummary_test.py50 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/
Dsummary_op_test.cc44 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/
Dmodel_analyzer.py222 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/
Dupdate_api_def_test.cc71 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/
Dstats_dataset_test_base.py37 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/
Dpacket_writer_unittest.cc106 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/
Dperf_recorder_test.cc52 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/
Dgbdt_batch_test.py273 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/
Dgrpc_util_test.cc72 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/
Dsplit_handler_ops_test.py84 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/
Dtraining_ops_test.py91 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/
Dlogin_OwnershipTaken.py33 response_proto.ParseFromString(retrieved_policy)
37 poldata.ParseFromString(response_proto.policy_data)
42 polval.ParseFromString(poldata.policy_value)

12345678910>>...12