Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
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()
105 static CaseFirstOption StringToCaseFirstOption(const std::string &str);
107 static UColAttributeValue OptionToUColAttribute(CaseFirstOption caseFirstOption);
114 static void SetCaseFirstOption(icu::Collator *icuCollator, CaseFirstOption caseFirstOption);
Djs_collator.cpp28 const std::map<std::string, CaseFirstOption> JSCollator::caseFirstMap = {
29 {"upper", CaseFirstOption::UPPER},
30 {"lower", CaseFirstOption::LOWER},
31 {"false", CaseFirstOption::FALSE_OPTION}
33 const std::map<CaseFirstOption, UColAttributeValue> JSCollator::uColAttributeValueMap = {
34 {CaseFirstOption::UPPER, UCOL_UPPER_FIRST},
35 {CaseFirstOption::LOWER, UCOL_LOWER_FIRST},
36 {CaseFirstOption::FALSE_OPTION, UCOL_OFF},
37 {CaseFirstOption::UNDEFINED, UCOL_OFF}
142 CaseFirstOption caseFirst = JSLocale::GetOptionOfString<CaseFirstOption>( in InitializeCollator()
[all …]
Dobject_factory.cpp992 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()