Home
last modified time | relevance | path

Searched refs:GetPageCount (Results 1 – 25 of 28) sorted by relevance

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser_embeddertest.cpp31 (void)GetPageCount(); in TEST_F()
66 EXPECT_EQ(2, GetPageCount()); in TEST_F()
Dcpdf_linearized_header.cpp47 header->GetPageCount() > 0 && in IsLinearizedHeaderValid()
110 return GetPageCount() > 1 && GetHintStart() > 0 && GetHintLength() > 0; in HasHintTable()
Dcpdf_data_avail.cpp445 if (m_pLinearized->GetPageCount() <= 1) { in CheckHintTables()
700 if (m_pDocument->GetPageCount() <= iPage || in LoadDocPage()
813 if (safePage.ValueOrDie() >= m_pDocument->GetPageCount()) { in IsPageAvail()
938 int CPDF_DataAvail::GetPageCount() const { in GetPageCount() function in CPDF_DataAvail
940 return m_pLinearized->GetPageCount(); in GetPageCount()
941 return m_pDocument ? m_pDocument->GetPageCount() : 0; in GetPageCount()
945 if (!m_pDocument || index < 0 || index >= GetPageCount()) in GetPage()
Dcpdf_linearized_header.h32 uint32_t GetPageCount() const { return m_PageCount; } in GetPageCount() function
Dcpdf_hint_tables.cpp377 if (index >= m_pLinearized->GetPageCount()) in GetPagePos()
500 return static_cast<int>(m_pLinearized->GetPageCount()); in GetNumberOfPages()
Dcpdf_document.h54 int GetPageCount() const;
Dcpdf_data_avail.h104 int GetPageCount() const;
Dcpdf_document.cpp397 m_PageList.resize(pLinearizationParams->GetPageCount()); in LoadLinearizedDoc()
597 int CPDF_Document::GetPageCount() const { in GetPageCount() function in CPDF_Document
734 int nPages = GetPageCount(); in InsertNewPage()
Dcpdf_document_unittest.cpp234 ASSERT_EQ(page_count, document.GetPageCount()); in TEST_F()
Dcpdf_parser.cpp270 if (!m_pDocument->GetRoot() || m_pDocument->GetPageCount() == 0) { in StartParseInternal()
1374 if (!m_pDocument->GetRoot() || m_pDocument->GetPageCount() == 0) { in StartLinearizedParse()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_context.cpp128 int CPDFXFA_Context::GetPageCount() const { in GetPageCount() function in CPDFXFA_Context
137 return m_pPDFDoc->GetPageCount(); in GetPageCount()
153 m_nPageCount = GetPageCount(); in GetXFAPage()
Dcpdfxfa_context.h56 int GetPageCount() const;
Dcpdfxfa_docenvironment.cpp265 int nNewCount = m_pContext->GetPageCount(); in PageViewEvent()
331 return m_pContext->GetPageCount(); in CountPages()
352 iCurPage >= m_pContext->GetFormFillEnv()->GetPageCount()) { in SetCurrentPage()
/external/pdfium/core/fpdfdoc/
Dcpdf_pagelabel.cpp85 if (nPage < 0 || nPage >= m_pDocument->GetPageCount()) in GetLabel()
132 int nPages = m_pDocument->GetPageCount(); in GetPageByLabel()
/external/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.h80 int GetPageCount() const { return m_pUnderlyingDoc->GetPageCount(); } in GetPageCount() function
Dfpdfeditpage.cpp140 page_index = pdfium::clamp(page_index, 0, pDoc->GetPageCount()); in FPDFPage_New()
Dfpdfppo.cpp361 int nCount = pSrcDoc->GetPageCount(); in FPDF_ImportPages()
Dfpdfview.cpp694 return pDoc ? pDoc->GetPageCount() : 0; in FPDF_GetPageCount()
703 if (page_index < 0 || page_index >= pDoc->GetPageCount()) in FPDF_LoadPage()
1295 int count = pDoc->GetPageCount(); in FPDF_GetPageSizeByIndex()
Dfpdfview_embeddertest.cpp48 EXPECT_EQ(1, GetPageCount()); in TEST_F()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_layoutprocessor.cpp118 return m_pLayoutPageMgr ? m_pLayoutPageMgr->GetPageCount() : 0; in CountPages()
Dcxfa_layoutpagemgr.h34 int32_t GetPageCount() const;
/external/pdfium/testing/
Dembedder_test.h106 int GetPageCount();
Dembedder_test.cpp243 int EmbedderTest::GetPageCount() { in GetPageCount() function in EmbedderTest
/external/pdfium/fxjs/
Dcjs_document.cpp194 int iPageCount = m_pFormFillEnv->GetPageCount(); in set_page_num()
842 return CJS_Return(pRuntime->NewNumber(m_pFormFillEnv->GetPageCount())); in get_num_pages()
1045 int nPageNo = m_pFormFillEnv->GetPageCount(); in getAnnots()
1241 if (nPageNo < 0 || nPageNo >= pDocument->GetPageCount()) in getPageNthWord()
1290 if (nPageNo < 0 || nPageNo >= pDocument->GetPageCount()) in getPageNumWords()
/external/stressapptest/src/
Dworker.h256 int64 GetPageCount() {return pages_copied_;} in GetPageCount() function

12