Lines Matching defs:caseFirst
166 // 14. Let caseFirst be ? GetOption(options, "caseFirst", "string", « "upper", "lower", "false" », undefined).
167 CaseFirstOption caseFirst = JSLocale::GetOptionOfString<CaseFirstOption>(
172 collator->SetCaseFirst(caseFirst);
253 // If caseFirst is not undefined set ICU collator UColAttributeValue to caseFirst
257 if (caseFirst != CaseFirstOption::UNDEFINED) {
259 icuCollator.get()->setAttribute(UCOL_CASE_FIRST, OptionToUColAttribute(caseFirst), status);
417 JSHandle<JSTaggedValue> OptionsToEcmaString(JSThread *thread, CaseFirstOption caseFirst)
421 switch (caseFirst) {
494 // In Ecma402 spec, caseFirst is an optional property so we set it to Upper when input is undefined