Home
last modified time | relevance | path

Searched refs:pages_ (Results 1 – 2 of 2) sorted by relevance

/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Ddocument.cc91 for (const auto& entry : pages_) { in ~Document()
109 if (pages_.find(pageNum) != pages_.end()) { in GetPage()
110 return pages_.at(pageNum); in GetPage()
118 pages_.try_emplace(pageNum, page); in GetPage()
130 pages_.at(retained_page_index)->NotifyInvalidRect(rect); in NotifyInvalidRect()
135 if (pages_.find(pageNum) != pages_.end()) { in ReleaseRetainedPage()
136 std::shared_ptr<pdfClient::Page> page = pages_.at(pageNum); in ReleaseRetainedPage()
138 pages_.erase(pageNum); in ReleaseRetainedPage()
Ddocument.h135 std::unordered_map<int, std::shared_ptr<Page>> pages_; variable