Lines Matching refs:attr
288 ipp_attribute_t *attr; in _cancel() local
325 attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER); in _cancel()
326 if (attr != NULL) { in _cancel()
327 job_id = ippGetInteger(attr, 0); in _cancel()
333 attr = ippFindAttribute(response, "job-state", IPP_TAG_ENUM); in _cancel()
334 if (attr != NULL) { in _cancel()
335 ipp_jstate_t jobState = (ipp_jstate_t)ippGetInteger(attr, 0); in _cancel()
339 attr = ippFindAttribute(response, "job-state-reasons", IPP_TAG_KEYWORD); in _cancel()
340 if (attr != NULL) { in _cancel()
342 for (idx = 0; idx < ippGetCount(attr); idx++) { in _cancel()
344 ippGetString(attr, idx, NULL)); in _cancel()
381 attr = ippFindAttribute(response, "job-state-reasons", IPP_TAG_KEYWORD); in _cancel()
382 if (attr != NULL) { in _cancel()
384 for (idx = 0; ippGetCount(attr); idx++) { in _cancel()
385 LOGD("job-state-reason (%d): %s", idx, ippGetString(attr, idx, NULL)); in _cancel()