Searched refs:CaseFirstOption (Results 1 – 4 of 4) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_collator.h | 25 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);
|
| D | js_collator.cpp | 28 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 …]
|
| D | object_factory.cpp | 992 JSCollator::Cast(*obj)->SetCaseFirst(CaseFirstOption::EXCEPTION); in InitializeJSObject()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_collator_test.cpp | 126 EXPECT_EQ(initCollator->GetCaseFirst(), CaseFirstOption::UNDEFINED); in HWTEST_F_L0()
|