Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/pdf/
DSkPDFDocument.cpp128 struct PageTreeNode { in generate_page_tree() struct
133 static std::vector<PageTreeNode> Layer(std::vector<PageTreeNode> vec, SkPDFDocument* doc) { in generate_page_tree() argument
134 std::vector<PageTreeNode> result; in generate_page_tree()
152 PageTreeNode& node = vec[index++]; in generate_page_tree()
160 result.push_back(PageTreeNode{std::move(next), parent, descendantCount}); in generate_page_tree()
165 std::vector<PageTreeNode> currentLayer; in generate_page_tree()
169 currentLayer.push_back(PageTreeNode{std::move(pages[i]), pageRefs[i], 1}); in generate_page_tree()
171 currentLayer = PageTreeNode::Layer(std::move(currentLayer), doc); in generate_page_tree()
173 currentLayer = PageTreeNode::Layer(std::move(currentLayer), doc); in generate_page_tree()
176 const PageTreeNode& root = currentLayer[0]; in generate_page_tree()
/third_party/skia/src/pdf/
DSkPDFDocument.cpp150 struct PageTreeNode { in generate_page_tree() struct
155 static std::vector<PageTreeNode> Layer(std::vector<PageTreeNode> vec, SkPDFDocument* doc) { in generate_page_tree() argument
156 std::vector<PageTreeNode> result; in generate_page_tree()
174 PageTreeNode& node = vec[index++]; in generate_page_tree()
182 result.push_back(PageTreeNode{std::move(next), parent, descendantCount}); in generate_page_tree()
187 std::vector<PageTreeNode> currentLayer; in generate_page_tree()
191 currentLayer.push_back(PageTreeNode{std::move(pages[i]), pageRefs[i], 1}); in generate_page_tree()
193 currentLayer = PageTreeNode::Layer(std::move(currentLayer), doc); in generate_page_tree()
195 currentLayer = PageTreeNode::Layer(std::move(currentLayer), doc); in generate_page_tree()
198 const PageTreeNode& root = currentLayer[0]; in generate_page_tree()