Lines Matching refs:apple_language_locale
120 static const _apple_language_locale_t apple_language_locale[] = variable
214 i < (int)(sizeof(apple_language_locale) / in _cupsAppleLanguage()
215 sizeof(apple_language_locale[0])); in _cupsAppleLanguage()
217 if (!strcmp(locale, apple_language_locale[i].locale)) in _cupsAppleLanguage()
219 strlcpy(language, apple_language_locale[i].language, sizeof(language)); in _cupsAppleLanguage()
289 i < (int)(sizeof(apple_language_locale) / in _cupsAppleLocale()
290 sizeof(apple_language_locale[0])); in _cupsAppleLocale()
293 size_t len = strlen(apple_language_locale[i].language); in _cupsAppleLocale()
295 if (!strcmp(locale, apple_language_locale[i].language) || in _cupsAppleLocale()
296 …(!strncmp(locale, apple_language_locale[i].language, len) && (locale[len] == '_' || locale[len] ==… in _cupsAppleLocale()
298 … DEBUG_printf(("_cupsAppleLocale: Updating locale to \"%s\".", apple_language_locale[i].locale)); in _cupsAppleLocale()
299 strlcpy(locale, apple_language_locale[i].locale, localesize); in _cupsAppleLocale()