/external/perfetto/src/tracing/core/ |
D | shared_memory_arbiter_impl.cc | 152 BufferID target_buffer, in ReturnCompletedChunk() argument 156 UpdateCommitDataRequest(std::move(chunk), writer_id, target_buffer, in ReturnCompletedChunk() 161 BufferID target_buffer, in SendPatches() argument 164 UpdateCommitDataRequest(Chunk(), writer_id, target_buffer, patch_list); in SendPatches() 169 BufferID target_buffer, in UpdateCommitDataRequest() argument 197 ctm->set_target_buffer(target_buffer); in UpdateCommitDataRequest() 226 last_chunk_req->set_target_buffer(target_buffer); in UpdateCommitDataRequest() 298 BufferID target_buffer) { in CreateTraceWriter() argument 307 task_runner_->PostTask([weak_this, id, target_buffer] { in CreateTraceWriter() 309 weak_this->producer_endpoint_->RegisterTraceWriter(id, target_buffer); in CreateTraceWriter() [all …]
|
D | shared_memory_arbiter_impl.h | 84 BufferID target_buffer, 91 BufferID target_buffer, 107 BufferID target_buffer) override; 110 BufferID target_buffer) override; 125 BufferID target_buffer,
|
D | commit_data_request.cc | 121 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto() 123 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto() 137 static_assert(sizeof(target_buffer_) == sizeof(proto->target_buffer()), in ToProto() 140 static_cast<decltype(proto->target_buffer())>(target_buffer_)); in ToProto() 168 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto() 170 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto() 196 static_assert(sizeof(target_buffer_) == sizeof(proto->target_buffer()), in ToProto() 199 static_cast<decltype(proto->target_buffer())>(target_buffer_)); in ToProto()
|
D | data_source_config.cc | 78 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto() 80 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto() 132 static_assert(sizeof(target_buffer_) == sizeof(proto->target_buffer()), in ToProto() 135 static_cast<decltype(proto->target_buffer())>(target_buffer_)); in ToProto()
|
D | startup_trace_writer.cc | 143 BufferID target_buffer) { in BindToArbiter() argument 149 auto trace_writer = arbiter->CreateTraceWriter(target_buffer); in BindToArbiter() 169 arbiter, trace_writer_->writer_id(), target_buffer); in BindToArbiter() 302 BufferID target_buffer) { in CommitLocalBufferChunks() argument 371 arbiter->ReturnCompletedChunk(std::move(cur_chunk), target_buffer, in CommitLocalBufferChunks()
|
D | shared_memory_arbiter_impl_unittest.cc | 108 ASSERT_EQ(i % 5, req.chunks_to_move()[i].target_buffer()); in TEST_P() 112 ASSERT_EQ(42u, req.chunks_to_move()[28].target_buffer()); in TEST_P() 130 ASSERT_EQ(43u, req.chunks_to_move()[0].target_buffer()); in TEST_P()
|
D | startup_trace_writer_registry.cc | 74 BufferID target_buffer, in BindToArbiter() argument 82 target_buffer_ = target_buffer; in BindToArbiter()
|
D | trace_writer_impl_unittest.cc | 117 EXPECT_EQ(kBufId, last_commit.chunks_to_move()[0].target_buffer()); in TEST_P() 141 EXPECT_EQ(kBufId, last_commit.chunks_to_patch()[0].target_buffer()); in TEST_P()
|
D | trace_writer_impl.cc | 43 BufferID target_buffer) in TraceWriterImpl() argument 46 target_buffer_(target_buffer), in TraceWriterImpl()
|
/external/perfetto/src/tracing/test/ |
D | mock_producer.cc | 77 uint32_t target_buffer) { in RegisterTraceWriter() argument 78 service_endpoint_->RegisterTraceWriter(writer_id, target_buffer); in RegisterTraceWriter() 103 auto target_buffer = static_cast<BufferID>(cfg.target_buffer()); in WaitForDataSourceSetup() local 107 cfg.name(), EnabledDataSource{ds_id, target_buffer, session_id}); in WaitForDataSourceSetup() 124 auto target_buffer = static_cast<BufferID>(cfg.target_buffer()); in WaitForDataSourceStart() local 128 cfg.name(), EnabledDataSource{ds_id, target_buffer, session_id}); in WaitForDataSourceStart() 150 BufferID buf_id = data_source_instances_[data_source_name].target_buffer; in CreateTraceWriter()
|
D | mock_producer.h | 39 BufferID target_buffer; member 55 void RegisterTraceWriter(uint32_t writer_id, uint32_t target_buffer);
|
/external/perfetto/test/configs/ |
D | android_log.cfg | 11 target_buffer: 1 25 target_buffer: 0 51 target_buffer: 0
|
D | sys_stats.cfg | 19 target_buffer: 0 36 target_buffer: 0 46 target_buffer: 1
|
D | summary.cfg | 11 target_buffer: 0 25 target_buffer: 0
|
D | background.cfg | 14 target_buffer: 0 39 target_buffer: 1
|
D | processes.cfg | 9 target_buffer: 0 47 target_buffer: 0
|
D | long_trace.cfg | 27 target_buffer: 0 55 target_buffer: 0
|
D | ftrace.cfg | 9 target_buffer: 0 255 target_buffer: 0 262 target_buffer: 0
|
/external/perfetto/src/traced/probes/ |
D | probes_producer.cc | 242 PERFETTO_LOG("Ftrace setup (target_buf=%" PRIu32 ")", config.target_buffer()); in CreateFtraceDataSource() 243 const BufferID buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateFtraceDataSource() 260 source_config.target_buffer()); in CreateInodeFileDataSource() 261 auto buffer_id = static_cast<BufferID>(source_config.target_buffer()); in CreateInodeFileDataSource() 272 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateProcessStatsDataSource() 281 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateAndroidPowerDataSource() 290 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateAndroidLogDataSource() 299 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreatePackagesListDataSource() 307 auto buffer_id = static_cast<BufferID>(config.target_buffer()); in CreateSysStatsDataSource()
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | buffer.hpp | 1259 for (mutable_buffer target_buffer(target); in buffer_copy() local 1260 buffer_size(target_buffer) && source_iter != source_end; ++source_iter) in buffer_copy() 1263 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy() 1265 target_buffer = target_buffer + bytes_copied; in buffer_copy() 1433 mutable_buffer target_buffer(*target_iter); in buffer_copy() local 1434 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy() 1557 mutable_buffer target_buffer = in buffer_copy() local 1563 std::size_t bytes_copied = buffer_copy(target_buffer, source_buffer); in buffer_copy() 1566 if (bytes_copied == buffer_size(target_buffer)) in buffer_copy() 2051 mutable_buffer target_buffer = in buffer_copy() local [all …]
|
/external/perfetto/include/perfetto/tracing/core/ |
D | shared_memory_arbiter.h | 53 BufferID target_buffer) = 0; 72 BufferID target_buffer) = 0;
|
D | tracing_service.h | 69 uint32_t target_buffer) = 0; 106 BufferID target_buffer) = 0;
|
/external/google-breakpad/src/common/ |
D | string_conversion.cc | 140 scoped_array<UTF8> target_buffer(new UTF8[target_capacity]); in UTF16ToUTF8() local 141 UTF8 *target_ptr = target_buffer.get(); in UTF16ToUTF8() 148 const char *targetPtr = reinterpret_cast<const char *>(target_buffer.get()); in UTF16ToUTF8()
|
/external/perfetto/src/tracing/ipc/producer/ |
D | producer_ipc_client_impl.cc | 243 uint32_t target_buffer) { in RegisterTraceWriter() argument 252 req.set_target_buffer(target_buffer); in RegisterTraceWriter() 338 BufferID target_buffer) { in CreateTraceWriter() argument 341 return shared_memory_arbiter_->CreateTraceWriter(target_buffer); in CreateTraceWriter()
|
D | producer_ipc_client_impl.h | 67 void RegisterTraceWriter(uint32_t writer_id, uint32_t target_buffer) override; 75 BufferID target_buffer) override;
|