Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c187 static bool _order_pdf_pages(int num_pages, int *pages_ary, int *num_index, in _order_pdf_pages() argument
249 *(pages_ary + count) = num_begin++; in _order_pdf_pages()
261 *(pages_ary + count) = num_begin--; in _order_pdf_pages()
284 static void _get_pdf_page_range(JNIEnv *env, jobject javaJobParams, int *pages_ary, int num_pages, in _get_pdf_page_range() argument
321 memset(pages_ary, 0, MAX_NUM_PAGES); in _get_pdf_page_range()
324 if (!_order_pdf_pages(num_pages, pages_ary, num_index, page_range_split)) { in _get_pdf_page_range()
327 _order_pdf_pages(num_pages, pages_ary, num_index, page_range_str); in _get_pdf_page_range()
344 duplex_t duplex, char *pathname, int num_index, int *pages_ary) { in _print_pdf_pages() argument
357 LOGD("_print_pdf_pages(), PRINTING PDF: %d", *(pages_ary + page_index)); in _print_pdf_pages()
358 result = wprintPage(job_handle, *(pages_ary + page_index++), pathname, false, true, in _print_pdf_pages()
[all …]