Lines Matching refs:packed_locale
36 inline uint32_t dropRegion(uint32_t packed_locale) { in dropRegion() argument
37 return packed_locale & 0xFFFF0000LU; in dropRegion()
40 inline bool hasRegion(uint32_t packed_locale) { in hasRegion() argument
41 return (packed_locale & 0x0000FFFFLU) != 0; in hasRegion()
48 uint32_t findParent(uint32_t packed_locale, const char* script) { in findParent() argument
49 if (hasRegion(packed_locale)) { in findParent()
53 auto lookup_result = map->find(packed_locale); in findParent()
60 return dropRegion(packed_locale); in findParent()
78 uint32_t packed_locale, const char* script, in findAncestors() argument
80 uint32_t ancestor = packed_locale; in findAncestors()
115 const uint64_t packed_locale = ( in isRepresentative() local
122 return (REPRESENTATIVE_LOCALES.count(packed_locale) != 0); in isRepresentative()