Home
last modified time | relevance | path

Searched refs:CowReader (Results 1 – 12 of 12) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dcow_reader.cpp34 CowReader::CowReader() : fd_(-1), header_(), fd_size_(0) {} in CowReader() function in android::snapshot::CowReader
45 bool CowReader::InitForMerge(android::base::unique_fd&& fd) { in InitForMerge()
68 bool CowReader::Parse(android::base::unique_fd&& fd, std::optional<uint64_t> label) { in Parse()
73 bool CowReader::Parse(android::base::borrowed_fd fd, std::optional<uint64_t> label) { in Parse()
133 bool CowReader::ParseOps(std::optional<uint64_t> label) { in ParseOps()
267 void CowReader::InitializeMerge() { in InitializeMerge()
387 uint64_t CowReader::FindNumCopyops() { in FindNumCopyops()
401 bool CowReader::GetHeader(CowHeader* header) { in GetHeader()
406 bool CowReader::GetFooter(CowFooter* footer) { in GetFooter()
412 bool CowReader::GetLastLabel(uint64_t* label) { in GetLastLabel()
[all …]
Dcow_api_test.cpp82 CowReader reader; in TEST_F()
159 CowReader reader; in TEST_F()
200 CowReader reader; in TEST_F()
260 CowReader reader; in TEST_F()
303 CowReader reader; in TEST_P()
373 CowReader reader; in TEST_F()
440 CowReader reader; in TEST_F()
482 CowReader label_reader; in TEST_F()
500 CowReader reader; in TEST_F()
551 CowReader reader; in TEST_F()
[all …]
Dsnapshot_reader.h55 bool SetCow(std::unique_ptr<CowReader>&& cow);
72 std::unique_ptr<CowReader> cow_;
Dinspect_cow.cpp63 static void ShowBad(CowReader& reader, const struct CowOperation& op) { in ShowBad()
88 CowReader reader; in Inspect()
Dsnapuserd.h207 std::unique_ptr<CowReader> reader_;
311 std::unique_ptr<CowReader> reader_;
Dsnapshot_writer.cpp77 auto cow = std::make_unique<CowReader>(); in OpenReader()
Dsnapshot_reader.cpp80 bool CompressedSnapshotReader::SetCow(std::unique_ptr<CowReader>&& cow) { in SetCow()
Dcow_writer.cpp230 auto reader = std::make_unique<CowReader>(); in OpenForAppend()
Dsnapuserd.cpp332 reader_ = std::make_unique<CowReader>(); in ReadMetadata()
Dsnapuserd_worker.cpp108 reader_ = std::make_unique<CowReader>(); in InitReader()
Dsnapshot.cpp1190 CowReader reader; in CheckMergeConsistency()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_reader.h116 class CowReader : public ICowReader {
118 CowReader();
119 ~CowReader() { owned_fd_ = {}; } in ~CowReader()