Searched refs:IsWellCollation (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_locale_test.cpp | 421 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/ |
D | js_collator.cpp | 186 if (!collationStr.empty() && JSLocale::IsWellCollation(icuLocale, collationStr)) { in InitializeCollator()
|
D | js_locale.h | 335 static bool IsWellCollation(const icu::Locale &locale, const std::string &value) in IsWellCollation() function
|
D | js_locale.cpp | 518 bool isValidValue = IsWellCollation(foundLocaleData, requestedValue); in ResolveLocale()
|