Searched refs:printer_state_reasons (Results 1 – 2 of 2) sorted by relevance
/external/libcups/cups/ |
D | testclient.c | 47 char printer_state_reasons[1024]; member 629 char printer_state_reasons[1024]; in monitor_printer() local 656 printer_state_reasons[0] = '\0'; in monitor_printer() 687 ippAttributeString(attr, printer_state_reasons, sizeof(printer_state_reasons)); in monitor_printer() 689 …if (printer_state != data->printer_state || strcmp(printer_state_reasons, data->printer_state_reas… in monitor_printer() 691 …f("PRINTER: %s (%s)\n", ippEnumString("printer-state", (int)printer_state), printer_state_reasons); in monitor_printer() 694 … strlcpy(data->printer_state_reasons, printer_state_reasons, sizeof(data->printer_state_reasons)); in monitor_printer()
|
/external/libcups/scheduler/ |
D | job.c | 543 *printer_state_reasons = NULL, in cupsdContinueJob() local 997 if ((printer_state_reasons = malloc(psrlen)) != NULL) in cupsdContinueJob() 1003 strlcpy(printer_state_reasons, "PRINTER_STATE_REASONS=", psrlen); in cupsdContinueJob() 1004 for (psrptr = printer_state_reasons + 22, i = 0; in cupsdContinueJob() 1010 strlcpy(psrptr, job->printer->reasons[i], psrlen - (size_t)(psrptr - printer_state_reasons)); in cupsdContinueJob() 1057 envp[envc ++] = printer_state_reasons ? printer_state_reasons : in cupsdContinueJob() 1311 if (printer_state_reasons) in cupsdContinueJob() 1312 free(printer_state_reasons); in cupsdContinueJob() 1346 if (printer_state_reasons) in cupsdContinueJob() 1347 free(printer_state_reasons); in cupsdContinueJob()
|