Home
last modified time | relevance | path

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

/external/libcups/cups/
Dlanguage.c120 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()
[all …]