Searched refs:page_count (Results 1 – 1 of 1) sorted by relevance
164 static bool _get_pdf_page_count(const char *mime_type, int *page_count, const char *pathname) { in _get_pdf_page_count() argument165 *page_count = 0; in _get_pdf_page_count()172 *page_count = pdf_render_ifc->openDocument(pdf_render_ifc, pathname); in _get_pdf_page_count()175 LOGI("pdf page count for %s: %d", pathname, *page_count); in _get_pdf_page_count()176 if (*page_count < 0) { in _get_pdf_page_count()178 *page_count = 0; in _get_pdf_page_count()1328 int page_count = 0; in Java_com_android_bips_ipp_Backend_nativeStartJob() local1329 if (_get_pdf_page_count(mimeTypeStr, &page_count, pageStr)) { in Java_com_android_bips_ipp_Backend_nativeStartJob()1330 pdf_pages_ary[pageIndex] = page_count; in Java_com_android_bips_ipp_Backend_nativeStartJob()