Lines Matching refs:filename
171 char filename[MAX_PATHNAME_LENGTH + 1]; member
255 char filename[MAX_PATHNAME_LENGTH + 1]; in _stream_dbg_start_job() local
256 snprintf(filename, MAX_PATHNAME_LENGTH, "%s/jobstream.%s", jq->debug_path, ext); in _stream_dbg_start_job()
257 filename[MAX_PATHNAME_LENGTH] = 0; in _stream_dbg_start_job()
258 jq->job_debug_fd = open(filename, O_CREAT | O_TRUNC | O_WRONLY, 0600); in _stream_dbg_start_job()
310 char filename[MAX_PATHNAME_LENGTH + 1]; in _stream_dbg_start_page() member
313 snprintf(buff.filename, MAX_PATHNAME_LENGTH, "%s/page%4.4d.ppm", jq->debug_path, in _stream_dbg_start_page()
315 buff.filename[MAX_PATHNAME_LENGTH] = 0; in _stream_dbg_start_page()
316 jq->page_debug_fd = open(buff.filename, O_CREAT | O_TRUNC | O_WRONLY, 0600); in _stream_dbg_start_page()
1028 if (strlen(page.filename) > 0) { in _job_thread()
1058 page.filename); in _job_thread()
1064 page.filename); in _job_thread()
1115 page.page_num, page.filename); in _job_thread()
2032 status_t wprintPage(wJob_t job_handle, int page_num, const char *filename, bool last_page, in wprintPage() argument
2044 if (!filename) { in wprintPage()
2045 filename = ""; in wprintPage()
2047 } else if (OK == stat(filename, &stat_buf)) { in wprintPage()
2058 if (jq && jq->is_dir && !(jq->last_page_seen) && (((strlen(filename) < MAX_PATHNAME_LENGTH)) || in wprintPage()
2059 (jq && (strcmp(filename, "") == 0) && last_page))) { in wprintPage()
2070 if ((strlen(filename) == 0) || strchr(filename, '/')) { in wprintPage()
2072 strncpy(page.filename, filename, MAX_PATHNAME_LENGTH); in wprintPage()
2075 snprintf(page.filename, MAX_PATHNAME_LENGTH, "%s/%s", jq->pathname, filename); in wprintPage()
2086 LOGD("wprintPage(%ld, %d, %s, %d)", job_handle, page_num, filename, last_page); in wprintPage()
2087 if (!(last_page && (strcmp(filename, "") == 0))) { in wprintPage()
2091 LOGE("wprintPage(%ld, %d, %s, %d)", job_handle, page_num, filename, last_page); in wprintPage()