Searched refs:reader_ (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | MapRecordReader_test.cpp | 37 reader_.emplace(attr_, 0, true); in CreateMapRecordReader() 38 reader_->SetCallback([this](Record* r) { return CountRecord(r); }); in CreateMapRecordReader() 52 std::optional<MapRecordReader> reader_; member in MapRecordReaderTest 59 ASSERT_TRUE(reader_->ReadKernelMaps()); in TEST_F() 65 ASSERT_TRUE(reader_->ReadProcessMaps(getpid(), 0)); in TEST_F() 79 MapRecordThread thread(*reader_); in TEST_F()
|
D | cmd_debug_unwind.cpp | 134 reader_ = RecordFileReader::CreateInstance(record_filename_); in ProcessFile() 135 if (!reader_) { in ProcessFile() 138 std::string record_cmd = android::base::Join(reader_->ReadCmdlineFeature(), " "); in ProcessFile() 149 reader_->LoadBuildIdAndFileFeatures(thread_tree_); in ProcessFile() 151 GetArchType(reader_->ReadFeatureString(PerfFileFormat::FEAT_ARCH))); in ProcessFile() 152 unwinder_->LoadMetaInfo(reader_->GetMetaInfoFeature()); in ProcessFile() 153 if (reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND) && in ProcessFile() 154 reader_->HasFeature(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE)) { in ProcessFile() 155 auto debug_unwind_feature = reader_->ReadDebugUnwindFeature(); in ProcessFile() 160 reader_->FeatureSectionDescriptors().at(PerfFileFormat::FEAT_DEBUG_UNWIND_FILE).offset; in ProcessFile() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd.cpp | 269 SNAP_LOG(INFO) << "Merge was not initiated. Total-data-ops: " << reader_->total_data_ops(); in CheckMergeCompletionStatus() 276 << " Total-data-ops: " << reader_->total_data_ops(); in CheckMergeCompletionStatus() 332 reader_ = std::make_unique<CowReader>(); in ReadMetadata() 340 if (!reader_->Parse(cow_fd_)) { in ReadMetadata() 345 if (!reader_->GetHeader(&header)) { in ReadMetadata() 355 reader_->InitializeMerge(); in ReadMetadata() 364 cowop_riter_ = reader_->GetRevOpIter(); in ReadMetadata() 449 uint64_t total_copy_ops = reader_->total_copy_ops(); in ReadMetadata() 612 << " Total-data-ops: " << reader_->total_data_ops(); in ReadMetadata() 624 reader_->GetHeader(&header); in MmapMetadata() [all …]
|
D | cow_reader.cpp | 513 : reader_(reader), offset_(offset), data_length_(data_length) { in CowDataStream() 523 if (!reader_->GetRawBytes(offset_, buffer, to_read, read)) { in Read() 534 CowReader* reader_; member in android::snapshot::CowDataStream
|
D | snapuserd_worker.cpp | 108 reader_ = std::make_unique<CowReader>(); in InitReader() 109 if (!reader_->InitForMerge(std::move(cow_fd_))) { in InitReader() 137 if (!reader_->ReadData(*cow_op, &bufsink_)) { in ProcessReplaceOp() 839 reader_->CloseCowFd(); in RunThread()
|
D | snapuserd.h | 207 std::unique_ptr<CowReader> reader_; variable 311 std::unique_ptr<CowReader> reader_; variable
|
/system/update_engine/payload_consumer/ |
D | partition_writer.cc | 121 TEST_AND_RETURN_FALSE(reader_->Read(buf, count)); in Read() 135 if (reader_ != nullptr) { in Seek() 136 TEST_AND_RETURN_FALSE(reader_->Seek(pos)); in Seek() 157 : reader_(std::move(reader)), in BsdiffExtentFile() 162 std::unique_ptr<ExtentReader> reader_; member in chromeos_update_engine::BsdiffExtentFile 195 TEST_AND_RETURN_FALSE(reader_->Seek(offset)); in Seek() 207 TEST_AND_RETURN_FALSE(reader_->Read(buffer, count)); in Read() 225 : reader_(std::move(reader)), in PuffinExtentStream() 229 is_read_(reader_ ? true : false) {} in PuffinExtentStream() 231 std::unique_ptr<ExtentReader> reader_; member in chromeos_update_engine::PuffinExtentStream
|
/system/logging/logd/ |
D | LogReader.cpp | 51 : LogWriter(client->getUid(), privileged), reader_(reader), client_(client) {} in SocketLogWriter() 64 reader_->release(client_); in Release() 73 LogReader* reader_; member in SocketLogWriter
|