Searched refs:locales (Results 1 – 9 of 9) sorted by relevance
/base/global/i18n/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 79 vector<string> locales; variable 80 locales.push_back("jessie"); 81 locales.push_back(locale); 90 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 177 vector<string> locales; variable 178 locales.push_back(locale); 183 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 206 vector<string> locales; variable 207 locales.push_back(locale); 212 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); [all …]
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | data_resource.cpp | 186 char *locales = reinterpret_cast<char *>(I18nMalloc(localeSize)); in PrepareData() local 187 if (locales == nullptr) { in PrepareData() 190 int32_t readSize = read(infile, locales, localeSize); in PrepareData() 192 I18nFree(static_cast<void *>(locales)); in PrepareData() 195 int32_t localeIndex = BinarySearchLocale(localeMask, reinterpret_cast<unsigned char*>(locales)); in PrepareData() 198 GetFallbackAndDefaultLocaleIndex(fallbackLocaleIndex, defaultLocaleIndex, locales); in PrepareData() 201 …configOffset = ConvertUChar(reinterpret_cast<unsigned char*>(locales + GLOBAL_LOCALE_MASK_ITEM_SIZ… in PrepareData() 203 …resourceCount = ConvertUChar(reinterpret_cast<unsigned char*>(locales + GLOBAL_LOCALE_MASK_ITEM_SI… in PrepareData() 209 locales); in PrepareData() 210 I18nFree(static_cast<void *>(locales)); in PrepareData() [all …]
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
D | LocaleList.java | 38 public LocaleList(int startOffset, HashMap<String, Integer> locales, Map<Integer, in LocaleList() argument 41 this.size = locales.size(); in LocaleList() 43 for (Map.Entry<String, Integer> next : locales.entrySet()) { in LocaleList()
|
D | DataFetcher.java | 256 ArrayList<String> locales = new ArrayList<>(LOCALES.keySet()); in writeLocales() local 257 locales.sort(new Comparator<String>() { in writeLocales() 263 for (String locale : locales) { in writeLocales() 267 jsonObject.put("locales", locales); in writeLocales()
|
/base/global/i18n_lite/frameworks/i18n/include/ |
D | data_resource.h | 110 int32_t BinarySearchLocale(const uint32_t mask, unsigned char *locales); 120 char *locales); 122 uint32_t &fallbackConfigOffset, uint32_t &defaultConfigOffset, char *locales);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | global.c | 209 char *locales[] = {tempLocale, ""}; in GLOBAL_GetValueById() local 211 if (GLOBAL_GetValueByIdInternal(id, path, locales[i], value) == MC_SUCCESS) { in GLOBAL_GetValueById() 280 char *locales[] = {tempLocale, ""}; in GLOBAL_GetValueByName() local 282 if (GLOBAL_GetValueByNameInternal(name, path, locales[i], value) == MC_SUCCESS) { in GLOBAL_GetValueByName()
|
/base/global/i18n/ |
D | README.md | 34 …he system settings to adapt to the cultural habits of users in different locales. For details, see…
|
/base/global/i18n/frameworks/intl/src/ |
D | locale_config.cpp | 549 const unordered_set<string> &locales = GetSupportedLocales(); in GetRelatedLocales() local 550 for (string locale : locales) { in GetRelatedLocales()
|
/base/global/i18n_lite/ |
D | README.md | 40 …he system settings to adapt to the cultural habits of users in different locales. For details, see… 57 …he system settings to adapt to the cultural habits of users in different locales. For details, see…
|