Home
last modified time | relevance | path

Searched refs:iPage (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp406 CPDF_Dictionary* CPDF_Document::TraversePDFPages(int iPage, in TraversePDFPages() argument
418 m_PageList[iPage] = pPages->GetObjNum(); in TraversePDFPages()
443 m_PageList[iPage - (*nPagesToGo) + 1] = pKid->GetObjNum(); in TraversePDFPages()
455 CPDF_Dictionary* pageKid = TraversePDFPages(iPage, nPagesToGo, level + 1); in TraversePDFPages()
483 bool CPDF_Document::IsPageLoaded(int iPage) const { in IsPageLoaded()
484 return !!m_PageList[iPage]; in IsPageLoaded()
487 CPDF_Dictionary* CPDF_Document::GetPage(int iPage) { in GetPage() argument
488 if (!pdfium::IndexInBounds(m_PageList, iPage)) in GetPage()
491 if (m_bLinearized && iPage == m_iFirstPageNo) { in GetPage()
497 uint32_t objnum = m_PageList[iPage]; in GetPage()
[all …]
Dcpdf_document.h53 void DeletePage(int iPage);
55 bool IsPageLoaded(int iPage) const;
56 CPDF_Dictionary* GetPage(int iPage);
63 void SetPageObjNum(int iPage, uint32_t objNum);
91 CPDF_Dictionary* CreateNewPage(int iPage);
108 CPDF_Dictionary* TraversePDFPages(int iPage, int* nPagesToGo, size_t level);
129 bool InsertNewPage(int iPage, CPDF_Dictionary* pPageDict);
Dcpdf_data_avail.cpp648 int32_t iPage, in CheckPageNode() argument
655 if (iSize <= 0 || iPage >= iSize) { in CheckPageNode()
677 if (iPage == iCount && m_pDocument) in CheckPageNode()
678 m_pDocument->SetPageObjNum(iPage, pNode->m_dwPageNo); in CheckPageNode()
681 if (!CheckPageNode(*pNode, iPage, iCount, level + 1)) in CheckPageNode()
689 if (iPage == iCount) { in CheckPageNode()
699 int32_t iPage = safePage.ValueOrDie(); in LoadDocPage() local
700 if (m_pDocument->GetPageCount() <= iPage || in LoadDocPage()
701 m_pDocument->IsPageLoaded(iPage)) { in LoadDocPage()
706 m_docStatus = iPage == 0 ? PDF_DATAAVAIL_DONE : PDF_DATAAVAIL_ERROR; in LoadDocPage()
[all …]
Dcpdf_data_avail.h156 int32_t iPage,
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp480 int32_t iPage = pLayoutItem->GetFirst()->GetPage()->GetPageIndex(); in PageInternals() local
481 return CJS_Return(runtime->NewNumber(bAbsPage ? iPage : iPage + 1)); in PageInternals()
/external/sqlite/dist/orig/
Dsqlite3.c20978 int iPage, in sqlite3OsShmMap() argument
20984 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
56158 static int walIndexPage(Wal *pWal, int iPage, volatile u32 **ppPage){
56162 if( pWal->nWiData<=iPage ){
56163 int nByte = sizeof(u32*)*(iPage+1);
56171 sizeof(u32*)*(iPage+1-pWal->nWiData));
56173 pWal->nWiData = iPage+1;
56177 if( pWal->apWiData[iPage]==0 ){
56179 pWal->apWiData[iPage] = (u32 volatile *)sqlite3MallocZero(WALINDEX_PGSZ);
56180 if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM_BKPT;
[all …]
/external/sqlite/dist/
Dsqlite3.c20978 int iPage, in sqlite3OsShmMap() argument
20984 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
56174 static int walIndexPage(Wal *pWal, int iPage, volatile u32 **ppPage){
56178 if( pWal->nWiData<=iPage ){
56179 int nByte = sizeof(u32*)*(iPage+1);
56187 sizeof(u32*)*(iPage+1-pWal->nWiData));
56189 pWal->nWiData = iPage+1;
56193 if( pWal->apWiData[iPage]==0 ){
56195 pWal->apWiData[iPage] = (u32 volatile *)sqlite3MallocZero(WALINDEX_PGSZ);
56196 if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM_BKPT;
[all …]