Lines Matching refs:attributes
46 if (tmp->attributes != NULL) in papiPrinterFree()
47 papiAttributeListFree(tmp->attributes); in papiPrinterFree()
125 papiAttributeListGetString(p->attributes, NULL, in printer_from_service()
127 papiAttributeListGetString(p->attributes, NULL, "printer-name", &uri); in printer_from_service()
128 papiAttributeListGetString(p->attributes, NULL, "printer-uri-supported", in printer_from_service()
141 papi_attribute_t **attributes; in printer_from_service() local
143 attributes = papiPrinterGetAttributeList(printer); in printer_from_service()
144 copy_attributes(&p->attributes, attributes); in printer_from_service()
187 p->attributes = attrs; in printers_from_name_service()
200 if (contained(requested_attrs, p->attributes) == 0) in printers_from_name_service()
257 p->attributes = getprinterbyname(name, NULL); in papiPrinterQuery()
258 if (p->attributes == NULL) in papiPrinterQuery()
339 papi_attribute_t **attributes, papi_printer_t *printer, in _papi_printer_add_or_modify() argument
347 if ((svc == NULL) || (name == NULL) || (attributes == NULL)) in _papi_printer_add_or_modify()
359 result = f(svc->svc_handle, svc->name, attributes, in _papi_printer_add_or_modify()
367 papi_attribute_t **attributes, papi_printer_t *printer) in papiPrinterAdd() argument
369 return (_papi_printer_add_or_modify(handle, name, attributes, printer, in papiPrinterAdd()
375 papi_attribute_t **attributes, papi_printer_t *printer) in papiPrinterModify() argument
377 return (_papi_printer_add_or_modify(handle, name, attributes, printer, in papiPrinterModify()
508 result = p->attributes; in papiPrinterGetAttributeList()