Searched refs:CheckLocales (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/intl/ |
H A D | locale_helper.h | 166 return CheckLocales(removeCountry.c_str(), key, packageName, res); in ValidateOtherTags() 170 return CheckLocales(language.c_str(), key, packageName, res); in ValidateOtherTags() 175 static bool CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res) in CheckLocales() function in panda::ecmascript::intl::LocaleHelper
|
H A D | locale_helper.cpp | 462 if (!CheckLocales(locale, localeKey, localePath, res)) { in GetAvailableLocales()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_locale_test.cpp | 317 * @tc.name: CheckLocales 318 * @tc.desc: Call "CheckLocales" function check wether language is correct from locale libraries obtained 323 HWTEST_F_L0(JSLocaleTest, CheckLocales) in HWTEST_F_L0() 328 bool result = JSLocale::CheckLocales("en", nullptr, path, res); in HWTEST_F_L0() 331 result = JSLocale::CheckLocales("e", nullptr, path, res); in HWTEST_F_L0() 334 result = JSLocale::CheckLocales("en-US", "calendar", nullptr, res); in HWTEST_F_L0() 337 result = JSLocale::CheckLocales("en-US", "NumberElements", nullptr, res); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_locale.h | 452 return CheckLocales(removeCountry.c_str(), key, packageName, res); in ValidateOtherTags() 456 return CheckLocales(language.c_str(), key, packageName, res); in ValidateOtherTags() 461 static bool CheckLocales(const icu::Locale &locale, const char *key, const char *packageName, bool &res) in CheckLocales() function in panda::ecmascript::JSIntlIterator 618 static bool CheckLocales(const icu::Locale &locale, const char *path, const char *key);
|
Completed in 5 milliseconds