Home
last modified time | relevance | path

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

/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/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
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_third_party20759 …rty/dart/third_party/observatory_pub_packages/packages/charted/lib/locale/format/number_format.dart
21350 …third_party/dart/third_party/observatory_pub_packages/packages/intl/lib/src/intl/number_format.dart