Lines Matching refs:integer
158 int integer; in lpd_add_rfc1179_attributes() local
238 integer = 0; in lpd_add_rfc1179_attributes()
239 papiAttributeListGetInteger(attributes, NULL, "pr-indent", &integer); in lpd_add_rfc1179_attributes()
240 if (integer >= 1) { in lpd_add_rfc1179_attributes()
241 add_int_control_line(metadata, 'I', integer, LPD_RFC); in lpd_add_rfc1179_attributes()
243 "pr-indent", integer); in lpd_add_rfc1179_attributes()
247 integer = 0; in lpd_add_rfc1179_attributes()
248 papiAttributeListGetInteger(attributes, NULL, "pr-width", &integer); in lpd_add_rfc1179_attributes()
249 if (integer >= 1) { in lpd_add_rfc1179_attributes()
250 add_int_control_line(metadata, 'W', integer, LPD_RFC); in lpd_add_rfc1179_attributes()
252 "pr-width", integer); in lpd_add_rfc1179_attributes()
354 int integer; in lpd_add_svr4_attributes() local
401 integer = -1; in lpd_add_svr4_attributes()
402 papiAttributeListGetInteger(attributes, NULL, "job-priority", &integer); in lpd_add_svr4_attributes()
403 if (integer != -1) { in lpd_add_svr4_attributes()
404 integer = 40 - (integer / 2.5); in lpd_add_svr4_attributes()
405 add_int_control_line(metadata, 'q', integer, LPD_SVR4); in lpd_add_svr4_attributes()
407 "job-priority", integer); in lpd_add_svr4_attributes()