Lines Matching refs:CaseFirst
44 enum class CaseFirst { kUndefined, kUpper, kLower, kFalse }; enum
46 Maybe<CaseFirst> GetCaseFirst(Isolate* isolate, Handle<JSReceiver> options, in GetCaseFirst()
48 return GetStringOption<CaseFirst>( in GetCaseFirst()
50 {CaseFirst::kUpper, CaseFirst::kLower, CaseFirst::kFalse}, in GetCaseFirst()
51 CaseFirst::kUndefined); in GetCaseFirst()
239 CaseFirst ToCaseFirst(const char* str) { in ToCaseFirst()
240 if (strcmp(str, "upper") == 0) return CaseFirst::kUpper; in ToCaseFirst()
241 if (strcmp(str, "lower") == 0) return CaseFirst::kLower; in ToCaseFirst()
242 if (strcmp(str, "false") == 0) return CaseFirst::kFalse; in ToCaseFirst()
243 return CaseFirst::kUndefined; in ToCaseFirst()
246 UColAttributeValue ToUColAttributeValue(CaseFirst case_first) { in ToUColAttributeValue()
248 case CaseFirst::kUpper: in ToUColAttributeValue()
250 case CaseFirst::kLower: in ToUColAttributeValue()
252 case CaseFirst::kFalse: in ToUColAttributeValue()
253 case CaseFirst::kUndefined: in ToUColAttributeValue()
266 void SetCaseFirstOption(icu::Collator* icu_collator, CaseFirst case_first) { in SetCaseFirstOption()
350 Maybe<CaseFirst> maybe_case_first = GetCaseFirst(isolate, options, service); in New()
352 CaseFirst case_first = maybe_case_first.FromJust(); in New()
463 if (case_first != CaseFirst::kUndefined) { in New()