• Home
  • Raw
  • Download

Lines Matching full:notation

105 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation)  in OptionToEcmaString()  argument
109 switch (notation) { in OptionToEcmaString()
547 // 19. Let notation be ? GetOption( in InitializeNumberFormat()
548 …// options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standa… in InitializeNumberFormat()
550 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() local
555 numberFormat->SetNotation(notation); in InitializeNumberFormat()
557 …. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation). in InitializeNumberFormat()
559 mnfdDefault, mxfdDefault, notation); in InitializeNumberFormat()
570 if (notation == NotationOption::COMPACT) { in InitializeNumberFormat()
573 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactShort()); in InitializeNumberFormat()
576 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactLong()); in InitializeNumberFormat()
582 switch (notation) { in InitializeNumberFormat()
584 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::simple()); in InitializeNumberFormat()
587 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::scientific()); in InitializeNumberFormat()
590 icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::engineering()); in InitializeNumberFormat()
918 // [[Notation]] "notation" in ResolvedOptions()
1008 // [[Notation]] in ResolvedOptions()
1010 NotationOption notation = numberFormat->GetNotation(); in ResolvedOptions() local
1011 JSHandle<JSTaggedValue> notationString = OptionToEcmaString(thread, notation); in ResolvedOptions()
1014 // Only output compactDisplay when notation is compact. in ResolvedOptions()
1015 if (notation == NotationOption::COMPACT) { in ResolvedOptions()