Lines Matching refs:integer
159 int integer; in lpd_add_rfc1179_attributes() local
239 integer = 0; in lpd_add_rfc1179_attributes()
240 papiAttributeListGetInteger(attributes, NULL, "pr-indent", &integer); in lpd_add_rfc1179_attributes()
241 if (integer >= 1) { in lpd_add_rfc1179_attributes()
242 add_int_control_line(metadata, 'I', integer, LPD_RFC); in lpd_add_rfc1179_attributes()
244 "pr-indent", integer); in lpd_add_rfc1179_attributes()
248 integer = 0; in lpd_add_rfc1179_attributes()
249 papiAttributeListGetInteger(attributes, NULL, "pr-width", &integer); in lpd_add_rfc1179_attributes()
250 if (integer >= 1) { in lpd_add_rfc1179_attributes()
251 add_int_control_line(metadata, 'W', integer, LPD_RFC); in lpd_add_rfc1179_attributes()
253 "pr-width", integer); in lpd_add_rfc1179_attributes()
355 int integer; in lpd_add_svr4_attributes() local
402 integer = -1; in lpd_add_svr4_attributes()
403 papiAttributeListGetInteger(attributes, NULL, "job-priority", &integer); in lpd_add_svr4_attributes()
404 if (integer != -1) { in lpd_add_svr4_attributes()
405 integer = 40 - (integer / 2.5); in lpd_add_svr4_attributes()
406 add_int_control_line(metadata, 'q', integer, LPD_SVR4); in lpd_add_svr4_attributes()
408 "job-priority", integer); in lpd_add_svr4_attributes()