Lines Matching refs:state_reasons
140 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()
3573 if (cupsArrayFind(state_reasons, reason)) in update_reasons()
3579 cupsArrayRemove(state_reasons, reason); in update_reasons()
3589 for (reason = (char *)cupsArrayFirst(state_reasons); in update_reasons()
3591 reason = (char *)cupsArrayNext(state_reasons)) in update_reasons()
3599 cupsArrayRemove(state_reasons, reason); in update_reasons()
3607 if (!cupsArrayFind(state_reasons, reason)) in update_reasons()
3609 cupsArrayAdd(state_reasons, reason); in update_reasons()