Searched refs:CaseFirstOption (Results 1 – 4 of 4) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_collator.cpp | 30 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 …]
|
| 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() 108 static CaseFirstOption StringToCaseFirstOption(const std::string &str); 110 static UColAttributeValue OptionToUColAttribute(CaseFirstOption caseFirstOption); 117 static void SetCaseFirstOption(icu::Collator *icuCollator, CaseFirstOption caseFirstOption);
|
| D | object_factory.cpp | 1090 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()
|