Lines Matching refs:Intl

107 // prefix with Intl as IntlRoundingMode
258 std::set<std::string> sanctioned(Intl::SanctionedSimpleUnits());
827 const Intl::NumberFormatDigitOptions& digit_options) {
834 if (digit_options.rounding_type == Intl::RoundingType::kMorePrecision) {
851 const Intl::NumberFormatDigitOptions& digit_options, int rounding_increment,
862 case Intl::RoundingType::kSignificantDigits:
867 case Intl::RoundingType::kFractionDigits:
872 case Intl::RoundingType::kMorePrecision:
875 case Intl::RoundingType::kLessPrecision:
903 const Intl::NumberFormatDigitOptions& digit_options, int rounding_increment,
962 CHECK(Intl::ToString(isolate, numberingSystem_ustr)
976 CHECK(Intl::ToString(isolate, currency_ustr).ToHandle(&currency_string));
1098 Intl::LegacyUnwrapReceiver(isolate, format_holder, constructor,
1133 Intl::CanonicalizeLocaleList(isolate, locales);
1148 Maybe<Intl::MatcherOption> maybe_locale_matcher =
1149 Intl::GetLocaleMatcher(isolate, options, service);
1151 Intl::MatcherOption matcher = maybe_locale_matcher.FromJust();
1156 Maybe<bool> maybe_numberingSystem = Intl::GetNumberingSystem(
1169 Maybe<Intl::ResolvedLocale> maybe_resolve_locale =
1170 Intl::ResolveLocale(isolate, JSNumberFormat::GetAvailableLocales(),
1176 Intl::ResolvedLocale r = maybe_resolve_locale.FromJust();
1190 Maybe<std::string> maybe_locale_str = Intl::ToLanguageTag(icu_locale);
1196 Intl::IsValidNumberingSystem(numbering_system_str.get())) {
1201 std::string numbering_system = Intl::GetNumberingSystem(icu_locale);
1209 // 10.1%-13.7% of regression of JSTests/Intl-NewIntlNumberFormat
1348 Intl::ToString(isolate, currency_ustr),
1431 Maybe<Intl::NumberFormatDigitOptions> maybe_digit_options =
1432 Intl::SetNumberFormatDigitOptions(isolate, options, mnfd_default,
1436 Intl::NumberFormatDigitOptions digit_options = maybe_digit_options.FromJust();
1458 digit_options.rounding_type != Intl::RoundingType::kFractionDigits) {
1769 // var nf = new Intl.NumberFormat(['de'], {style:'currency',currency:'EUR'});
1866 Intl::FormatRangeSourceTracker tracker;
1896 Intl::NumberFieldToType(isolate, part, formatted_text, is_nan);
1902 Intl::ToString(isolate, formatted_text, part.begin_pos, part.end_pos),
1906 Intl::AddElement(
1909 Intl::SourceString(isolate,
1912 Intl::AddElement(isolate, result, index, field_type_string, substring);
2076 return Intl::ToString(isolate, result);
2139 "Intl.NumberFormat.prototype.formatRange");
2147 "Intl.NumberFormat.prototype.formatRangeToParts");
2160 static base::LazyInstance<Intl::AvailableLocales<CheckNumberElements>>::type