Home
last modified time | relevance | path

Searched refs:number_format (Results 1 – 15 of 15) sorted by relevance

/third_party/node/deps/v8/src/objects/
Djs-number-format.h53 Handle<JSNumberFormat> number_format);
56 Isolate* isolate, Handle<JSNumberFormat> number_format,
61 Isolate* isolate, Handle<JSNumberFormat> number_format, Handle<Object> x,
66 Isolate* isolate, Handle<JSNumberFormat> number_format, Handle<Object> x,
71 const icu::number::LocalizedNumberFormatter& number_format,
Djs-number-format.cc916 Isolate* isolate, Handle<JSNumberFormat> number_format) { in ResolvedOptions() argument
921 number_format->icu_number_formatter().raw(); in ResolvedOptions()
928 Handle<String> locale = Handle<String>(number_format->locale(), isolate); in ResolvedOptions()
1633 Handle<JSNumberFormat> number_format = Handle<JSNumberFormat>::cast( in New() local
1636 number_format->set_locale(*locale_str); in New()
1638 number_format->set_icu_number_formatter(*managed_number_formatter); in New()
1639 number_format->set_icu_number_range_formatter( in New()
1641 number_format->set_bound_format(*factory->undefined_value()); in New()
1644 return number_format; in New()
1651 const icu::number::LocalizedNumberFormatter& number_format, in IcuFormatNumber() argument
[all …]
Djs-relative-time-format.cc171 icu::NumberFormat* number_format = in New() local
179 delete number_format; in New()
183 number_format = in New()
186 if (U_FAILURE(status) || number_format == nullptr) { in New()
187 delete number_format; in New()
193 if (number_format->getDynamicClassID() == in New()
196 static_cast<icu::DecimalFormat*>(number_format); in New()
204 new icu::RelativeDateTimeFormatter(icu_locale, number_format, in New()
Dintl-objects.cc1489 Handle<JSNumberFormat> number_format; in NumberToLocaleString() local
1492 isolate, number_format, in NumberToLocaleString()
1500 number_format->icu_number_formatter().get())); in NumberToLocaleString()
1505 number_format->icu_number_formatter().raw(); in NumberToLocaleString()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dasyoutypeformatter.cc143 const NumberFormat& number_format = **it; in MaybeCreateNewTemplate() local
144 const string& pattern = number_format.pattern(); in MaybeCreateNewTemplate()
148 if (CreateFormattingTemplate(number_format)) { in MaybeCreateNewTemplate()
150 SetShouldAddSpaceAfterNationalPrefix(number_format); in MaybeCreateNewTemplate()
169 : current_metadata_->number_format(); in GetAvailableFormats()
242 string number_format = format.format(); in CreateFormattingTemplate() local
245 GetFormattingTemplate(number_pattern, number_format, &temp_template); in CreateFormattingTemplate()
256 const string& number_format, in GetFormattingTemplate() argument
275 &a_phone_number, number_format); in GetFormattingTemplate()
473 const NumberFormat& number_format = **it; in AttemptToFormatAccruedDigits() local
[all …]
Dphonenumberutil.h340 PhoneNumberFormat number_format,
347 PhoneNumberFormat number_format,
876 PhoneNumberUtil::PhoneNumberFormat number_format,
883 PhoneNumberUtil::PhoneNumberFormat number_format,
899 PhoneNumberFormat number_format,
904 PhoneNumberFormat number_format,
911 PhoneNumberFormat number_format,
Dphonenumberutil.cc169 PhoneNumberUtil::PhoneNumberFormat number_format, in PrefixNumberWithCountryCallingCode() argument
171 switch (number_format) { in PrefixNumberWithCountryCallingCode()
1087 PhoneNumberFormat number_format, in Format() argument
1105 if (number_format == E164) { in Format()
1129 FormatNsn(national_significant_number, *metadata, number_format, in Format()
1131 MaybeAppendFormattedExtension(number, *metadata, number_format, in Format()
1133 PrefixNumberWithCountryCallingCode(country_calling_code, number_format, in Format()
1139 PhoneNumberFormat number_format, in FormatByPattern() argument
1189 number_format, formatted_number); in FormatByPattern()
1192 PrefixNumberWithCountryCallingCode(country_calling_code, number_format, in FormatByPattern()
[all …]
Dasyoutypeformatter.h108 const string& number_format,
Dphonenumbermatcher.cc717 alternate_formats->number_format().begin(); in CheckNumberGroupingIsValid()
718 it != alternate_formats->number_format().end(); ++it) { in CheckNumberGroupingIsValid()
797 phone_util_.ChooseFormattingPatternForNumber(metadata->number_format(), in IsNationalPrefixPresentIfRequired()
Dphonemetadata.pb.h694 const ::i18n::phonenumbers::NumberFormat& number_format(int index) const;
697 number_format() const;
4095 inline const ::i18n::phonenumbers::NumberFormat& PhoneMetadata::number_format(int index) const { in number_format() function
4107 PhoneMetadata::number_format() const { in number_format() function
/third_party/ffmpeg/libavformat/
Ddash.c71 const char *number_format = (id_type == DASH_TMPL_ID_TIME) ? PRId64 : "d"; in dash_read_tmpl_id() local
73 snprintf(format_tag, format_tag_size, "%%%s", number_format); in dash_read_tmpl_id()
82 … snprintf(format_tag, format_tag_size, "%s%c%s", "%0", width_ptr[0], number_format); in dash_read_tmpl_id()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-intl.cc84 CHECK_RECEIVER(JSNumberFormat, number_format, method_name); in BUILTIN()
102 isolate, JSNumberFormat::FormatToParts(isolate, number_format, x)); in BUILTIN()
451 Handle<JSNumberFormat> number_format; in BUILTIN() local
453 isolate, number_format, in BUILTIN()
456 return *JSNumberFormat::ResolvedOptions(isolate, number_format); in BUILTIN()
468 Handle<JSNumberFormat> number_format; in BUILTIN() local
470 isolate, number_format, in BUILTIN()
473 Handle<Object> bound_format(number_format->bound_format(), isolate); in BUILTIN()
483 isolate, number_format, Builtin::kNumberFormatInternalFormatNumber, 1); in BUILTIN()
486 number_format->set_bound_format(*new_bound_format_function); in BUILTIN()
[all …]
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc273 metadata->number_format(1).pattern()); in TEST_F()
274 EXPECT_EQ("$1 $2 $3", metadata->number_format(1).format()); in TEST_F()
297 EXPECT_EQ(1, metadata->number_format(5).leading_digits_pattern_size()); in TEST_F()
298 EXPECT_EQ("900", metadata->number_format(5).leading_digits_pattern(0)); in TEST_F()
300 metadata->number_format(5).pattern()); in TEST_F()
307 EXPECT_EQ("$1 $2 $3", metadata->number_format(5).format()); in TEST_F()
325 EXPECT_EQ("$2 15 $3-$4", metadata->number_format(2).format()); in TEST_F()
327 metadata->number_format(3).pattern()); in TEST_F()
338 EXPECT_EQ("$1 $2", metadata->number_format(0).format()); in TEST_F()
339 EXPECT_EQ("(\\d{4})(\\d{4})", metadata->number_format(0).pattern()); in TEST_F()
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DGPBUtil.php147 $var = number_format($var, 0, ".", "");
161 $var = number_format($var, 0, ".", "");
/third_party/libphonenumber/resources/
Dphonemetadata.proto239 repeated NumberFormat number_format = 19; field