Searched refs:num_pages (Results 1 – 2 of 2) sorted by relevance
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 187 static bool _order_pdf_pages(int num_pages, int *pages_ary, int *num_index, in _order_pdf_pages() argument 240 if (num_begin <= num_pages && num_end <= num_pages) { in _order_pdf_pages() 243 if (num_end > num_pages) { in _order_pdf_pages() 244 num_end = num_pages; in _order_pdf_pages() 255 if (num_begin > num_pages) { in _order_pdf_pages() 256 num_begin = num_pages; in _order_pdf_pages() 268 "%d: first num=%d, second num=%d", num_pages, num_begin, num_end); 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 312 snprintf(page_range_str, MAX_NUM_PAGES, "1-%d", num_pages); in _get_pdf_page_range() 313 snprintf(page_range, MAX_NUM_PAGES, "1-%d", num_pages); in _get_pdf_page_range() [all …]
|
D | lib_wprint.c | 144 int num_pages; member 561 wprintPage(jq->job_handle, jq->num_pages + 1, NULL, true, false, 0, 0, 0, 0); in _job_status_callback() 1944 jq->num_pages = 0; in wprintStartJob() 1954 jq->num_pages = 1; in wprintStartJob() 2084 jq->num_pages++; in wprintPage() 2109 wprintPage(job_handle, jq->num_pages + 1, NULL, true, false, 0, 0, 0, 0); in wprintCancelJob()
|