• Home
  • Raw
  • Download

Lines Matching full:notation

169 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation)  in OptionToEcmaString()  argument
173 switch (notation) { in OptionToEcmaString()
626 // 19. Let notation be ? GetOption( in InitializeNumberFormat()
627 …// options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standa… in InitializeNumberFormat()
629 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() local
634 numberFormat->SetNotation(notation); in InitializeNumberFormat()
636 …. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation). in InitializeNumberFormat()
638 mnfdDefault, mxfdDefault, notation); in InitializeNumberFormat()
651 if (notation == NotationOption::COMPACT) { in InitializeNumberFormat()
654 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactShort()); in InitializeNumberFormat()
657 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactLong()); in InitializeNumberFormat()
663 switch (notation) { in InitializeNumberFormat()
665 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::simple()); in InitializeNumberFormat()
668 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::scientific()); in InitializeNumberFormat()
671 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()