Home
last modified time | relevance | path

Searched refs:CheckLocales (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/intl/
H A Dlocale_helper.h166 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 Dlocale_helper.cpp462 if (!CheckLocales(locale, localeKey, localePath, res)) { in GetAvailableLocales()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_locale_test.cpp317 * @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 Djs_locale.h452 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