Lines Matching refs:attributes
48 if (tmp->attributes != NULL) in papiPrinterFree()
49 papiAttributeListFree(tmp->attributes); in papiPrinterFree()
127 papiAttributeListGetString(p->attributes, NULL, in printer_from_service()
129 papiAttributeListGetString(p->attributes, NULL, "printer-name", &uri); in printer_from_service()
130 papiAttributeListGetString(p->attributes, NULL, "printer-uri-supported", in printer_from_service()
143 papi_attribute_t **attributes; in printer_from_service() local
145 attributes = papiPrinterGetAttributeList(printer); in printer_from_service()
146 copy_attributes(&p->attributes, attributes); in printer_from_service()
189 p->attributes = attrs; in printers_from_name_service()
202 if (contained(requested_attrs, p->attributes) == 0) in printers_from_name_service()
259 p->attributes = getprinterbyname(name, NULL); in papiPrinterQuery()
260 if (p->attributes == NULL) in papiPrinterQuery()
341 papi_attribute_t **attributes, papi_printer_t *printer, in _papi_printer_add_or_modify() argument
349 if ((svc == NULL) || (name == NULL) || (attributes == NULL)) in _papi_printer_add_or_modify()
361 result = f(svc->svc_handle, svc->name, attributes, in _papi_printer_add_or_modify()
369 papi_attribute_t **attributes, papi_printer_t *printer) in papiPrinterAdd() argument
371 return (_papi_printer_add_or_modify(handle, name, attributes, printer, in papiPrinterAdd()
377 papi_attribute_t **attributes, papi_printer_t *printer) in papiPrinterModify() argument
379 return (_papi_printer_add_or_modify(handle, name, attributes, printer, in papiPrinterModify()
510 result = p->attributes; in papiPrinterGetAttributeList()