Home
last modified time | relevance | path

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

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dlocale_matcher.cpp37 bool IsContainRegion(uint64_t encodedLocale) in IsContainRegion() argument
39 return (encodedLocale & 0x000000000000FFFFLU) != 0; in IsContainRegion()
42 uint64_t ClearRegion(uint64_t encodedLocale) in ClearRegion() argument
44 return encodedLocale & 0xFFFFFFFFFFFF0000LU; in ClearRegion()
47 uint64_t AddScript(uint64_t encodedLocale, uint32_t encodedScript) in AddScript() argument
49 return (encodedLocale | ((static_cast<uint64_t>(encodedScript) & 0x00000000FFFFFFFFLU) << 16)); in AddScript()
59 uint64_t SearchParentLocale(uint64_t encodedLocale, const ResLocale *request) in SearchParentLocale() argument
61 uint64_t tempEncodedLocale = encodedLocale; in SearchParentLocale()
63 tempEncodedLocale = AddScript(encodedLocale, LocaleMatcher::HANT_ENCODE); in SearchParentLocale()
68 if (IsContainRegion(encodedLocale)) { in SearchParentLocale()
[all …]
Dres_config_impl.cpp131 uint64_t encodedLocale = Utils::EncodeLocale( in CopyLocale() local
137 if (encodedLocale != otherEncodedLocale) { in CopyLocale()
/base/global/resource_management/frameworks/resmgr/src/
Dlocale_matcher.cpp37 bool IsContainRegion(uint64_t encodedLocale) in IsContainRegion() argument
39 return (encodedLocale & 0x000000000000FFFFLU) != 0; in IsContainRegion()
42 uint64_t ClearRegion(uint64_t encodedLocale) in ClearRegion() argument
44 return encodedLocale & 0xFFFFFFFFFFFF0000LU; in ClearRegion()
47 uint64_t AddScript(uint64_t encodedLocale, uint32_t encodedScript) in AddScript() argument
49 return (encodedLocale | ((static_cast<uint64_t>(encodedScript) & 0x00000000FFFFFFFFLU) << 16)); in AddScript()
59 uint64_t SearchParentLocale(uint64_t encodedLocale, const ResLocale *request) in SearchParentLocale() argument
61 uint64_t tempEncodedLocale = encodedLocale; in SearchParentLocale()
63 tempEncodedLocale = AddScript(encodedLocale, LocaleMatcher::HANT_ENCODE); in SearchParentLocale()
68 if (IsContainRegion(encodedLocale)) { in SearchParentLocale()
[all …]
Dres_config_impl.cpp270 uint64_t encodedLocale = Utils::EncodeLocale( in CopyLocale() local
276 if (encodedLocale != otherEncodedLocale) { in CopyLocale()