Lines Matching full:notation
168 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation) in OptionToEcmaString() argument
172 switch (notation) { in OptionToEcmaString()
625 // 19. Let notation be ? GetOption( in InitializeNumberFormat()
626 …// options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standa… in InitializeNumberFormat()
628 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() local
633 numberFormat->SetNotation(notation); in InitializeNumberFormat()
635 …. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation). in InitializeNumberFormat()
637 mnfdDefault, mxfdDefault, notation); in InitializeNumberFormat()
650 if (notation == NotationOption::COMPACT) { in InitializeNumberFormat()
653 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactShort()); in InitializeNumberFormat()
656 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactLong()); in InitializeNumberFormat()
662 switch (notation) { in InitializeNumberFormat()
664 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::simple()); in InitializeNumberFormat()
667 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::scientific()); in InitializeNumberFormat()
670 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::engineering()); in InitializeNumberFormat()
1012 // [[Notation]] "notation" in ResolvedOptions()
1130 // [[Notation]] in ResolvedOptions()
1132 NotationOption notation = numberFormat->GetNotation(); in ResolvedOptions() local
1133 JSHandle<JSTaggedValue> notationString = OptionToEcmaString(thread, notation); in ResolvedOptions()
1137 // Only output compactDisplay when notation is compact. in ResolvedOptions()
1138 if (notation == NotationOption::COMPACT) { in ResolvedOptions()