Lines Matching refs:pages
92 static void generate_page_tree(const SkTDArray<SkPDFDict*>& pages, in generate_page_tree() argument
106 curNodes.setReserve(pages.count()); in generate_page_tree()
107 for (int i = 0; i < pages.count(); i++) { in generate_page_tree()
108 SkSafeRef(pages[i]); in generate_page_tree()
109 curNodes.push(pages[i]); in generate_page_tree()
114 nextRoundNodes.setReserve((pages.count() + kNodeSize - 1)/kNodeSize); in generate_page_tree()
135 if (curNodes[i] != pages[0]) { in generate_page_tree()
151 pageCount = ((pages.count() - 1) % treeCapacity) + 1; in generate_page_tree()
176 SkTDArray<SkPDFDict*> pages; in emit_pdf_document() local
185 pages.push(page.detach()); in emit_pdf_document()
220 generate_page_tree(pages, &pageTree, &pageTreeRoot); in emit_pdf_document()
273 pages.unrefAll(); in emit_pdf_document()