/external/piex/src/binary_parse/ |
D | cached_paged_byte_array.cc | 33 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()
|
D | range_checked_byte_ptr.cc | 39 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()
|
D | cached_paged_byte_array.h | 44 virtual void getPage(size_t page_index, const unsigned char** begin, 62 bool getFromCache(size_t page_index, size_t* cache_index) const;
|
/external/pdfium/fpdfsdk/fpdfxfa/ |
D | cpdfxfa_context.cpp | 188 RetainPtr<CPDFXFA_Page> CPDFXFA_Context::GetXFAPage(int page_index) { in GetXFAPage() argument 189 if (page_index < 0) in GetXFAPage() 192 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) { in GetXFAPage() 193 if (m_XFAPageList[page_index]) in GetXFAPage() 194 return m_XFAPageList[page_index]; in GetXFAPage() 200 auto pPage = pdfium::MakeRetain<CPDFXFA_Page>(GetPDFDoc(), page_index); in GetXFAPage() 204 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) in GetXFAPage() 205 m_XFAPageList[page_index] = pPage; in GetXFAPage() 232 void CPDFXFA_Context::DeletePage(int page_index) { in DeletePage() argument 236 m_pPDFDoc->DeletePage(page_index); in DeletePage() [all …]
|
D | cpdfxfa_context.h | 51 RetainPtr<CPDFXFA_Page> GetXFAPage(int page_index); 58 void DeletePage(int page_index) override;
|
D | cpdfxfa_page.cpp | 25 CPDFXFA_Page::CPDFXFA_Page(CPDF_Document* pDocument, int page_index) in CPDFXFA_Page() argument 26 : m_pDocument(pDocument), m_iPageIndex(page_index) { in CPDFXFA_Page()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_bufmgr.c | 91 uint32_t page_index = size / 4096 - 1; in v3d_bo_from_cache() local 93 if (cache->size_list_size <= page_index) in v3d_bo_from_cache() 98 if (!list_is_empty(&cache->size_list[page_index])) { in v3d_bo_from_cache() 99 bo = list_first_entry(&cache->size_list[page_index], in v3d_bo_from_cache() 279 uint32_t page_index = bo->size / 4096 - 1; in v3d_bo_last_unreference_locked_timed() local 286 if (cache->size_list_size <= page_index) { in v3d_bo_last_unreference_locked_timed() 288 ralloc_array(screen, struct list_head, page_index + 1); in v3d_bo_last_unreference_locked_timed() 304 for (int i = cache->size_list_size; i < page_index + 1; i++) in v3d_bo_last_unreference_locked_timed() 308 cache->size_list_size = page_index + 1; in v3d_bo_last_unreference_locked_timed() 312 list_addtail(&bo->size_list, &cache->size_list[page_index]); in v3d_bo_last_unreference_locked_timed()
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 688 const int page_index, in RenderPage() argument 691 FPDF_PAGE page = GetPageForIndex(form_fill_info, doc, page_index); in RenderPage() 697 WriteImages(page, name.c_str(), page_index); in RenderPage() 699 WriteThumbnail(page, name.c_str(), page_index); in RenderPage() 701 WriteDecodedThumbnailStream(page, name.c_str(), page_index); in RenderPage() 703 WriteRawThumbnailStream(page, name.c_str(), page_index); in RenderPage() 705 DumpPageInfo(page, page_index); in RenderPage() 709 DumpPageStructure(page, page_index); in RenderPage() 757 WriteBmp(name.c_str(), page_index, buffer, stride, width, height); in RenderPage() 761 WriteEmf(page, name.c_str(), page_index); in RenderPage() [all …]
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 98 uint32_t page_index = size / 4096 - 1; in bo_from_cache() local 100 if (cache->size_list_size <= page_index) in bo_from_cache() 106 if (!list_is_empty(&cache->size_list[page_index])) { in bo_from_cache() 107 bo = list_first_entry(&cache->size_list[page_index], in bo_from_cache() 457 uint32_t page_index = bo->size / 4096 - 1; in v3dv_bo_free() local 475 if (cache->size_list_size <= page_index) { in v3dv_bo_free() 476 if (!reallocate_size_list(cache, device, page_index + 1)) { in v3dv_bo_free() 489 list_addtail(&bo->size_list, &cache->size_list[page_index]); in v3dv_bo_free()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_bufmgr.c | 183 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/fpdfsdk/ |
D | fpdf_view.cpp | 277 int page_index) { in FPDF_LoadPage() argument 282 if (page_index < 0 || page_index >= FPDF_GetPageCount(document)) in FPDF_LoadPage() 288 return FPDFPageFromIPDFPage(pContext->GetXFAPage(page_index).Leak()); in FPDF_LoadPage() 291 CPDF_Dictionary* pDict = pDoc->GetPageDictionary(page_index); in FPDF_LoadPage() 858 int page_index, in FPDF_GetPageSizeByIndexF() argument 868 if (page_index < 0 || page_index >= FPDF_GetPageCount(document)) in FPDF_GetPageSizeByIndexF() 873 RetainPtr<CPDFXFA_Page> pPage = pContext->GetXFAPage(page_index); in FPDF_GetPageSizeByIndexF() 883 CPDF_Dictionary* pDict = pDoc->GetPageDictionary(page_index); in FPDF_GetPageSizeByIndexF() 895 int page_index, in FPDF_GetPageSizeByIndex() argument 902 if (!FPDF_GetPageSizeByIndexF(document, page_index, &size)) in FPDF_GetPageSizeByIndex()
|
D | fpdf_dataavail.cpp | 189 int page_index, in FPDFAvail_IsPageAvail() argument 194 if (page_index < 0) in FPDFAvail_IsPageAvail() 197 return avail_context->data_avail()->IsPageAvail(page_index, &hints_context); in FPDFAvail_IsPageAvail()
|
D | fpdf_editpage.cpp | 187 int page_index) { in FPDFPage_Delete() argument 194 pExtension->DeletePage(page_index); in FPDFPage_Delete() 198 pDoc->DeletePage(page_index); in FPDFPage_Delete() 202 int page_index, in FPDFPage_New() argument 209 page_index = pdfium::clamp(page_index, 0, pDoc->GetPageCount()); in FPDFPage_New() 210 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(page_index); in FPDFPage_New() 221 auto pXFAPage = pdfium::MakeRetain<CPDFXFA_Page>(pDoc, page_index); in FPDFPage_New()
|
/external/pdfium/testing/fuzzers/ |
D | pdfium_fuzzer_helper.h | 27 int page_index,
|
D | pdfium_fuzzer_helper.cc | 210 int page_index, in RenderPage() argument 213 ScopedFPDFPage page(FPDF_LoadPage(doc, page_index)); in RenderPage()
|
/external/pdfium/public/ |
D | fpdfview.h | 613 int page_index); 684 int page_index, 702 int page_index,
|
/external/pdfium/testing/ |
D | embedder_test.h | 63 int page_index); 284 int page_index);
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext3/ext3_journalled_writepage/ |
D | format | 13 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/ |
D | format | 13 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/ |
D | format | 13 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/ |
D | format | 13 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_ordered_writepage/ |
D | format | 13 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/ |
D | format | 13 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/ |
D | format | 13 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/ |
D | format | 13 print fmt: "dev %d,%d ino %lu page_index %lu", ((unsigned int) ((REC->dev) >> 20)), ((unsigned int)…
|