/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | FormatsTableSchema.java | 33 * <li>{@link #INTERNATIONAL}: International format (must not contain '#' or '@'). 47 public static final Column<String> INTERNATIONAL = Column.ofString("International"); field in FormatsTableSchema 61 .add(INTERNATIONAL) 79 toOptional(formats.getOrDefault(id, INTERNATIONAL)), in toFormatSpecs()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | phonenumberutil_test.cc | 529 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 536 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 543 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 566 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 573 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 580 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 592 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 599 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 611 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() 620 phone_util_.Format(test_number, PhoneNumberUtil::INTERNATIONAL, in TEST_F() [all...] |
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtilTest.java | 494 assertEquals("+1 650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.INTERNATIONAL)); in testFormatUSNumber() 497 assertEquals("+1 800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.INTERNATIONAL)); in testFormatUSNumber() 500 assertEquals("+1 900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.INTERNATIONAL)); in testFormatUSNumber() 511 assertEquals("+1 242 365 1234", phoneUtil.format(BS_NUMBER, PhoneNumberFormat.INTERNATIONAL)); in testFormatBSNumber() 516 assertEquals("+44 20 7031 3000", phoneUtil.format(GB_NUMBER, PhoneNumberFormat.INTERNATIONAL)); in testFormatGBNumber() 519 assertEquals("+44 7912 345 678", phoneUtil.format(GB_MOBILE, PhoneNumberFormat.INTERNATIONAL)); in testFormatGBNumber() 526 assertEquals("+49 30/1234", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber() 532 assertEquals("+49 291 123", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber() 537 assertEquals("+49 291 12345678", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber() 542 assertEquals("+49 9123 12345", phoneUtil.format(deNumber, PhoneNumberFormat.INTERNATIONAL)); in testFormatDENumber() [all...] |
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
H A D | phonenumberutil_test.js | 660 '+1 650 253 0000', phoneUtil.format(US_NUMBER, PNF.INTERNATIONAL)); 664 '+1 800 253 0000', phoneUtil.format(US_TOLLFREE, PNF.INTERNATIONAL)); 668 '+1 900 253 0000', phoneUtil.format(US_PREMIUM, PNF.INTERNATIONAL)); 683 '+1 242 365 1234', phoneUtil.format(BS_NUMBER, PNF.INTERNATIONAL)); 690 '+44 20 7031 3000', phoneUtil.format(GB_NUMBER, PNF.INTERNATIONAL)); 694 '+44 7912 345 678', phoneUtil.format(GB_MOBILE, PNF.INTERNATIONAL)); 704 assertEquals('+49 30/1234', phoneUtil.format(deNumber, PNF.INTERNATIONAL)); 711 assertEquals('+49 291 123', phoneUtil.format(deNumber, PNF.INTERNATIONAL)); 718 '+49 291 12345678', phoneUtil.format(deNumber, PNF.INTERNATIONAL)); 724 assertEquals('+49 9123 12345', phoneUtil.format(deNumber, PNF.INTERNATIONAL)); [all...] |
H A D | phonenumberutil.js | 1031 * INTERNATIONAL and NATIONAL formats are consistent with the definition in 1035 * INTERNATIONAL format, and as '044 668 1800' in NATIONAL format. E164 format 1036 * is as per INTERNATIONAL format but with no formatting applied, e.g. 1037 * '+41446681800'. RFC3966 is as per INTERNATIONAL format, but with all spaces 1048 INTERNATIONAL: 1, 1422 i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL); 2088 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL); 2120 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL); 2132 i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL) : 2144 * regionCallingFrom is supplied, we format the number in its INTERNATIONAL [all...] |
H A D | demo.js | 134 isNumberValid ? phoneUtil_.format(number, PNF.INTERNATIONAL) :
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtil.java | 451 * 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 455 * format is as per INTERNATIONAL format but with no formatting applied, e.g. "+41446681800". 456 * RFC3966 is as per INTERNATIONAL format, but with all spaces and other separating symbols 465 INTERNATIONAL, enum constant 970 PhoneNumberUtil.PhoneNumberFormat.INTERNATIONAL); in getLengthOfNationalDestinationCode() 1507 formattedNumber = format(numberNoExt, PhoneNumberFormat.INTERNATIONAL); in formatNumberForMobileDialing() 1532 formattedNumber = format(numberNoExt, PhoneNumberFormat.INTERNATIONAL); in formatNumberForMobileDialing() 1541 return withFormatting ? format(numberNoExt, PhoneNumberFormat.INTERNATIONAL) in formatNumberForMobileDialing() 1550 * supplied, we format the number in its INTERNATIONAL forma [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumberutil.cc | 177 case PhoneNumberUtil::INTERNATIONAL: in PrefixNumberWithCountryCallingCode() 1332 Format(number_no_extension, INTERNATIONAL, formatted_number); in FormatNumberForMobileDialing() 1363 Format(number_no_extension, INTERNATIONAL, formatted_number); in FormatNumberForMobileDialing() 1374 ? Format(number_no_extension, INTERNATIONAL, formatted_number) in FormatNumberForMobileDialing() 1391 Format(number, INTERNATIONAL, formatted_number); in FormatOutOfCountryCallingNumber() 1449 FormatNsn(national_significant_number, *metadata_for_region, INTERNATIONAL, in FormatOutOfCountryCallingNumber() 1451 MaybeAppendFormattedExtension(number, *metadata_for_region, INTERNATIONAL, in FormatOutOfCountryCallingNumber() 1457 PrefixNumberWithCountryCallingCode(country_code, INTERNATIONAL, in FormatOutOfCountryCallingNumber() 1479 Format(number, INTERNATIONAL, formatted_number); in FormatInOriginalFormat() 1486 Format(number, INTERNATIONAL, formatted_numbe in FormatInOriginalFormat() [all...] |
H A D | phonenumberutil.h | 75 // INTERNATIONAL and NATIONAL formats are consistent with the definition 79 // INTERNATIONAL format, and as "044 668 1800" in NATIONAL format. E164 80 // format is as per INTERNATIONAL format but with no formatting applied e.g. 81 // "+41446681800". RFC3966 is as per INTERNATIONAL format, but with all spaces 87 INTERNATIONAL, enumerator 340 // INTERNATIONAL format depending on what the client asks for, we do not 394 // have multiple international prefixes, the number in its INTERNATIONAL 402 // INTERNATIONAL or NATIONAL) that the number is parsed from, provided that
|
/third_party/libphonenumber/java/demo/src/main/java/com/google/phonenumbers/demo/render/ |
H A D | ResultFileRenderer.java | 53 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.INTERNATIONAL) : "invalid", in genHtml()
|
H A D | ResultRenderer.java | 105 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.INTERNATIONAL) : "invalid") in genHtml()
|