Home
last modified time | relevance | path

Searched refs:state_reasons (Results 1 – 2 of 2) sorted by relevance

/external/libcups/backend/
Dipp.c140 static cups_array_t *state_reasons; /* Array of printe-state-reasons keywords */ variable
345 state_reasons = _cupsArrayNewStrings(getenv("PRINTER_STATE_REASONS"), ','); in main()
3512 cupsArrayCount(state_reasons)); in update_reasons()
3526 if (!cupsArrayFind(state_reasons, reason)) in update_reasons()
3537 cupsArraySave(state_reasons); in update_reasons()
3539 for (temp = (char *)cupsArrayFirst(state_reasons); in update_reasons()
3541 temp = (char *)cupsArrayNext(state_reasons)) in update_reasons()
3548 cupsArrayRemove(state_reasons, temp); in update_reasons()
3552 cupsArrayRestore(state_reasons); in update_reasons()
3555 cupsArrayAdd(state_reasons, reason); in update_reasons()
[all …]
/external/libcups/tools/
Dippeveprinter.c204 ippeve_preason_t state_reasons; /* printer-state-reasons values */ member
1645 printer->state_reasons = IPPEVE_PREASON_NONE; in create_printer()
3499 if (printer->state_reasons == IPPEVE_PREASON_NONE) in ipp_get_printer_attributes()
3512 if (printer->state_reasons & bit) in ipp_get_printer_attributes()
6213 while (job->printer->state_reasons & IPPEVE_PREASON_MEDIA_EMPTY) in process_job()
6215 job->printer->state_reasons |= IPPEVE_PREASON_MEDIA_NEEDED; in process_job()
6220 job->printer->state_reasons &= (ippeve_preason_t)~IPPEVE_PREASON_MEDIA_NEEDED; in process_job()
6668 ippeve_preason_t state_reasons, /* printer-state-reasons values */ in process_state_message() local
6699 state_reasons = job->printer->state_reasons; in process_state_message()
6705 state_reasons = job->printer->state_reasons; in process_state_message()
[all …]