Lines Matching refs:attrptr
173 ipp_attribute_t *attrptr; // Attribute pointer in _fill_job() local
398 for (attrptr = ippFirstAttribute(request); attrptr; attrptr = ippNextAttribute(request)) { in _fill_job()
399 print_attr(attrptr); in _fill_job()
448 ipp_attribute_t *attrptr; in _validate_job() local
449 for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute( in _validate_job()
451 print_attr(attrptr); in _validate_job()
558 ipp_attribute_t *attrptr; in _end_job() local
590 if ((attrptr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) == NULL) { in _end_job()
593 job_id = ippGetInteger(attrptr, 0); in _end_job()
598 for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute( in _end_job()
600 print_attr(attrptr); in _end_job()
601 if (strcmp(ippGetName(attrptr), "job-state-reasons") == 0) { in _end_job()
603 for (i = 0; i < ippGetCount(attrptr); i++) { in _end_job()
604 if (strcmp(ippGetString(attrptr, i, NULL), "job-canceled-at-device") in _end_job()