Lines Matching defs:files
202 char **files, papi_job_t *job,
234 if ((files == NULL) || (files[0] == NULL))
237 if (files[1] != NULL) /* more than 1 file */
243 /* if we have files, validate access to them */
244 if (files != NULL) {
245 for (i = 0; files[i] != NULL; i++) {
246 if (access(files[i], R_OK) < 0) {
247 detailed_error(svc, "%s: %s", files[i],
252 if (strcmp("standard input", files[i]) != 0) {
253 if (stat(files[i], &statbuf) < 0) {
256 " %s"), files[i],
265 files[i]);
270 files = NULL;
287 if ((files != NULL) && (files[0] != NULL))
289 "job-name", files[0]);
297 files[0]);
321 for (i = 0; ((result == PAPI_OK) && (files[i] != NULL));
323 result = send_document_uri(svc, files[i],
325 printer, id, (files[i+1]?0:1),
337 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job)
340 job_ticket, files, job, _WITH_DATA));
346 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job)
349 job_ticket, files, job, _BY_REFERENCE));
355 papi_job_ticket_t *job_ticket, char **files, papi_job_t *job)
358 job_ticket, files, job, _VALIDATE));