Home
last modified time | relevance | path

Searched refs:ToProto (Results 1 – 25 of 138) sorted by relevance

123456

/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc48 protos::TraceConfig ToProto(const std::string& input) { in ToProto() function
62 protos::TraceConfig config = ToProto(R"( in TEST()
69 protos::TraceConfig config = ToProto(R"( in TEST()
78 protos::TraceConfig config = ToProto(R"( in TEST()
87 protos::TraceConfig config = ToProto(R"( in TEST()
97 protos::TraceConfig config = ToProto(R"( in TEST()
113 protos::TraceConfig config = ToProto(R"( in TEST()
127 protos::TraceConfig config = ToProto(R"( in TEST()
142 protos::TraceConfig config = ToProto(R"( in TEST()
150 protos::TraceConfig config = ToProto(R"( in TEST()
[all …]
/external/perfetto/src/tracing/core/
Ddata_source_config.cc125 void DataSourceConfig::ToProto( in ToProto() function in perfetto::DataSourceConfig
156 ftrace_config_.ToProto(proto->mutable_ftrace_config()); in ToProto()
158 chrome_config_.ToProto(proto->mutable_chrome_config()); in ToProto()
160 inode_file_config_.ToProto(proto->mutable_inode_file_config()); in ToProto()
162 process_stats_config_.ToProto(proto->mutable_process_stats_config()); in ToProto()
164 sys_stats_config_.ToProto(proto->mutable_sys_stats_config()); in ToProto()
166 heapprofd_config_.ToProto(proto->mutable_heapprofd_config()); in ToProto()
168 android_power_config_.ToProto(proto->mutable_android_power_config()); in ToProto()
170 android_log_config_.ToProto(proto->mutable_android_log_config()); in ToProto()
172 packages_list_config_.ToProto(proto->mutable_packages_list_config()); in ToProto()
[all …]
Dtrace_config.cc182 void TraceConfig::ToProto(perfetto::protos::TraceConfig* proto) const { in ToProto() function in perfetto::TraceConfig
187 it.ToProto(entry); in ToProto()
192 it.ToProto(entry); in ToProto()
195 builtin_data_sources_.ToProto(proto->mutable_builtin_data_sources()); in ToProto()
216 it.ToProto(entry); in ToProto()
219 statsd_metadata_.ToProto(proto->mutable_statsd_metadata()); in ToProto()
240 guardrail_overrides_.ToProto(proto->mutable_guardrail_overrides()); in ToProto()
262 trigger_config_.ToProto(proto->mutable_trigger_config()); in ToProto()
271 incremental_state_config_.ToProto(proto->mutable_incremental_state_config()); in ToProto()
292 incident_report_config_.ToProto(proto->mutable_incident_report_config()); in ToProto()
[all …]
Dcommit_data_request.cc72 void CommitDataRequest::ToProto( in ToProto() function in perfetto::CommitDataRequest
78 it.ToProto(entry); in ToProto()
83 it.ToProto(entry); in ToProto()
127 void CommitDataRequest::ChunksToMove::ToProto( in ToProto() function in perfetto::CommitDataRequest::ChunksToMove
192 void CommitDataRequest::ChunkToPatch::ToProto( in ToProto() function in perfetto::CommitDataRequest::ChunkToPatch
211 it.ToProto(entry); in ToProto()
250 void CommitDataRequest::ChunkToPatch::Patch::ToProto( in ToProto() function in perfetto::CommitDataRequest::ChunkToPatch::Patch
Dobservable_events.cc59 void ObservableEvents::ToProto( in ToProto() function in perfetto::ObservableEvents
65 it.ToProto(entry); in ToProto()
112 void ObservableEvents::DataSourceInstanceStateChange::ToProto( in ToProto() function in perfetto::ObservableEvents::DataSourceInstanceStateChange
Dinode_file_config.cc91 void InodeFileConfig::ToProto(perfetto::protos::InodeFileConfig* proto) const { in ToProto() function in perfetto::InodeFileConfig
123 it.ToProto(entry); in ToProto()
166 void InodeFileConfig::MountPointMappingEntry::ToProto( in ToProto() function in perfetto::InodeFileConfig::MountPointMappingEntry
Dheapprofd_config.cc105 void HeapprofdConfig::ToProto(perfetto::protos::HeapprofdConfig* proto) const { in ToProto() function in perfetto::HeapprofdConfig
137 continuous_dump_config_.ToProto(proto->mutable_continuous_dump_config()); in ToProto()
184 void HeapprofdConfig::ContinuousDumpConfig::ToProto( in ToProto() function in perfetto::HeapprofdConfig::ContinuousDumpConfig
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instructions.cc92 HloInstructionProto HloBatchNormInstruction::ToProto() const { in ToProto() function in xla::HloBatchNormInstruction
93 HloInstructionProto proto = HloInstruction::ToProto(); in ToProto()
173 HloInstructionProto HloFftInstruction::ToProto() const { in ToProto() function in xla::HloFftInstruction
174 HloInstructionProto proto = HloInstruction::ToProto(); in ToProto()
214 HloInstructionProto HloCompareInstruction::ToProto() const { in ToProto() function in xla::HloCompareInstruction
215 HloInstructionProto proto = HloInstruction::ToProto(); in ToProto()
290 HloInstructionProto HloTriangularSolveInstruction::ToProto() const { in ToProto() function in xla::HloTriangularSolveInstruction
291 HloInstructionProto proto = HloInstruction::ToProto(); in ToProto()
332 HloInstructionProto HloCholeskyInstruction::ToProto() const { in ToProto() function in xla::HloCholeskyInstruction
333 HloInstructionProto proto = HloInstruction::ToProto(); in ToProto()
[all …]
Dhlo_instructions.h37 HloInstructionProto ToProto() const override;
112 HloInstructionProto ToProto() const override;
140 HloInstructionProto ToProto() const override;
166 HloInstructionProto ToProto() const override;
191 HloInstructionProto ToProto() const override;
220 HloInstructionProto ToProto() const override;
300 HloInstructionProto ToProto() const override;
329 HloInstructionProto ToProto() const override;
381 HloInstructionProto ToProto() const override;
407 HloInstructionProto ToProto() const override;
[all …]
Dhlo_proto_util.cc27 BufferAssignmentProto proto_assignment = assignment.ToProto(); in MakeHloProto()
34 HloModuleProto proto_module = module.ToProto(); in MakeHloProto()
/external/tensorflow/tensorflow/compiler/xrt/tests/
Draw_api_test.cc70 return tuple.ToProto(); in TwoElementTuple()
75 return scalar.ToProto(); in ScalarLiteral()
84 return nested.ToProto(); in NestedTuple()
94 return nested1.ToProto(); in MakeTuple0()
99 return array.ToProto(); in FloatVector()
106 return array.ToProto(); in FloatMatrix()
134 << a.ToProto().DebugString() << "\n!=\n" in CompareLiteralToLiteralProto()
144 << a.ToProto().DebugString() << "\n!=\n" in CompareLiterals()
145 << b.ToProto().DebugString(); in CompareLiterals()
363 xla::LiteralUtil::CreateR2({{4, 5}, {6, 7}}).ToProto(); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreplay_test.cc58 ASSERT_TRUE(protobuf_util::ProtobufEquals(original_shape->ToProto(), in TEST_F()
59 replayed_shape->ToProto())); in TEST_F()
91 ASSERT_TRUE(protobuf_util::ProtobufEquals(original_shape->ToProto(), in XLA_TEST_F()
92 replayed_shape->ToProto())); in XLA_TEST_F()
138 ASSERT_TRUE(protobuf_util::ProtobufEquals(original_shape->ToProto(), in TEST_F()
139 replayed_shape->ToProto())); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dshape.h42 ShapeProto ToProto() const;
141 string SerializeAsString() const { return ToProto().SerializeAsString(); } in SerializeAsString()
142 string ShortDebugString() const { return ToProto().ShortDebugString(); } in ShortDebugString()
143 string DebugString() const { return ToProto().DebugString(); } in DebugString()
228 ProgramShapeProto ToProto() const;
278 string ShortDebugString() const { return ToProto().ShortDebugString(); } in ShortDebugString()
279 string DebugString() const { return ToProto().DebugString(); } in DebugString()
Dshape.cc58 ShapeProto Shape::ToProto() const { in ToProto() function in xla::Shape
70 *proto.add_tuple_shapes() = shape.ToProto(); in ToProto()
73 *proto.mutable_layout() = layout().ToProto(); in ToProto()
196 ProgramShapeProto ProgramShape::ToProto() const { in ToProto() function in xla::ProgramShape
199 *proto.add_parameters() = shape.ToProto(); in ToProto()
201 *proto.mutable_result() = result().ToProto(); in ToProto()
Dlayout.cc24 TileProto Tile::ToProto() const { in ToProto() function in xla::Tile
63 LayoutProto Layout::ToProto() const { in ToProto() function in xla::Layout
72 *proto.add_tiles() = tile.ToProto(); in ToProto()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmessage_wrappers_test.cc176 CheckRunStepRequest(ProtoRunStepRequest(&in_memory_request.ToProto())); in TEST()
177 CheckRunStepRequest(ProtoRunStepRequest(&proto_request.ToProto())); in TEST()
188 &mutable_proto_run_step_request.ToProto()); in TEST()
195 CheckRunGraphRequest(ProtoRunGraphRequest(&request.ToProto())); in TEST()
203 CheckRunGraphRequest(ProtoRunGraphRequest(&request.ToProto())); in TEST()
211 CheckRunGraphRequest(ProtoRunGraphRequest(&request.ToProto())); in TEST()
219 CheckRunGraphRequest(ProtoRunGraphRequest(&request.ToProto())); in TEST()
227 CheckRunGraphRequest(ProtoRunGraphRequest(&request.ToProto())); in TEST()
235 CheckRunGraphRequest(ProtoRunGraphRequest(&request.ToProto())); in TEST()
Dmessage_wrappers.h96 virtual const RunStepRequest& ToProto() const = 0;
130 const RunStepRequest& ToProto() const override;
181 const RunStepRequest& ToProto() const override;
222 const RunStepRequest& ToProto() const override;
296 virtual const RunGraphRequest& ToProto() const = 0;
340 const RunGraphRequest& ToProto() const override;
398 const RunGraphRequest& ToProto() const override;
439 const RunGraphRequest& ToProto() const override;
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc272 *instr.mutable_shape() = param_shape.ToProto(); in SetDynamicBinding()
352 *entry.mutable_program_shape() = program_shape.ToProto(); in Build()
378 dynamic_parameter_binding_.ToProto(); in Build()
414 *module->mutable_input_output_alias() = config.ToProto(); in PopulateInputOutputAlias()
424 *instr.mutable_shape() = shape.ToProto(); in InDimBroadcast()
477 *instr.mutable_shape() = shape.ToProto(); in UnaryOp()
492 *instr.mutable_shape() = shape.ToProto(); in BinaryOp()
563 *instr.mutable_shape() = shape.ToProto(); in TernaryOp()
592 *instr.mutable_shape() = literal.shape().ToProto(); in ConstantLiteral()
593 *instr.mutable_literal() = literal.ToProto(); in ConstantLiteral()
[all …]
Dclient.cc46 *request.mutable_shape_with_layout() = shape_with_layout->ToProto(); in Transfer()
71 *request.mutable_literal() = literal.ToProto(); in TransferToServer()
99 *request.mutable_literal() = literal.ToProto(); in TransferToInfeed()
127 *request.mutable_shape_with_layout() = shape_with_layout->ToProto(); in TransferFromOutfeed()
189 *request.mutable_output_layout() = output_layout->ToProto(); in ComputeConstant()
236 *request.add_input_shape_with_layout() = arg_shape.ToProto(); in Compile()
Dsharding_builder.cc39 *result.mutable_tile_shape() = tile_shape.ToProto(); in Tile()
55 *result.mutable_tile_shape() = tile_shape.ToProto(); in Tile1D()
/external/perfetto/include/perfetto/tracing/core/
Dtrace_config.h95 void ToProto(perfetto::protos::TraceConfig_BufferConfig*) const;
125 void ToProto(perfetto::protos::TraceConfig_DataSource*) const;
169 void ToProto(perfetto::protos::TraceConfig_BuiltinDataSource*) const;
215 void ToProto(perfetto::protos::TraceConfig_ProducerConfig*) const;
251 void ToProto(perfetto::protos::TraceConfig_StatsdMetadata*) const;
301 void ToProto(perfetto::protos::TraceConfig_GuardrailOverrides*) const;
340 void ToProto(perfetto::protos::TraceConfig_TriggerConfig_Trigger*) const;
378 void ToProto(perfetto::protos::TraceConfig_TriggerConfig*) const;
420 void ToProto(perfetto::protos::TraceConfig_IncrementalStateConfig*) const;
453 void ToProto(perfetto::protos::TraceConfig_IncidentReportConfig*) const;
[all …]
Dcommit_data_request.h67 void ToProto(perfetto::protos::CommitDataRequest_ChunksToMove*) const;
104 void ToProto(
138 void ToProto(perfetto::protos::CommitDataRequest_ChunkToPatch*) const;
186 void ToProto(perfetto::protos::CommitDataRequest*) const;
Dobservable_events.h71 void ToProto(
109 void ToProto(perfetto::protos::ObservableEvents*) const;
/external/tensorflow/tensorflow/core/framework/
Dvariant_tensor_data.cc48 void VariantTensorData::ToProto(VariantTensorDataProto* proto) const { in ToProto() function in tensorflow::VariantTensorData
82 ToProto(&proto); in SerializeAsString()
88 ToProto(&proto); in SerializeToString()
Dfunction_test.cc1158 EXPECT_EQ(0, lib_def.ToProto().function_size()); in TEST()
1159 EXPECT_EQ(0, lib_def.ToProto().gradient_size()); in TEST()
1173 EXPECT_EQ(1, lib_def.ToProto().function_size()); in TEST()
1174 EXPECT_EQ(1, lib_def.ToProto().gradient_size()); in TEST()
1194 EXPECT_EQ(1, lib_def.ToProto().function_size()); in TEST()
1195 EXPECT_EQ(1, lib_def.ToProto().gradient_size()); in TEST()
1209 EXPECT_EQ(1, lib_def.ToProto().function_size()); in TEST()
1210 EXPECT_EQ(1, lib_def.ToProto().gradient_size()); in TEST()
1230 EXPECT_EQ(1, lib_def.ToProto().function_size()); in TEST()
1231 EXPECT_EQ(1, lib_def.ToProto().gradient_size()); in TEST()
[all …]

123456