Home
last modified time | relevance | path

Searched refs:NATIONAL (Results 1 - 11 of 11) sorted by relevance

/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
H A DFormatsTableSchema.java30 * <li>{@link #NATIONAL}: Required national format (may contain '#' for national prefix).
45 public static final Column<String> NATIONAL = Column.ofString("National"); field in FormatsTableSchema
59 .add(NATIONAL)
77 formats.getOrDefault(id, NATIONAL), in toFormatSpecs()
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dphonenumberutil_test.cc527 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
534 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
541 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
549 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
555 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
564 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
571 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
578 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
590 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, &formatted_number); in TEST_F()
597 phone_util_.Format(test_number, PhoneNumberUtil::NATIONAL, in TEST_F()
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/
H A Dphonenumberutil.cc184 case PhoneNumberUtil::NATIONAL: in PrefixNumberWithCountryCallingCode()
1226 MaybeAppendFormattedExtension(number, *metadata, NATIONAL, formatted_number); in FormatByPattern()
1252 FormatNsnWithCarrier(national_significant_number, *metadata, NATIONAL, in FormatNationalNumberWithCarrierCode()
1254 MaybeAppendFormattedExtension(number, *metadata, NATIONAL, formatted_number); in FormatNationalNumberWithCarrierCode()
1255 PrefixNumberWithCountryCallingCode(country_calling_code, NATIONAL, in FormatNationalNumberWithCarrierCode()
1334 Format(number_no_extension, NATIONAL, formatted_number); in FormatNumberForMobileDialing()
1365 Format(number_no_extension, NATIONAL, formatted_number); in FormatNumberForMobileDialing()
1405 Format(number, NATIONAL, formatted_number); in FormatOutOfCountryCallingNumber()
1422 Format(number, NATIONAL, formatted_number); in FormatOutOfCountryCallingNumber()
1474 Format(number, NATIONAL, formatted_numbe in FormatInOriginalFormat()
[all...]
H A Dphonenumberutil.h75 // INTERNATIONAL and NATIONAL formats are consistent with the definition
79 // INTERNATIONAL format, and as "044 668 1800" in NATIONAL format. E164
88 NATIONAL, enumerator
339 // dial from where they are - although we do format in either NATIONAL or
402 // INTERNATIONAL or NATIONAL) that the number is parsed from, provided that
404 // will be formatted in NATIONAL format. The original format is embedded in
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java493 assertEquals("650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber()
496 assertEquals("800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber()
499 assertEquals("900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber()
505 phoneUtil.format(US_SPOOF_WITH_RAW_INPUT, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber()
506 assertEquals("0", phoneUtil.format(US_SPOOF, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber()
510 assertEquals("242 365 1234", phoneUtil.format(BS_NUMBER, PhoneNumberFormat.NATIONAL)); in testFormatBSNumber()
515 assertEquals("(020) 7031 3000", phoneUtil.format(GB_NUMBER, PhoneNumberFormat.NATIONAL)); in testFormatGBNumber()
518 assertEquals("(07912) 345 678", phoneUtil.format(GB_MOBILE, PhoneNumberFormat.NATIONAL)); in testFormatGBNumber()
525 assertEquals("030/1234", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); in testFormatDENumber()
531 assertEquals("0291 123", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); in testFormatDENumber()
[all...]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil_test.js658 assertEquals('650 253 0000', phoneUtil.format(US_NUMBER, PNF.NATIONAL));
662 assertEquals('800 253 0000', phoneUtil.format(US_TOLLFREE, PNF.NATIONAL));
666 assertEquals('900 253 0000', phoneUtil.format(US_PREMIUM, PNF.NATIONAL));
675 '000-000-0000', phoneUtil.format(US_SPOOF_WITH_RAW_INPUT, PNF.NATIONAL));
676 assertEquals('0', phoneUtil.format(US_SPOOF, PNF.NATIONAL));
681 assertEquals('242 365 1234', phoneUtil.format(BS_NUMBER, PNF.NATIONAL));
688 assertEquals('(020) 7031 3000', phoneUtil.format(GB_NUMBER, PNF.NATIONAL));
692 assertEquals('(07912) 345 678', phoneUtil.format(GB_MOBILE, PNF.NATIONAL));
703 assertEquals('030/1234', phoneUtil.format(deNumber, PNF.NATIONAL));
710 assertEquals('0291 123', phoneUtil.format(deNumber, PNF.NATIONAL));
[all...]
H A Dphonenumberutil.js1031 * INTERNATIONAL and NATIONAL formats are consistent with the definition in
1035 * INTERNATIONAL format, and as '044 668 1800' in NATIONAL format. E164 format
1049 NATIONAL: 2,
1959 number, metadata, i18n.phonenumbers.PhoneNumberFormat.NATIONAL);
1963 i18n.phonenumbers.PhoneNumberFormat.NATIONAL, carrierCode);
1965 countryCallingCode, i18n.phonenumbers.PhoneNumberFormat.NATIONAL,
2091 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.NATIONAL);
2123 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.NATIONAL);
2146 * the number is from, then NATIONAL formatting will be applied.
2183 this.format(number, i18n.phonenumbers.PhoneNumberFormat.NATIONAL);
[all...]
H A Ddemo.js131 output.append(phoneUtil_.format(number, PNF.NATIONAL));
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DPhoneNumberUtil.java451 * INTERNATIONAL and NATIONAL formats are consistent with the definition in ITU-T Recommendation
454 * "+41 44 668 1800" in INTERNATIONAL format, and as "044 668 1800" in NATIONAL format. E164
466 NATIONAL, enum constant
1417 PhoneNumberFormat.NATIONAL, carrierCode)); in formatNationalNumberWithCarrierCode()
1418 maybeAppendFormattedExtension(number, metadata, PhoneNumberFormat.NATIONAL, formattedNumber); in formatNationalNumberWithCarrierCode()
1419 prefixNumberWithCountryCallingCode(countryCallingCode, PhoneNumberFormat.NATIONAL, in formatNationalNumberWithCarrierCode()
1509 formattedNumber = format(numberNoExt, PhoneNumberFormat.NATIONAL); in formatNumberForMobileDialing()
1534 formattedNumber = format(numberNoExt, PhoneNumberFormat.NATIONAL); in formatNumberForMobileDialing()
1551 * same as that of the region where the number is from, then NATIONAL formatting will be applied.
1583 return countryCallingCode + " " + format(number, PhoneNumberFormat.NATIONAL); in formatOutOfCountryCallingNumber()
[all...]
/third_party/libphonenumber/java/demo/src/main/java/com/google/phonenumbers/demo/render/
H A DResultRenderer.java103 .setNationalFormat(phoneUtil.format(number, PhoneNumberFormat.NATIONAL)) in genHtml()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
H A DBuildMetadataFromXml.java78 private static final String NATIONAL = "national"; field in BuildMetadataFromXml
599 String nationalLengths = element.getAttribute(NATIONAL); in populatePossibleLengthSets()

Completed in 19 milliseconds