Lines Matching refs:job_ids
3136 ipp_attribute_t *job_ids; /* job-ids attribute */ in cancel_all_jobs() local
3198 job_ids = ippFindAttribute(con->request, "job-ids", IPP_TAG_INTEGER); in cancel_all_jobs()
3244 if (job_ids) in cancel_all_jobs()
3246 for (i = 0; i < job_ids->num_values; i ++) in cancel_all_jobs()
3248 if ((job = cupsdFindJob(job_ids->values[i].integer)) == NULL) in cancel_all_jobs()
3256 if (i < job_ids->num_values) in cancel_all_jobs()
3259 job_ids->values[i].integer); in cancel_all_jobs()
3263 for (i = 0; i < job_ids->num_values; i ++) in cancel_all_jobs()
3265 job = cupsdFindJob(job_ids->values[i].integer); in cancel_all_jobs()
3302 if (job_ids) in cancel_all_jobs()
3304 for (i = 0; i < job_ids->num_values; i ++) in cancel_all_jobs()
3306 if ((job = cupsdFindJob(job_ids->values[i].integer)) == NULL || in cancel_all_jobs()
3315 if (i < job_ids->num_values) in cancel_all_jobs()
3318 job_ids->values[i].integer); in cancel_all_jobs()
3322 for (i = 0; i < job_ids->num_values; i ++) in cancel_all_jobs()
3324 job = cupsdFindJob(job_ids->values[i].integer); in cancel_all_jobs()
6482 ipp_attribute_t *job_ids; /* job-ids attribute */ in get_jobs() local
6562 job_ids = ippFindAttribute(con->request, "job-ids", IPP_TAG_INTEGER); in get_jobs()
6569 IPP_TAG_KEYWORD)) != NULL && job_ids) in get_jobs()
6649 if (job_ids) in get_jobs()
6662 if (job_ids) in get_jobs()
6674 if (job_ids) in get_jobs()
6689 if ((attr = ippFindAttribute(con->request, "my-jobs", IPP_TAG_BOOLEAN)) != NULL && job_ids) in get_jobs()
6743 if (job_ids) in get_jobs()
6747 for (i = 0; i < job_ids->num_values; i ++) in get_jobs()
6749 if (!cupsdFindJob(job_ids->values[i].integer)) in get_jobs()
6753 if (i < job_ids->num_values) in get_jobs()
6756 job_ids->values[i].integer); in get_jobs()
6760 for (i = 0; i < job_ids->num_values; i ++) in get_jobs()
6762 job = cupsdFindJob(job_ids->values[i].integer); in get_jobs()