Searched refs:IsWellCollation (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_locale_test.cpp | 383 * @tc.name: IsWellCollation 384 * @tc.desc: Call "IsWellCollation" function judge whether the collation is well from locale. 388 HWTEST_F_L0(JSLocaleTest, IsWellCollation) in HWTEST_F_L0() 390 EXPECT_TRUE(JSLocale::IsWellCollation("ar-EG", "compat")); in HWTEST_F_L0() 392 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "stroke")); in HWTEST_F_L0() 393 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "pinyin")); in HWTEST_F_L0() 394 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "phonebk")); in HWTEST_F_L0() 395 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "search")); in HWTEST_F_L0() 396 EXPECT_FALSE(JSLocale::IsWellCollation("ar-EG", "standard")); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_collator.cpp | 210 if (!collationStr.empty() && JSLocale::IsWellCollation(icuLocale, collationStr)) { in InitializeCollator()
|
H A D | js_locale.h | 348 static bool IsWellCollation(const icu::Locale &locale, const std::string &value) in IsWellCollation() function in panda::ecmascript::JSIntlIterator
|
H A D | js_locale.cpp | 545 bool isValidValue = IsWellCollation(foundLocaleData, requestedValue); in ResolveLocale()
|
Completed in 6 milliseconds