Home
last modified time | relevance | path

Searched refs:page_index (Results 1 – 25 of 59) sorted by relevance

123

/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_context.cpp145 RetainPtr<CPDFXFA_Page> CPDFXFA_Context::GetXFAPage(int page_index) { in GetXFAPage() argument
146 if (page_index < 0) in GetXFAPage()
149 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) { in GetXFAPage()
150 if (m_XFAPageList[page_index]) in GetXFAPage()
151 return m_XFAPageList[page_index]; in GetXFAPage()
157 auto pPage = pdfium::MakeRetain<CPDFXFA_Page>(this, page_index); in GetXFAPage()
161 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) in GetXFAPage()
162 m_XFAPageList[page_index] = pPage; in GetXFAPage()
185 void CPDFXFA_Context::DeletePage(int page_index) { in DeletePage() argument
190 m_pPDFDoc->DeletePage(page_index); in DeletePage()
[all …]
Dcpdfxfa_context.h57 void DeletePage(int page_index);
58 RetainPtr<CPDFXFA_Page> GetXFAPage(int page_index);
Dcpdfxfa_page.cpp19 CPDFXFA_Page::CPDFXFA_Page(CPDFXFA_Context* pContext, int page_index) in CPDFXFA_Page() argument
20 : m_pXFAPageView(nullptr), m_pContext(pContext), m_iPageIndex(page_index) {} in CPDFXFA_Page()
/external/piex/src/binary_parse/
Dcached_paged_byte_array.cc33 void CachedPagedByteArray::getPage(size_t page_index, in getPage() argument
39 if (getFromCache(page_index, &cache_index)) { in getPage()
50 paged_byte_array_->getPage(page_index, begin, end, page); in getPage()
60 cache_page.index = page_index; in getPage()
67 bool CachedPagedByteArray::getFromCache(size_t page_index, in getFromCache() argument
70 if (cached_pages_[i].index == page_index) { in getFromCache()
Drange_checked_byte_ptr.cc39 virtual void getPage(size_t page_index, const unsigned char **begin,
196 size_t page_index = offset / array_->pageSize(); in loadPageForOffset() local
201 array_->getPage(page_index, &page_begin, &page_end, &page_); in loadPageForOffset()
206 if (page_index == (array_->length() - 1) / array_->pageSize()) { in loadPageForOffset()
207 expected_page_size = array_->length() - array_->pageSize() * page_index; in loadPageForOffset()
217 page_begin_offset_ = page_index * array_->pageSize(); in loadPageForOffset()
Dcached_paged_byte_array.h44 virtual void getPage(size_t page_index, const unsigned char** begin,
62 bool getFromCache(size_t page_index, size_t* cache_index) const;
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_bufmgr.c94 uint32_t page_index = size / 4096 - 1; in vc5_bo_from_cache() local
96 if (cache->size_list_size <= page_index) in vc5_bo_from_cache()
101 if (!list_empty(&cache->size_list[page_index])) { in vc5_bo_from_cache()
102 bo = LIST_ENTRY(struct vc5_bo, cache->size_list[page_index].next, in vc5_bo_from_cache()
279 uint32_t page_index = bo->size / 4096 - 1; in vc5_bo_last_unreference_locked_timed() local
286 if (cache->size_list_size <= page_index) { in vc5_bo_last_unreference_locked_timed()
288 ralloc_array(screen, struct list_head, page_index + 1); in vc5_bo_last_unreference_locked_timed()
304 for (int i = cache->size_list_size; i < page_index + 1; i++) in vc5_bo_last_unreference_locked_timed()
308 cache->size_list_size = page_index + 1; in vc5_bo_last_unreference_locked_timed()
312 list_addtail(&bo->size_list, &cache->size_list[page_index]); in vc5_bo_last_unreference_locked_timed()
/external/pdfium/fpdfsdk/
Dfpdfeditpage.cpp127 int page_index) { in FPDFPage_Delete() argument
129 pDoc->DeletePage(page_index); in FPDFPage_Delete()
133 int page_index, in FPDFPage_New() argument
140 page_index = pdfium::clamp(page_index, 0, pDoc->GetPageCount()); in FPDFPage_New()
141 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(page_index); in FPDFPage_New()
155 static_cast<CPDFXFA_Context*>(document), page_index); in FPDFPage_New()
Dfpdf_dataavail.cpp167 int page_index, in FPDFAvail_IsPageAvail() argument
171 if (page_index < 0) in FPDFAvail_IsPageAvail()
175 page_index, &hints_context); in FPDFAvail_IsPageAvail()
Dfpdfview.cpp698 int page_index) { in FPDF_LoadPage() argument
703 if (page_index < 0 || page_index >= pDoc->GetPageCount()) in FPDF_LoadPage()
707 return pDoc->GetXFAPage(page_index).Leak(); in FPDF_LoadPage()
709 CPDF_Dictionary* pDict = pDoc->GetPage(page_index); in FPDF_LoadPage()
1287 int page_index, in FPDF_GetPageSizeByIndex() argument
1296 if (page_index < 0 || page_index >= count) in FPDF_GetPageSizeByIndex()
1298 RetainPtr<CPDFXFA_Page> pPage = pDoc->GetXFAPage(page_index); in FPDF_GetPageSizeByIndex()
1304 CPDF_Dictionary* pDict = pDoc->GetPage(page_index); in FPDF_GetPageSizeByIndex()
Dfpdfdoc.cpp413 int page_index, in FPDF_GetPageLabel() argument
416 if (page_index < 0) in FPDF_GetPageLabel()
421 Optional<WideString> str = label.GetLabel(page_index); in FPDF_GetPageLabel()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c183 uint32_t page_index = size / 4096 - 1; in vc4_bo_from_cache() local
186 if (cache->size_list_size <= page_index) in vc4_bo_from_cache()
190 LIST_FOR_EACH_ENTRY_SAFE(iter, tmp, &cache->size_list[page_index], in vc4_bo_from_cache()
339 uint32_t page_index = bo->size / 4096 - 1; in vc4_bo_last_unreference_locked_timed() local
346 if (cache->size_list_size <= page_index) { in vc4_bo_last_unreference_locked_timed()
348 ralloc_array(screen, struct list_head, page_index + 1); in vc4_bo_last_unreference_locked_timed()
355 for (int i = cache->size_list_size; i < page_index + 1; i++) in vc4_bo_last_unreference_locked_timed()
359 cache->size_list_size = page_index + 1; in vc4_bo_last_unreference_locked_timed()
364 list_addtail(&bo->size_list, &cache->size_list[page_index]); in vc4_bo_last_unreference_locked_timed()
/external/pdfium/samples/
Dpdfium_test.cc1231 const int page_index, in RenderPage() argument
1234 FPDF_PAGE page = GetPageForIndex(form_fill_info, doc, page_index); in RenderPage()
1240 SaveImages(page, name.c_str(), page_index); in RenderPage()
1242 DumpPageStructure(page, page_index); in RenderPage()
1293 WriteBmp(name.c_str(), page_index, buffer, stride, width, height); in RenderPage()
1297 WriteEmf(page, name.c_str(), page_index); in RenderPage()
1302 WritePS(page, name.c_str(), page_index); in RenderPage()
1306 WriteText(page, name.c_str(), page_index); in RenderPage()
1310 WriteAnnot(page, name.c_str(), page_index); in RenderPage()
1315 WritePng(name.c_str(), page_index, buffer, stride, width, height); in RenderPage()
[all …]
/external/pdfium/testing/
Dembedder_test.h59 int page_index);
203 int page_index);
Dembedder_test.cpp375 int page_index) { in GetPage() argument
377 auto it = test->page_map_.find(page_index); in GetPage()
415 int page_index) { in GetPageTrampoline() argument
417 page_index); in GetPageTrampoline()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext3/ext3_ordered_writepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext3/ext3_releasepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext3/ext3_writeback_writepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext3/ext3_releasepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext3/ext3_writeback_writepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext3/ext3_ordered_writepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext3/ext3_readpage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext3/ext3_journalled_writepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext3/ext3_readpage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext3/ext3_journalled_writepage/
Dformat13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…

123