Searched refs:encodedLocale (Results 1 – 4 of 4) sorted by relevance
37 bool IsContainRegion(uint64_t encodedLocale) in IsContainRegion() argument39 return (encodedLocale & 0x000000000000FFFFLU) != 0; in IsContainRegion()42 uint64_t ClearRegion(uint64_t encodedLocale) in ClearRegion() argument44 return encodedLocale & 0xFFFFFFFFFFFF0000LU; in ClearRegion()47 uint64_t AddScript(uint64_t encodedLocale, uint32_t encodedScript) in AddScript() argument49 return (encodedLocale | ((static_cast<uint64_t>(encodedScript) & 0x00000000FFFFFFFFLU) << 16)); in AddScript()59 uint64_t SearchParentLocale(uint64_t encodedLocale, const ResLocale *request) in SearchParentLocale() argument61 uint64_t tempEncodedLocale = encodedLocale; in SearchParentLocale()63 tempEncodedLocale = AddScript(encodedLocale, LocaleMatcher::HANT_ENCODE); in SearchParentLocale()68 if (IsContainRegion(encodedLocale)) { in SearchParentLocale()[all …]
131 uint64_t encodedLocale = Utils::EncodeLocale( in CopyLocale() local137 if (encodedLocale != otherEncodedLocale) { in CopyLocale()
270 uint64_t encodedLocale = Utils::EncodeLocale( in CopyLocale() local276 if (encodedLocale != otherEncodedLocale) { in CopyLocale()