Home
last modified time | relevance | path

Searched refs:printer_reasons (Results 1 – 3 of 3) sorted by relevance

/external/libcups/notifier/
Ddbus.c217 char *printer_reasons = NULL; in main() local
434 printer_reasons = malloc(reasons_length); in main()
435 if (!printer_reasons) in main()
437 p = printer_reasons; in main()
443 strlcpy(p, ippGetString(attr, i, NULL), reasons_length - (size_t)(p - printer_reasons)); in main()
446 if (!dbus_message_iter_append_string(&iter, &printer_reasons)) in main()
558 if (printer_reasons) in main()
559 free(printer_reasons); in main()
/external/libcups/scheduler/
Djob.h58 *printer_reasons; member
Djob.c5057 job->printer_reasons = NULL; in unload_job()
5498 if (!job->printer_reasons) in update_job_attrs()
5499 job->printer_reasons = ippFindAttribute(job->attrs, in update_job_attrs()
5538 if (!job->printer_reasons || job->printer_reasons->num_values != num_reasons) in update_job_attrs()
5544 ippDeleteAttribute(job->attrs, job->printer_reasons); in update_job_attrs()
5546 job->printer_reasons = ippAddStrings(job->attrs, in update_job_attrs()
5558 if (strcmp(job->printer_reasons->values[i].string.text, reasons[i])) in update_job_attrs()
5569 _cupsStrFree(job->printer_reasons->values[i].string.text); in update_job_attrs()
5577 job->printer_reasons->values[i].string.text = _cupsStrAlloc(reasons[i]); in update_job_attrs()