• Home
  • Raw
  • Download

Lines Matching refs:attrval

85   _ipp_value_t		*attrval;	/* Current attribute value */  in cupsCheckDestSupported()  local
143 for (i = attr->num_values, attrval = attr->values; in cupsCheckDestSupported()
145 i --, attrval ++) in cupsCheckDestSupported()
147 if (!strncmp(attrval->string.text, "custom_min_", 11) && in cupsCheckDestSupported()
148 (pwg = pwgMediaForPWG(attrval->string.text)) != NULL) in cupsCheckDestSupported()
153 else if (!strncmp(attrval->string.text, "custom_max_", 11) && in cupsCheckDestSupported()
154 (pwg = pwgMediaForPWG(attrval->string.text)) != NULL) in cupsCheckDestSupported()
216 for (i = attr->num_values, attrval = attr->values; in cupsCheckDestSupported()
218 i --, attrval ++) in cupsCheckDestSupported()
220 if (attrval->resolution.xres == xres_value && in cupsCheckDestSupported()
221 attrval->resolution.yres == yres_value && in cupsCheckDestSupported()
222 attrval->resolution.units == units_value) in cupsCheckDestSupported()
2098 _ipp_value_t *attrval; /* Current attribute value */ in cups_test_constraints() local
2148 for (i = attr->num_values, attrval = attr->values; in cups_test_constraints()
2150 i --, attrval ++) in cups_test_constraints()
2152 if (attrval->integer == int_value) in cups_test_constraints()
2163 for (i = attr->num_values, attrval = attr->values; in cups_test_constraints()
2165 i --, attrval ++) in cups_test_constraints()
2167 if (attrval->boolean == int_value) in cups_test_constraints()
2178 for (i = attr->num_values, attrval = attr->values; in cups_test_constraints()
2180 i --, attrval ++) in cups_test_constraints()
2182 if (int_value >= attrval->range.lower && in cups_test_constraints()
2183 int_value <= attrval->range.upper) in cups_test_constraints()
2207 for (i = attr->num_values, attrval = attr->values; in cups_test_constraints()
2209 i --, attrval ++) in cups_test_constraints()
2211 if (attrval->resolution.xres == xres_value && in cups_test_constraints()
2212 attrval->resolution.yres == yres_value && in cups_test_constraints()
2213 attrval->resolution.units == units_value) in cups_test_constraints()
2231 for (i = attr->num_values, attrval = attr->values; in cups_test_constraints()
2233 i --, attrval ++) in cups_test_constraints()
2235 if (!strcmp(attrval->string.text, value)) in cups_test_constraints()