Searched refs:num_reasons (Results 1 – 7 of 7) sorted by relevance
144 for (i = 0; i < p->num_reasons; i ++) in cupsdSetBusyState()148 if (!p->num_reasons || i >= p->num_reasons) in cupsdSetBusyState()840 for (i = 0; i < p->num_reasons; i ++) in sysUpdate()845 if (!p->num_reasons || i >= p->num_reasons) in sysUpdate()900 for (i = 0; i < p->num_reasons; i ++) in sysUpdate()905 if (!p->num_reasons || i >= p->num_reasons) in sysUpdate()
444 for (i = 0 ; i < p->num_reasons; i ++) in cupsdLoadAllClasses()448 if (i >= p->num_reasons && in cupsdLoadAllClasses()449 p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) in cupsdLoadAllClasses()451 p->reasons[p->num_reasons] = _cupsStrAlloc("paused"); in cupsdLoadAllClasses()452 p->num_reasons ++; in cupsdLoadAllClasses()
819 for (i = 0; i < p->num_reasons; i ++) in cupsdDeletePrinter()1142 for (i = 0 ; i < p->num_reasons; i ++) in cupsdLoadAllPrinters()1146 if (i >= p->num_reasons && in cupsdLoadAllPrinters()1147 p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) in cupsdLoadAllPrinters()1149 p->reasons[p->num_reasons] = _cupsStrAlloc(value); in cupsdLoadAllPrinters()1150 p->num_reasons ++; in cupsdLoadAllPrinters()1169 for (i = 0 ; i < p->num_reasons; i ++) in cupsdLoadAllPrinters()1173 if (i >= p->num_reasons && in cupsdLoadAllPrinters()1174 p->num_reasons < (int)(sizeof(p->reasons) / sizeof(p->reasons[0]))) in cupsdLoadAllPrinters()1176 p->reasons[p->num_reasons] = _cupsStrAlloc("paused"); in cupsdLoadAllPrinters()[all …]
989 if (job->printer->num_reasons > 0) in cupsdContinueJob()994 for (psrlen = 22, i = 0; i < job->printer->num_reasons; i ++) in cupsdContinueJob()1005 i < job->printer->num_reasons; in cupsdContinueJob()3030 if (printer->num_reasons == 0) in dump_job_history()3035 i < printer->num_reasons && ptr < (temp + sizeof(temp) - 2); in dump_job_history()5202 for (i = 0; i < job->printer->num_reasons; i ++) in update_job()5206 if (i >= job->printer->num_reasons) in update_job()5479 int num_reasons; /* Actual number of reasons */ in update_job_attrs() local5527 if (job->printer->num_reasons == 0) in update_job_attrs()5529 num_reasons = 1; in update_job_attrs()[all …]
79 int num_reasons; /* Number of printer-state-reasons */ member
173 if (dest->num_reasons == 0) in cupsdAddEvent()176 …AG_EVENT_NOTIFICATION, IPP_TAG_KEYWORD, "printer-state-reasons", dest->num_reasons, NULL, (const c… in cupsdAddEvent()
2584 for (i = 0; i < printer->num_reasons; i ++) in add_printer()2587 printer->num_reasons = 0; in add_printer()2593 printer->reasons[printer->num_reasons] = _cupsStrAlloc(attr->values[i].string.text); in add_printer()2594 printer->num_reasons ++; in add_printer()2860 if (p->num_reasons == 0) in add_printer_state_reasons()2865 "printer-state-reasons", p->num_reasons, NULL, in add_printer_state_reasons()