Home
last modified time | relevance | path

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

/base/global/i18n_lite/frameworks/i18n/src/
Ddata_resource.cpp197 int32_t defaultLocaleIndex = -1; in PrepareData() local
198 GetFallbackAndDefaultLocaleIndex(fallbackLocaleIndex, defaultLocaleIndex, locales); in PrepareData()
208 …GetFallbackAndDefaultInfo(fallbackLocaleIndex, defaultLocaleIndex, fallbackConfigOffset, defaultCo… in PrepareData()
219 if (IsTypeNeeded(defaultLocaleIndex, defaultResourceCount)) { in PrepareData()
233 …source::GetFallbackAndDefaultLocaleIndex(int32_t &fallbackLocaleIndex, int32_t &defaultLocaleIndex, in GetFallbackAndDefaultLocaleIndex() argument
240defaultLocaleIndex = BinarySearchLocale(defaultMask, reinterpret_cast<unsigned char*>(locales)); in GetFallbackAndDefaultLocaleIndex()
244 …e::GetFallbackAndDefaultInfo(const int32_t &fallbackLocaleIndex, const int32_t &defaultLocaleIndex, in GetFallbackAndDefaultInfo() argument
253 if (defaultLocaleIndex != -1) { in GetFallbackAndDefaultInfo()
255 defaultLocaleIndex + GLOBAL_RESOURCE_MASK_OFFSET)); in GetFallbackAndDefaultInfo()
257 defaultLocaleIndex + GLOBAL_RESOURCE_MASK_OFFSET + GLOBAL_RESOURCE_INDEX_OFFSET)); in GetFallbackAndDefaultInfo()
/base/global/i18n_lite/frameworks/i18n/include/
Ddata_resource.h119 void GetFallbackAndDefaultLocaleIndex(int32_t &fallbackLocaleIndex, int32_t &defaultLocaleIndex,
121 …id GetFallbackAndDefaultInfo(const int32_t &fallbackLocaleIndex, const int32_t &defaultLocaleIndex,