Lines Matching defs:region
30 inline uint32_t packLocale(const char* language, const char* region) {
32 (((uint8_t) region[0]) << 8u) | ((uint8_t) region[1]);
172 // the sake of stability, we consider the locale with the lower region
178 void localeDataComputeScript(char out[4], const char* language, const char* region) {
183 uint32_t lookup_key = packLocale(language, region);
186 // We couldn't find the locale. Let's try without the region
187 if (region[0] != '\0') {
211 bool localeDataIsCloseToUsEnglish(const char* region) {
212 const uint32_t locale = packLocale(ENGLISH_CHARS, region);