Searched refs:pathname (Results 1 – 10 of 10) sorted by relevance
71 const char *pathname) { in _print_page() argument85 if (pathname && strlen(pathname)) { in _print_page()91 fd = open(pathname, O_RDONLY); in _print_page()106 LOGI("dumped %d bytes of %s to printer", nbytes, pathname); in _print_page()113 remove(pathname); in _print_page()
277 const char *pathname) { in _print_page() argument307 if (pathname == NULL) { in _print_page()312 } else if (strlen(pathname)) { in _print_page()316 imgfile = fopen(pathname, "r"); in _print_page()318 LOGD("_print_page(): fopen succeeded on %s", pathname); in _print_page()321 wprint_image_init(image_info, pathname, job_params->page_num); in _print_page()455 job_params->page_num, pathname, in _print_page()482 LOGE("_print_page(): could not open %s", pathname); in _print_page()
45 final String pathname = getInstrumentation().getTargetContext(). in onError()49 ", screenshot will be saved to " + pathname + in onError()61 device.takeScreenshot(new File(pathname)); in onError()
137 static bool _is_pdf_doc(const char *mime_type, const char *pathname) { in _is_pdf_doc() argument138 if (mime_type == NULL || pathname == NULL) { in _is_pdf_doc()164 static bool _get_pdf_page_count(const char *mime_type, int *page_count, const char *pathname) { in _get_pdf_page_count() argument167 if (!_is_pdf_doc(mime_type, pathname)) { 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()344 duplex_t duplex, char *pathname, int num_index, int *pages_ary) { in _print_pdf_pages() argument358 result = wprintPage(job_handle, *(pages_ary + page_index++), pathname, false, true, in _print_pdf_pages()369 LOGD("_print_pdf_pages(), PRINTING PDF: %s, page: %d", pathname, in _print_pdf_pages()371 result = wprintPage(job_handle, *(pages_ary + page_index--), pathname, false, true, in _print_pdf_pages()
141 char *pathname; member444 _job_queue[index].pathname = ptr; in _get_handle()1155 jq->pathname); in _job_thread()1821 const char *mime_type, const char *pathname, wprint_status_cb_t cb_fn, in wprintStartJob() argument1841 if (OK == stat(pathname, &stat_buf)) { in wprintStartJob()1891 strncpy(jq->pathname, pathname, MAX_PATHNAME_LENGTH); in wprintStartJob()2071 snprintf(page.filename, MAX_PATHNAME_LENGTH, "%s/%s", jq->pathname, filename); in wprintPage()
266 const char *pathname);308 const char *mime_type, const char *pathname, wprint_status_cb_t cb_fn,
1254 public boolean accept(java.io.File pathname) { in getNumCpuCores() argument1256 if (java.util.regex.Pattern.matches("cpu[0-9]+", pathname.getName())) { in getNumCpuCores()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...