Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_document.cpp106 CPDF_Dictionary* CPDF_Document::_FindPDFPage(CPDF_Dictionary* pPages, int iPage, int nPagesToGo, in… in _FindPDFPage() argument
132 m_PageList.SetAt(iPage - nPagesToGo, pKid->GetObjNum()); in _FindPDFPage()
137 return _FindPDFPage(pKid, iPage, nPagesToGo, level + 1); in _FindPDFPage()
144 CPDF_Dictionary* CPDF_Document::GetPage(int iPage) in GetPage() argument
146 if (iPage < 0 || iPage >= m_PageList.GetSize()) { in GetPage()
149 if (m_bLinearized && (iPage == (int)m_dwFirstPageNo)) { in GetPage()
155 int objnum = m_PageList.GetAt(iPage); in GetPage()
169 CPDF_Dictionary* pPage = _FindPDFPage(pPages, iPage, iPage, 0); in GetPage()
173 m_PageList.SetAt(iPage, pPage->GetObjNum()); in GetPage()
Dfpdf_parser_parser.cpp2730 …virtual FX_BOOL IsPageAvail(int iPage, IFX_DownloadHints* pHints) FX_OVERRIDE;
2782 FX_BOOL CheckPageAnnots(int iPage, IFX_DownloadHints* pHints);
2784 …FX_BOOL CheckLinearizedFirstPage(int iPage, IFX_DownloadHints* pHints);
2786 FX_BOOL CheckPage(FX_INT32 iPage, IFX_DownloadHints* pHints);
2788 FX_BOOL LoadDocPage(FX_INT32 iPage, IFX_DownloadHints* pHints);
2789 …FX_BOOL CheckPageNode(CPDF_PageNode &pageNodes, FX_INT32 iPage, FX_INT…
2793 FX_BOOL IsFirstCheck(int iPage);
2794 void ResetFirstCheck(int iPage);
3429 FX_BOOL CPDF_DataAvail::IsFirstCheck(int iPage) in IsFirstCheck() argument
3435 if (!m_pageMapCheckState->Lookup(iPage, dwValue)) { in IsFirstCheck()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp1099 static int InsertNewPage(CPDF_Document* pDoc, int iPage, CPDF_Dictionary* pPageDict, CFX_DWordArray… in InsertNewPage() argument
1110 if (iPage < 0 || iPage > nPages) { in InsertNewPage()
1113 if (iPage == nPages) { in InsertNewPage()
1125 if (InsertDeletePDFPage(pDoc, pPages, iPage, pPageDict, TRUE, stack) < 0) { in InsertNewPage()
1129 pageList.InsertAt(iPage, pPageDict->GetObjNum()); in InsertNewPage()
1130 return iPage; in InsertNewPage()
1132 CPDF_Dictionary* CPDF_Document::CreateNewPage(int iPage) in CreateNewPage() argument
1137 if (InsertNewPage(this, iPage, pDict, m_PageList) < 0) { in CreateNewPage()
1152 void CPDF_Document::DeletePage(int iPage) in DeletePage() argument
1163 if (iPage < 0 || iPage >= nPages) { in DeletePage()
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h85 CPDF_Dictionary* GetPage(int iPage);
150 CPDF_Dictionary* CreateNewPage(int iPage);
152 void DeletePage(int iPage);
177 CPDF_Dictionary* _FindPDFPage(CPDF_Dictionary* pPages, int iPage, int nPagesToGo, int level);
848 virtual FX_BOOL IsPageAvail(int iPage, IFX_DownloadHints* pHints) = 0;
/external/sqlite/dist/
Dsqlite3.c16614 int iPage, in sqlite3OsShmMap() argument
16620 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
49438 static int walIndexPage(Wal *pWal, int iPage, volatile u32 **ppPage){
49442 if( pWal->nWiData<=iPage ){
49443 int nByte = sizeof(u32*)*(iPage+1);
49451 sizeof(u32*)*(iPage+1-pWal->nWiData));
49453 pWal->nWiData = iPage+1;
49457 if( pWal->apWiData[iPage]==0 ){
49459 pWal->apWiData[iPage] = (u32 volatile *)sqlite3MallocZero(WALINDEX_PGSZ);
49460 if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM;
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c16614 int iPage, in sqlite3OsShmMap() argument
16620 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
49420 static int walIndexPage(Wal *pWal, int iPage, volatile u32 **ppPage){
49424 if( pWal->nWiData<=iPage ){
49425 int nByte = sizeof(u32*)*(iPage+1);
49433 sizeof(u32*)*(iPage+1-pWal->nWiData));
49435 pWal->nWiData = iPage+1;
49439 if( pWal->apWiData[iPage]==0 ){
49441 pWal->apWiData[iPage] = (u32 volatile *)sqlite3MallocZero(WALINDEX_PGSZ);
49442 if( !pWal->apWiData[iPage] ) rc = SQLITE_NOMEM;
[all …]