Home
last modified time | relevance | path

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

/base/global/i18n/frameworks/intl/src/
Dlocale_compare.cpp139 icu::Locale locale2 = icu::Locale::forLanguageTag(icu::StringPiece(localeTag2), status2); in Compare() local
149 std::string language2 = locale2.getLanguage(); in Compare()
156 const char* baseName2 = locale2.getBaseName(); in Compare()
161 std::string region2 = locale2.getCountry(); in Compare()
163 locale2.addLikelySubtags(status); in Compare()
169 std::string script2 = locale2.getScript(); in Compare()
/base/global/i18n_lite/frameworks/i18n/test/unittest/lite/common/
Di18n_test.cpp89 LocaleInfo locale2(locale);
90 const char *language = locale2.GetLanguage();
91 const char *region = locale2.GetRegion();
110 LocaleInfo locale2("zh", "CN"); variable
111 EXPECT_TRUE(locale == locale2);
183 LocaleInfo locale2("en", "US"); variable
184 EXPECT_TRUE(locale2.IsDefaultLocale());
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DDataFetcher.java214 private static int localeCompare(String locale1, String locale2) { in localeCompare() argument
229 String[] locale2Parts = locale2.split("-"); in localeCompare()