Lines Matching full:notation
112 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation) in OptionToEcmaString() argument
116 switch (notation) { in OptionToEcmaString()
567 // 19. Let notation be ? GetOption( in InitializeNumberFormat()
568 …// options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standa… in InitializeNumberFormat()
570 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() local
575 numberFormat->SetNotation(notation); in InitializeNumberFormat()
577 …. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation). in InitializeNumberFormat()
579 mnfdDefault, mxfdDefault, notation); in InitializeNumberFormat()
591 if (notation == NotationOption::COMPACT) { in InitializeNumberFormat()
594 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactShort()); in InitializeNumberFormat()
597 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactLong()); in InitializeNumberFormat()
603 switch (notation) { in InitializeNumberFormat()
605 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::simple()); in InitializeNumberFormat()
608 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::scientific()); in InitializeNumberFormat()
611 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::engineering()); in InitializeNumberFormat()
952 // [[Notation]] "notation" in ResolvedOptions()
1070 // [[Notation]] in ResolvedOptions()
1072 NotationOption notation = numberFormat->GetNotation(); in ResolvedOptions() local
1073 JSHandle<JSTaggedValue> notationString = OptionToEcmaString(thread, notation); in ResolvedOptions()
1077 // Only output compactDisplay when notation is compact. in ResolvedOptions()
1078 if (notation == NotationOption::COMPACT) { in ResolvedOptions()