Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DLocaleData.cpp36 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()
[all …]