Lines Matching refs:attrptr
176 ipp_attribute_t *attrptr; // Attribute pointer in _fill_job() local
405 for (attrptr = ippFirstAttribute(request); attrptr; attrptr = ippNextAttribute(request)) { in _fill_job()
406 print_attr(attrptr); in _fill_job()
455 ipp_attribute_t *attrptr; in _validate_job() local
456 for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute( in _validate_job()
458 print_attr(attrptr); in _validate_job()
563 ipp_attribute_t *attrptr; in _end_job() local
595 if ((attrptr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER)) == NULL) { in _end_job()
598 job_id = ippGetInteger(attrptr, 0); in _end_job()
603 for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute( in _end_job()
605 print_attr(attrptr); in _end_job()
606 if (strcmp(ippGetName(attrptr), "job-state-reasons") == 0) { in _end_job()
608 for (i = 0; i < ippGetCount(attrptr); i++) { in _end_job()
609 if (strcmp(ippGetString(attrptr, i, NULL), "job-canceled-at-device") in _end_job()