Home
last modified time | relevance | path

Searched refs:locales (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test.cpp142 vector<string> locales; variable
240 vector<string> locales; variable
273 vector<string> locales; variable
304 vector<string> locales; variable
339 vector<string> locales; variable
370 vector<string> locales; variable
398 vector<string> locales; variable
438 vector<string> locales; variable
518 locales.clear();
1124 locales.clear();
[all …]
H A Dintl_number_format_test.cpp44 vector<string> locales{locale}; variable
56 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options);
74 vector<string> locales{locale}; variable
86 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options);
104 vector<string> locales{locale}; variable
116 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options);
134 vector<string> locales{locale}; variable
146 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options);
164 vector<string> locales{locale}; variable
176 std::unique_ptr<NumberFormat> numFmt = std::make_unique<NumberFormat>(locales, options);
[all …]
H A Dintl_test_extent.cpp496 vector<string> locales; variable
497 locales.push_back(locale);
608 vector<string> locales; variable
609 locales.push_back("en-GB");
650 vector<string> locales; variable
682 vector<string> locales; variable
731 vector<string> locales; variable
783 vector<string> locales; variable
830 locales.push_back(locale);
860 locales.push_back(locale);
[all …]
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/
H A Ddata_resource.cpp186 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()
198 GetFallbackAndDefaultLocaleIndex(fallbackLocaleIndex, defaultLocaleIndex, locales); in PrepareData()
209 locales); in PrepareData()
210 I18nFree(static_cast<void *>(locales)); in PrepareData()
234 char *locales) in GetFallbackAndDefaultLocaleIndex() argument
245 uint32_t &fallbackConfigOffset, uint32_t &defaultConfigOffset, char* locales) in GetFallbackAndDefaultInfo() argument
443 int32_t DataResource::BinarySearchLocale(const uint32_t mask, unsigned char *locales) in BinarySearchLocale() argument
[all …]
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-l10n.md4locales have different cultural backgrounds and speak different languages. Therefore, if your appl…
7 …its of measurement, phone numbers, calendars, and languages of different locales, while the time z…
10locales and hard code commas as the number group separators in the application code. Another examp…
13 …resources to meet users' language and cultural requirements in dedicated locales. It fulfills the …
H A Di18n-user-preferences.md5locales and application preferred languages, the system supports setting of user preferences. Curr…
H A Di18n-calendar.md5locales use different calendars. To be specific, the Gregorian calendar is used in most locales, w…
H A Dl10n-multilingual-resources.md6 … application properly loads the content specific to different countries, locales, and languages, y…
H A Di18n-numbers-weights-measures.md19 …If you pass in a list of locales, the first valid locale will be used. If you do not pass in any l…
H A Di18n-time-date.md172 The following uses the relative time **one day ago** and locales **fr-FR** and **en-GB** as an exam…
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DLocaleList.java43 public LocaleList(int startOffset, HashMap<String, Integer> locales, Map<Integer, in LocaleList() argument
46 this.size = locales.size(); in LocaleList()
48 for (Map.Entry<String, Integer> next : locales.entrySet()) { in LocaleList()
H A DDataFetcher.java257 ArrayList<String> locales = new ArrayList<>(LOCALES.keySet()); in writeLocales() local
258 locales.sort(new Comparator<String>() { in writeLocales()
264 for (String locale : locales) { in writeLocales()
268 jsonObject.put("locales", locales); in writeLocales()
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/
H A Ddata_resource.h110 int32_t BinarySearchLocale(const uint32_t mask, unsigned char *locales);
120 char *locales);
122 uint32_t &fallbackConfigOffset, uint32_t &defaultConfigOffset, char *locales);
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dglobal.c209 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()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-framework-localization.md3 …rsions in different languages, and your users can switch between various locales. This also facili…
34 - Use the **$t** function to reference to resources of different locales. The **$t** function is av…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/
H A Djs-service-widget-multiple-languages.md4 …rsions in different languages, and your users can switch between various locales. This also facili…
59 …Use the **$t** function to reference to resources of different locales. The **$t** function is ava…
H A Djs-service-widget-basic-clock.md22 …bers generated by the **\<clock>** component support multiple number formats in different locales.|
/ohos5.0/base/global/i18n/
H A DREADME.md34 …he system settings to adapt to the cultural habits of users in different locales. For details, see…
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-pkg-install-package.md13 …tinfo5 libncurses5-dev libncursesw5 libstdc++6 gcc-arm-none-eabi vim ssh locales libxinerama-dev l…
/ohos5.0/docs/en/application-dev/ui/
H A Djs-framework-multiple-languages.md3 …rsions in different languages, and your users can switch between various locales. This also facili…
94 Use the **$t** function to reference to resources of different locales. The **$t** function is avai…
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dnumber_format.cpp146 std::vector<std::string> locales = { locale }; in CreateRelativeTimeFormat() local
147 relativeTimeFormat = std::make_unique<RelativeTimeFormat>(locales, in CreateRelativeTimeFormat()
H A Dlocale_config.cpp492 const unordered_set<string> &locales = GetSupportedLocales(); in GetRelatedLocales() local
493 for (string locale : locales) { in GetRelatedLocales()
/ohos5.0/docs/zh-cn/device-dev/quick-start/
H A Dquickstart-pkg-install-package.md13 …sudo apt-get install vim; sudo apt-get install ssh; sudo apt-get install locales; sudo apt-get ins…
/ohos5.0/docs/docker/
H A DDockerfile23 && apt-get install -y vim ssh locales \
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-build-all.md80 …nfo5 libncurses5 libncurses5-dev libncursesw5 libstdc++6 gcc-arm-none-eabi vim ssh locales doxygen

12