• Home
  • Raw
  • Download

Lines Matching refs:media_attr

1969 			*media_attr,	/* media-xxx */  in cups_create_media_db()  local
1989 media_attr = ippFindAttribute(dinfo->ready_attrs, "media-ready", in cups_create_media_db()
2002 media_attr = ippFindAttribute(dinfo->attrs, "media-supported", in cups_create_media_db()
2016 if ((media_attr = ippFindAttribute(val->collection, "media-size", in cups_create_media_db()
2019 ipp_t *media_size = media_attr->values[0].collection; in cups_create_media_db()
2076media_attr = ippFindAttribute(val->collection, "media-color", IPP_TAG_ZERO)) != NULL && (media_att… in cups_create_media_db()
2077 mdb.color = media_attr->values[0].string.text; in cups_create_media_db()
2079 if ((media_attr = ippFindAttribute(val->collection, "media-info", IPP_TAG_TEXT)) != NULL) in cups_create_media_db()
2080 mdb.info = media_attr->values[0].string.text; in cups_create_media_db()
2082media_attr = ippFindAttribute(val->collection, "media-key", IPP_TAG_ZERO)) != NULL && (media_attr-… in cups_create_media_db()
2083 mdb.key = media_attr->values[0].string.text; in cups_create_media_db()
2085media_attr = ippFindAttribute(val->collection, "media-size-name", IPP_TAG_ZERO)) != NULL && (media… in cups_create_media_db()
2086 mdb.size_name = media_attr->values[0].string.text; in cups_create_media_db()
2088media_attr = ippFindAttribute(val->collection, "media-source", IPP_TAG_ZERO)) != NULL && (media_at… in cups_create_media_db()
2089 mdb.source = media_attr->values[0].string.text; in cups_create_media_db()
2091media_attr = ippFindAttribute(val->collection, "media-type", IPP_TAG_ZERO)) != NULL && (media_attr in cups_create_media_db()
2092 mdb.type = media_attr->values[0].string.text; in cups_create_media_db()
2094 …if ((media_attr = ippFindAttribute(val->collection, "media-bottom-margin", IPP_TAG_INTEGER)) != NU… in cups_create_media_db()
2095 mdb.bottom = media_attr->values[0].integer; in cups_create_media_db()
2097 …if ((media_attr = ippFindAttribute(val->collection, "media-left-margin", IPP_TAG_INTEGER)) != NULL) in cups_create_media_db()
2098 mdb.left = media_attr->values[0].integer; in cups_create_media_db()
2100 …if ((media_attr = ippFindAttribute(val->collection, "media-right-margin", IPP_TAG_INTEGER)) != NUL… in cups_create_media_db()
2101 mdb.right = media_attr->values[0].integer; in cups_create_media_db()
2103 … if ((media_attr = ippFindAttribute(val->collection, "media-top-margin", IPP_TAG_INTEGER)) != NULL) in cups_create_media_db()
2104 mdb.top = media_attr->values[0].integer; in cups_create_media_db()
2167 if ((media_attr = ippFindAttribute(custom->collection, in cups_create_media_db()
2172 dinfo->max_size.top = media_attr->values[0].integer; in cups_create_media_db()
2175 if ((media_attr = ippFindAttribute(custom->collection, in cups_create_media_db()
2180 dinfo->max_size.left = media_attr->values[0].integer; in cups_create_media_db()
2183 if ((media_attr = ippFindAttribute(custom->collection, in cups_create_media_db()
2188 dinfo->max_size.right = media_attr->values[0].integer; in cups_create_media_db()
2191 if ((media_attr = ippFindAttribute(custom->collection, in cups_create_media_db()
2196 dinfo->max_size.top = media_attr->values[0].integer; in cups_create_media_db()
2200 else if (media_attr && in cups_create_media_db()
2201 (media_attr->value_tag == IPP_TAG_NAME || in cups_create_media_db()
2202 media_attr->value_tag == IPP_TAG_NAMELANG || in cups_create_media_db()
2203 media_attr->value_tag == IPP_TAG_KEYWORD)) in cups_create_media_db()
2212 for (i = media_attr->num_values, val = media_attr->values; in cups_create_media_db()