Lines Matching refs:state_value
206 else if (job->state_value < IPP_JOB_CANCELED) in cupsdCancelJobs()
242 job->printer, job->state_value, (long)job->cancel_time, in cupsdCheckJobs()
281 if (job->state_value == IPP_JOB_HELD && in cupsdCheckJobs()
346 if (job->state_value == IPP_JOB_PENDING && !NeedReload && in cupsdCheckJobs()
445 …ate=%d, printer=%p, history_time=%d, file_time=%d", job->id, (int)job->state_value, (void *)job->p… in cupsdCleanJobs()
453 if (job->state_value >= IPP_JOB_CANCELED && !job->printer) in cupsdCleanJobs()
1488 …if ((!p || !_cups_strcasecmp(p->name, job->dest)) && job->state_value >= IPP_JOB_STOPPED && job->c… in cupsdGetCompletedJobs()
1665 if (job->state_value > IPP_JOB_STOPPED) in cupsdLoadJob()
1716 job->state_value = (ipp_jstate_t)job->state->values[0].integer; in cupsdLoadJob()
1723 …if (job->state_value >= IPP_JOB_CANCELED && (attr = ippFindAttribute(job->attrs, "time-at-complete… in cupsdLoadJob()
1789 switch (job->state_value) in cupsdLoadJob()
1835 else if (job->state_value == IPP_JOB_PENDING) in cupsdLoadJob()
1889 if (job->state_value == IPP_JOB_HELD) in cupsdLoadJob()
1900 job->state_value = IPP_JOB_PENDING; in cupsdLoadJob()
1903 else if (job->state_value == IPP_JOB_PROCESSING) in cupsdLoadJob()
1906 job->state_value = IPP_JOB_PENDING; in cupsdLoadJob()
1988 if (job->state_value < IPP_JOB_STOPPED) in cupsdLoadJob()
2090 if (job->state_value > IPP_JOB_STOPPED) in cupsdMoveJob()
2108 if (job->state_value > IPP_JOB_HELD) in cupsdMoveJob()
2142 if (job->state_value == IPP_JOB_HELD) in cupsdReleaseJob()
2167 if (job->state_value == IPP_JOB_STOPPED || job->num_files) in cupsdRestartJob()
2225 cupsFilePrintf(fp, "State %d\n", job->state_value); in cupsdSaveAllJobs()
2501 if (job->state_value >= IPP_JOB_PROCESSING) in cupsdSetJobPriority()
2546 "action=%d, message=\"%s\")", job, job->id, job->state_value, in cupsdSetJobState()
2562 oldstate = job->state_value; in cupsdSetJobState()
2577 job->state_value = newstate; in cupsdSetJobState()
2820 if (job->attrs && job->state_value >= IPP_JOB_STOPPED && !job->printer && in cupsdUnloadCompletedJobs()
2851 if (job->state_value >= IPP_JOB_CANCELED && in cupsdUpdateJobs()
3171 switch (job_state = job->state_value) in finalize_job()
3349 else if (job->state_value == IPP_JOB_PROCESSING) in finalize_job()
3571 if (set_job_state && job_state != job->state_value) in finalize_job()
3581 (job->state_value == IPP_JOB_ABORTED || in finalize_job()
3582 job->state_value == IPP_JOB_STOPPED)) in finalize_job()
4368 if (job->state_value <= IPP_JOB_STOPPED && cupsdLoadJob(job)) in load_job_cache()
4370 else if (job->state_value > IPP_JOB_STOPPED) in load_job_cache()
4388 job->state_value = (ipp_jstate_t)atoi(value); in load_job_cache()
4390 if (job->state_value < IPP_JOB_PENDING) in load_job_cache()
4391 job->state_value = IPP_JOB_PENDING; in load_job_cache()
4392 else if (job->state_value > IPP_JOB_COMPLETED) in load_job_cache()
4393 job->state_value = IPP_JOB_COMPLETED; in load_job_cache()
4656 if (job->state_value <= IPP_JOB_STOPPED) in load_request_root()
5507 if (job->state_value != IPP_JOB_PROCESSING && in update_job_attrs()