Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
H A Djs_collator.h25 enum class CaseFirstOption : uint8_t { UPPER = 0x01, LOWER, FALSE_OPTION, UNDEFINED, EXCEPTION }; class
34 static const std::map<std::string, CaseFirstOption> caseFirstMap;
36 static const std::map<CaseFirstOption, UColAttributeValue> uColAttributeValueMap;
41 static const std::vector<CaseFirstOption> CASE_FIRST_OPTION;
73 NEXT_BIT_FIELD(BitField, CaseFirst, CaseFirstOption, CASE_FIRST_BITS, Usage)
126 static CaseFirstOption StringToCaseFirstOption(const std::string &str);
128 static UColAttributeValue OptionToUColAttribute(CaseFirstOption caseFirstOption);
135 static void SetCaseFirstOption(icu::Collator *icuCollator, CaseFirstOption caseFirstOption);
H A Djs_collator.cpp25 const std::map<std::string, CaseFirstOption> JSCollator::caseFirstMap = {
26 {"upper", CaseFirstOption::UPPER},
27 {"lower", CaseFirstOption::LOWER},
28 {"false", CaseFirstOption::FALSE_OPTION}
30 const std::map<CaseFirstOption, UColAttributeValue> JSCollator::uColAttributeValueMap = {
31 {CaseFirstOption::UPPER, UCOL_UPPER_FIRST},
32 {CaseFirstOption::LOWER, UCOL_LOWER_FIRST},
33 {CaseFirstOption::FALSE_OPTION, UCOL_OFF},
34 {CaseFirstOption::UNDEFINED, UCOL_OFF}
41 const std::vector<CaseFirstOption> JSCollato
[all...]
H A Dobject_factory.cpp1252 JSCollator::Cast(*obj)->SetCaseFirst(CaseFirstOption::EXCEPTION); in InitializeJSObject()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_collator_stub_builder.cpp230 static_cast<int64_t>(CaseFirstOption::UPPER), static_cast<int64_t>(CaseFirstOption::LOWER),
231 static_cast<int64_t>(CaseFirstOption::FALSE_OPTION), static_cast<int64_t>(CaseFirstOption::UNDEFINED)
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_collator_test.cpp92 EXPECT_EQ(initCollator->GetCaseFirst(), CaseFirstOption::UNDEFINED); in HWTEST_F_L0()

Completed in 14 milliseconds