Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Djs_collator.cpp30 const std::map<std::string, CaseFirstOption> JSCollator::caseFirstMap = {
31 {"upper", CaseFirstOption::UPPER},
32 {"lower", CaseFirstOption::LOWER},
33 {"false", CaseFirstOption::FALSE_OPTION}
35 const std::map<CaseFirstOption, UColAttributeValue> JSCollator::uColAttributeValueMap = {
36 {CaseFirstOption::UPPER, UCOL_UPPER_FIRST},
37 {CaseFirstOption::LOWER, UCOL_LOWER_FIRST},
38 {CaseFirstOption::FALSE_OPTION, UCOL_OFF},
39 {CaseFirstOption::UNDEFINED, UCOL_OFF}
144 CaseFirstOption caseFirst = JSLocale::GetOptionOfString<CaseFirstOption>( in InitializeCollator()
[all …]
Djs_collator.h25 enum class CaseFirstOption : uint8_t { UPPER = 0x01, LOWER, FALSE_OPTION, UNDEFINED, EXCEPTION }; enum
33 static const std::map<std::string, CaseFirstOption> caseFirstMap;
35 static const std::map<CaseFirstOption, UColAttributeValue> uColAttributeValueMap;
55 NEXT_BIT_FIELD(BitField, CaseFirst, CaseFirstOption, CASE_FIRST_BITS, Usage) in FIRST_BIT_FIELD()
108 static CaseFirstOption StringToCaseFirstOption(const std::string &str);
110 static UColAttributeValue OptionToUColAttribute(CaseFirstOption caseFirstOption);
117 static void SetCaseFirstOption(icu::Collator *icuCollator, CaseFirstOption caseFirstOption);
Dobject_factory.cpp1090 JSCollator::Cast(*obj)->SetCaseFirst(CaseFirstOption::EXCEPTION); in InitializeJSObject()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_collator_test.cpp126 EXPECT_EQ(initCollator->GetCaseFirst(), CaseFirstOption::UNDEFINED); in HWTEST_F_L0()