/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb_unittest.cc | 48 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/ |
D | data_source_config.cc | 125 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 …]
|
D | trace_config.cc | 182 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 …]
|
D | commit_data_request.cc | 72 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
|
D | observable_events.cc | 59 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
|
D | inode_file_config.cc | 91 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
|
D | heapprofd_config.cc | 105 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/ |
D | hlo_instructions.cc | 92 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 …]
|
D | hlo_instructions.h | 37 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 …]
|
D | hlo_proto_util.cc | 27 BufferAssignmentProto proto_assignment = assignment.ToProto(); in MakeHloProto() 34 HloModuleProto proto_module = module.ToProto(); in MakeHloProto()
|
/external/tensorflow/tensorflow/compiler/xrt/tests/ |
D | raw_api_test.cc | 70 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/ |
D | replay_test.cc | 58 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/ |
D | shape.h | 42 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()
|
D | shape.cc | 58 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()
|
D | layout.cc | 24 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/ |
D | message_wrappers_test.cc | 176 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()
|
D | message_wrappers.h | 96 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/ |
D | xla_builder.cc | 272 *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 …]
|
D | client.cc | 46 *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()
|
D | sharding_builder.cc | 39 *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/ |
D | trace_config.h | 95 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 …]
|
D | commit_data_request.h | 67 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;
|
D | observable_events.h | 71 void ToProto( 109 void ToProto(perfetto::protos::ObservableEvents*) const;
|
/external/tensorflow/tensorflow/core/framework/ |
D | variant_tensor_data.cc | 48 void VariantTensorData::ToProto(VariantTensorDataProto* proto) const { in ToProto() function in tensorflow::VariantTensorData 82 ToProto(&proto); in SerializeAsString() 88 ToProto(&proto); in SerializeToString()
|
D | function_test.cc | 1158 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 …]
|