Lines Matching refs:ippFindAttribute
2096 if (job && (attr = ippFindAttribute(job, "finishings", IPP_TAG_ENUM)) != NULL) in _ppdCacheGetFinishingOptions()
2246 media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); in _ppdCacheGetInputSlot()
2248 (media_source = ippFindAttribute(ippGetCollection(media_col, 0), in _ppdCacheGetInputSlot()
2309 media_col = ippFindAttribute(job, "media-col", IPP_TAG_BEGIN_COLLECTION); in _ppdCacheGetMediaType()
2312 if ((media_type = ippFindAttribute(media_col->values[0].collection, in _ppdCacheGetMediaType()
2315 media_type = ippFindAttribute(media_col->values[0].collection, in _ppdCacheGetMediaType()
2420 if ((attr = ippFindAttribute(job, "PageSize", IPP_TAG_ZERO)) == NULL) in _ppdCacheGetPageSize()
2421 if ((attr = ippFindAttribute(job, "PageRegion", IPP_TAG_ZERO)) == NULL) in _ppdCacheGetPageSize()
2422 attr = ippFindAttribute(job, "media", IPP_TAG_ZERO); in _ppdCacheGetPageSize()
3104 if ((attr = ippFindAttribute(response, "printer-make-and-model", IPP_TAG_TEXT)) != NULL) in _ppdCreateFromIPP()
3126 …if ((attr = ippFindAttribute(response, "color-supported", IPP_TAG_BOOLEAN)) != NULL && ippGetBoole… in _ppdCreateFromIPP()
3135 if ((attr = ippFindAttribute(response, "printer-more-info", IPP_TAG_URI)) != NULL) in _ppdCreateFromIPP()
3138 if ((attr = ippFindAttribute(response, "printer-charge-info-uri", IPP_TAG_URI)) != NULL) in _ppdCreateFromIPP()
3141 if ((attr = ippFindAttribute(response, "printer-strings-uri", IPP_TAG_URI)) != NULL) in _ppdCreateFromIPP()
3163 if (ippGetBoolean(ippFindAttribute(response, "job-account-id-supported", IPP_TAG_BOOLEAN), 0)) in _ppdCreateFromIPP()
3166 …if (ippGetBoolean(ippFindAttribute(response, "job-accounting-user-id-supported", IPP_TAG_BOOLEAN),… in _ppdCreateFromIPP()
3173 if ((attr = ippFindAttribute(response, "job-password-supported", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3178 …const char *repertoire = ippGetString(ippFindAttribute(response, "job-password-repertoire-configur… in _ppdCreateFromIPP()
3208 if ((attr = ippFindAttribute(response, "document-format-supported", IPP_TAG_MIMETYPE)) != NULL) in _ppdCreateFromIPP()
3245 if ((attr = ippFindAttribute(response, "media-bottom-margin-supported", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3254 if ((attr = ippFindAttribute(response, "media-left-margin-supported", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3263 if ((attr = ippFindAttribute(response, "media-right-margin-supported", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3272 if ((attr = ippFindAttribute(response, "media-top-margin-supported", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3281 if ((defattr = ippFindAttribute(response, "media-col-default", IPP_TAG_BEGIN_COLLECTION)) != NULL) in _ppdCreateFromIPP()
3283 …if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-size", IPP_TAG_BEGIN_COLLECTION)… in _ppdCreateFromIPP()
3286 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_INTEGER); in _ppdCreateFromIPP()
3287 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_INTEGER); in _ppdCreateFromIPP()
3297 …else if ((pwg = pwgMediaForPWG(ippGetString(ippFindAttribute(response, "media-default", IPP_TAG_ZE… in _ppdCreateFromIPP()
3304 if ((attr = ippFindAttribute(response, "media-col-database", IPP_TAG_BEGIN_COLLECTION)) != NULL) in _ppdCreateFromIPP()
3312 …media_size = ippGetCollection(ippFindAttribute(media_col, "media-size", IPP_TAG_BEGIN_COLLECTION)… in _ppdCreateFromIPP()
3313 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); in _ppdCreateFromIPP()
3314 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); in _ppdCreateFromIPP()
3322 if ((margin = ippFindAttribute(media_col, "media-bottom-margin", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3327 if ((margin = ippFindAttribute(media_col, "media-left-margin", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3332 if ((margin = ippFindAttribute(media_col, "media-right-margin", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3337 if ((margin = ippFindAttribute(media_col, "media-top-margin", IPP_TAG_INTEGER)) != NULL) in _ppdCreateFromIPP()
3380 …if ((max_width == 0 || max_length == 0) && (attr = ippFindAttribute(response, "media-size-supporte… in _ppdCreateFromIPP()
3389 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); in _ppdCreateFromIPP()
3390 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); in _ppdCreateFromIPP()
3423 …else if ((attr = ippFindAttribute(response, "media-size-supported", IPP_TAG_BEGIN_COLLECTION)) != … in _ppdCreateFromIPP()
3430 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_ZERO); in _ppdCreateFromIPP()
3431 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_ZERO); in _ppdCreateFromIPP()
3481 else if ((attr = ippFindAttribute(response, "media-supported", IPP_TAG_ZERO)) != NULL) in _ppdCreateFromIPP()
3620 if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-source", IPP_TAG_ZERO)) != NULL) in _ppdCreateFromIPP()
3625 …if ((attr = ippFindAttribute(response, "media-source-supported", IPP_TAG_ZERO)) != NULL && (count … in _ppdCreateFromIPP()
3706 if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-type", IPP_TAG_ZERO)) != NULL) in _ppdCreateFromIPP()
3711 …if ((attr = ippFindAttribute(response, "media-type-supported", IPP_TAG_ZERO)) != NULL && (count = … in _ppdCreateFromIPP()
3737 if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) == NULL) in _ppdCreateFromIPP()
3738 …if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD)) == … in _ppdCreateFromIPP()
3739 … if ((attr = ippFindAttribute(response, "print-color-mode-supported", IPP_TAG_KEYWORD)) == NULL) in _ppdCreateFromIPP()
3740 attr = ippFindAttribute(response, "output-mode-supported", IPP_TAG_KEYWORD); in _ppdCreateFromIPP()
3860 …if ((attr = ippFindAttribute(response, "sides-supported", IPP_TAG_KEYWORD)) != NULL && ippContains… in _ppdCreateFromIPP()
3874 if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) != NULL) in _ppdCreateFromIPP()
3903 …else if ((attr = ippFindAttribute(response, "pwg-raster-document-sheet-back", IPP_TAG_KEYWORD)) !=… in _ppdCreateFromIPP()
3922 if ((attr = ippFindAttribute(response, "output-bin-default", IPP_TAG_ZERO)) != NULL) in _ppdCreateFromIPP()
3927 …if ((attr = ippFindAttribute(response, "output-bin-supported", IPP_TAG_ZERO)) != NULL && (count = … in _ppdCreateFromIPP()
3929 ipp_attribute_t *trays = ippFindAttribute(response, "printer-output-tray", IPP_TAG_STRING); in _ppdCreateFromIPP()
3983 if ((attr = ippFindAttribute(response, "finishings-supported", IPP_TAG_ENUM)) != NULL) in _ppdCreateFromIPP()
4351 …if ((attr = ippFindAttribute(response, "finishings-col-database", IPP_TAG_BEGIN_COLLECTION)) != NU… in _ppdCreateFromIPP()
4370 …keyword = ippGetString(ippFindAttribute(finishing_col, "finishing-template", IPP_TAG_ZERO), … in _ppdCreateFromIPP()
4428 quality = ippFindAttribute(response, "print-quality-supported", IPP_TAG_ENUM); in _ppdCreateFromIPP()
4430 if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) != NULL) in _ppdCreateFromIPP()
4482 …else if ((attr = ippFindAttribute(response, "pwg-raster-document-resolution-supported", IPP_TAG_RE… in _ppdCreateFromIPP()
4556 … if ((attr = ippFindAttribute(response, "printer-resolution-default", IPP_TAG_RESOLUTION)) != NULL) in _ppdCreateFromIPP()
4586 …if ((attr = ippFindAttribute(response, "job-presets-supported", IPP_TAG_BEGIN_COLLECTION)) != NULL) in _ppdCreateFromIPP()
4592 …const char *preset_name = ippGetString(ippFindAttribute(preset, "preset-name", IPP_TAG_ZERO), 0, N… in _ppdCreateFromIPP()
4642 …if ((keyword = ippGetString(ippFindAttribute(fin_col, "finishing-template", IPP_TAG_ZERO), 0, NULL… in _ppdCreateFromIPP()
4659 …if ((media_size = ippGetCollection(ippFindAttribute(media_col, "media-size", IPP_TAG_BEGIN_COLLECT… in _ppdCreateFromIPP()
4661 x_dim = ippFindAttribute(media_size, "x-dimension", IPP_TAG_INTEGER); in _ppdCreateFromIPP()
4662 y_dim = ippFindAttribute(media_size, "y-dimension", IPP_TAG_INTEGER); in _ppdCreateFromIPP()
4667 …if ((keyword = ippGetString(ippFindAttribute(media_col, "media-source", IPP_TAG_ZERO), 0, NULL)) !… in _ppdCreateFromIPP()
4673 …if ((keyword = ippGetString(ippFindAttribute(media_col, "media-type", IPP_TAG_ZERO), 0, NULL)) != … in _ppdCreateFromIPP()