Home | History | Annotate | Download | only in cups

Lines Matching full:infile

51   int		infile;			/* Input file */
58 if ((infile = open(filename, O_RDONLY | O_BINARY)) < 0)
73 infile = -1;
75 response = cupsDoIORequest(http, request, resource, infile, -1);
77 if (infile >= 0)
78 close(infile);
87 * This function sends the IPP request with the optional input file "infile" to
91 * If "infile" is a valid file descriptor, @code cupsDoIORequest@ copies
104 int infile, /* I - File to read from or -1 for none */
115 DEBUG_printf(("cupsDoIORequest(http=%p, request=%p(%s), resource=\"%s\", infile=%d, outfile=%d)", (void *)http, (void *)request, request ? ippOpString(request->request.op.operation_id) : "?", resource, infile, outfile));
145 if (infile >= 0)
147 if (fstat(infile, &fileinfo))
210 if (status == HTTP_STATUS_CONTINUE && request->state == IPP_STATE_DATA && infile >= 0)
221 lseek(infile, 0, SEEK_SET);
223 while ((bytes = read(infile, buffer, sizeof(buffer))) > 0)