Lines Matching refs:lang_default
58 if (!cg->lang_default) in _cupsLangPrintError()
59 cg->lang_default = cupsLangDefault(); in _cupsLangPrintError()
75 _cupsLangString(cg->lang_default, _("%s: %s")), in _cupsLangPrintError()
76 _cupsLangString(cg->lang_default, message), strerror(last_errno)); in _cupsLangPrintError()
84 cg->lang_default->encoding); in _cupsLangPrintError()
119 if (!cg->lang_default) in _cupsLangPrintFilter()
120 cg->lang_default = cupsLangDefault(); in _cupsLangPrintFilter()
128 _cupsLangString(cg->lang_default, message)); in _cupsLangPrintFilter()
137 cg->lang_default->encoding); in _cupsLangPrintFilter()
175 if (!cg->lang_default) in _cupsLangPrintf()
176 cg->lang_default = cupsLangDefault(); in _cupsLangPrintf()
184 _cupsLangString(cg->lang_default, message), ap); in _cupsLangPrintf()
194 cg->lang_default->encoding); in _cupsLangPrintf()
229 if (!cg->lang_default) in _cupsLangPuts()
230 cg->lang_default = cupsLangDefault(); in _cupsLangPuts()
237 (cups_utf8_t *)_cupsLangString(cg->lang_default, in _cupsLangPuts()
239 sizeof(output) - 4, cg->lang_default->encoding); in _cupsLangPuts()
240 …t + bytes, (cups_utf8_t *)"\n", (int)(sizeof(output) - (size_t)bytes), cg->lang_default->encoding); in _cupsLangPuts()
305 if (!cg->lang_default) in _cupsSetLocale()
306 cg->lang_default = cupsLangDefault(); in _cupsSetLocale()
313 if (cg->lang_default->encoding != CUPS_US_ASCII && in _cupsSetLocale()
314 cg->lang_default->encoding != CUPS_UTF8) in _cupsSetLocale()
323 cg->lang_default->encoding) < 0) in _cupsSetLocale()