Lines Matching defs:jobs
135 int GetJobs(cups_job_t** jobs, const GURL& url,
296 // jobs for this printer and check their status. If printer has no
297 // outstanding jobs, OnJobChanged() will do nothing.
624 cups_job_t* jobs = NULL;
625 int num_jobs = GetJobs(&jobs, server_info->url, cups_encryption_,
629 VLOG(1) << "CP_CUPS: Error getting jobs from CUPS server"
647 if (jobs[i].id == job_id) {
649 switch (jobs[i].state) {
666 job_details->platform_status_flags = jobs[i].state;
683 cupsFreeJobs(num_jobs, jobs);
757 int PrintSystemCUPS::GetJobs(cups_job_t** jobs, const GURL& url,
761 return cupsGetJobs(jobs, name, myjobs, whichjobs);
765 return cupsGetJobs2(http.http(), jobs, name, myjobs, whichjobs);