Lines Matching refs:cg
328 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsGetDefault2() local
335 if (_cupsUserDefault(cg->def_printer, sizeof(cg->def_printer))) in cupsGetDefault2()
336 return (cg->def_printer); in cupsGetDefault2()
365 strlcpy(cg->def_printer, attr->values[0].string.text, in cupsGetDefault2()
366 sizeof(cg->def_printer)); in cupsGetDefault2()
368 return (cg->def_printer); in cupsGetDefault2()
439 _cups_globals_t *cg = _cupsGlobals(); /* Pointer to library globals */ in cupsGetJobs2() local
669 if (n == 0 && cg->last_error >= IPP_STATUS_ERROR_BAD_REQUEST) in cupsGetJobs2()
790 _cups_globals_t *cg = _cupsGlobals(); /* Global data */ in cupsPrintFiles2() local
875 cancel_status = cg->last_error; in cupsPrintFiles2()
876 cancel_message = cg->last_status_message ? in cupsPrintFiles2()
877 _cupsStrRetain(cg->last_status_message) : NULL; in cupsPrintFiles2()
881 cg->last_error = cancel_status; in cupsPrintFiles2()
882 cg->last_status_message = cancel_message; in cupsPrintFiles2()