Searched refs:page_range_size (Results 1 – 1 of 1) sorted by relevance
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 290 int page_range_size = (*env)->GetStringLength(env, pageRangeObject); in _get_pdf_page_range() local 293 page_range = (char *) malloc(page_range_size + 1); in _get_pdf_page_range() 294 memset(page_range, 0, page_range_size + 1); in _get_pdf_page_range() 295 strncpy(page_range, (char *) pageRange, page_range_size); in _get_pdf_page_range() 834 int page_range_size = (*env)->GetStringLength(env, pageRangeObject); in _convertJobParams_to_C() local 837 wprintJobParams->page_range = (char *) malloc(page_range_size + 1); in _convertJobParams_to_C() 838 memset(wprintJobParams->page_range, 0, page_range_size + 1); in _convertJobParams_to_C() 839 strncpy(wprintJobParams->page_range, (char *) pageRange, page_range_size); in _convertJobParams_to_C()
|