Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c188 char *page_range_split) { in _order_pdf_pages() argument
200 for (range_count = 0; range_count < (int) strlen(page_range_split); range_count++) { in _order_pdf_pages()
202 if (!isspace(page_range_split[range_count])) { in _order_pdf_pages()
206 if (page_range_split[range_count] == '-') { in _order_pdf_pages()
213 num_begin_ary[num_counter++] = page_range_split[range_count]; in _order_pdf_pages()
215 num_end_ary[num_counter++] = page_range_split[range_count]; in _order_pdf_pages()
322 char *page_range_split = strtok(page_range, ","); in _get_pdf_page_range() local
323 while (page_range_split != NULL) { in _get_pdf_page_range()
324 if (!_order_pdf_pages(num_pages, pages_ary, num_index, page_range_split)) { in _get_pdf_page_range()
332 page_range_split = strtok(NULL, ","); in _get_pdf_page_range()