Home
last modified time | relevance | path

Searched refs:IsWellNumberingSystem (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_locale_test.cpp400 * @tc.name: IsWellNumberingSystem
401 * @tc.desc: Call "IsWellNumberingSystem" function judge whether the script is well.
405 HWTEST_F_L0(JSLocaleTest, IsWellNumberingSystem) in HWTEST_F_L0()
407 EXPECT_FALSE(JSLocale::IsWellNumberingSystem("finance")); in HWTEST_F_L0()
408 EXPECT_FALSE(JSLocale::IsWellNumberingSystem("native")); in HWTEST_F_L0()
409 EXPECT_FALSE(JSLocale::IsWellNumberingSystem("traditio")); in HWTEST_F_L0()
411 EXPECT_TRUE(JSLocale::IsWellNumberingSystem("hans")); in HWTEST_F_L0()
412 EXPECT_TRUE(JSLocale::IsWellNumberingSystem("deva")); in HWTEST_F_L0()
413 EXPECT_TRUE(JSLocale::IsWellNumberingSystem("greklow")); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_number_format.cpp554 if (!JSLocale::IsWellNumberingSystem(numberingSystemStr)) { in InitializeNumberFormat()
582 if (JSLocale::IsWellNumberingSystem(numberingSystemStr)) { in InitializeNumberFormat()
H A Djs_locale.h335 static bool IsWellNumberingSystem(const std::string &value) in IsWellNumberingSystem() function in panda::ecmascript::JSIntlIterator
H A Djs_relative_time_format.cpp97 if (JSLocale::IsWellNumberingSystem(numberingSystemStdStr)) { in InitializeRelativeTimeFormat()
H A Djs_locale.cpp562 bool isValidValue = IsWellNumberingSystem(requestedValue); in ResolveLocale()

Completed in 8 milliseconds