Searched refs:CowReader (Results 1 – 12 of 12) sorted by relevance
34 CowReader::CowReader() : fd_(-1), header_(), fd_size_(0) {} in CowReader() function in android::snapshot::CowReader45 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 …]
82 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 …]
55 bool SetCow(std::unique_ptr<CowReader>&& cow);72 std::unique_ptr<CowReader> cow_;
63 static void ShowBad(CowReader& reader, const struct CowOperation& op) { in ShowBad()88 CowReader reader; in Inspect()
207 std::unique_ptr<CowReader> reader_;311 std::unique_ptr<CowReader> reader_;
77 auto cow = std::make_unique<CowReader>(); in OpenReader()
80 bool CompressedSnapshotReader::SetCow(std::unique_ptr<CowReader>&& cow) { in SetCow()
230 auto reader = std::make_unique<CowReader>(); in OpenForAppend()
332 reader_ = std::make_unique<CowReader>(); in ReadMetadata()
108 reader_ = std::make_unique<CowReader>(); in InitReader()
1190 CowReader reader; in CheckMergeConsistency()
116 class CowReader : public ICowReader {118 CowReader();119 ~CowReader() { owned_fd_ = {}; } in ~CowReader()