Home
last modified time | relevance | path

Searched refs:IsWellCollation (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_locale_test.cpp421 HWTEST_F_L0(JSLocaleTest, IsWellCollation) in HWTEST_F_L0() argument
423 EXPECT_TRUE(JSLocale::IsWellCollation("ar-EG", "compat")); in HWTEST_F_L0()
425 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "stroke")); in HWTEST_F_L0()
426 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "pinyin")); in HWTEST_F_L0()
427 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "phonebk")); in HWTEST_F_L0()
428 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "search")); in HWTEST_F_L0()
429 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "standard")); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_collator.cpp186 if (!collationStr.empty() && JSLocale::IsWellCollation(icuLocale, collationStr)) { in InitializeCollator()
Djs_locale.h335 static bool IsWellCollation(const icu::Locale &locale, const std::string &value) in IsWellCollation() function
Djs_locale.cpp518 bool isValidValue = IsWellCollation(foundLocaleData, requestedValue); in ResolveLocale()