/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtilTest.java | 21 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 491 assertEquals("650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber() 492 assertEquals("+1 650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.INTERNATIONAL)); in testFormatUSNumber() 494 assertEquals("800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber() 495 assertEquals("+1 800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.INTERNATIONAL)); in testFormatUSNumber() 497 assertEquals("900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber() 498 assertEquals("+1 900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.INTERNATIONAL)); in testFormatUSNumber() 499 assertEquals("tel:+1-900-253-0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.RFC3966)); in testFormatUSNumber() 503 phoneUtil.format(US_SPOOF_WITH_RAW_INPUT, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber() 504 assertEquals("0", phoneUtil.format(US_SPOOF, PhoneNumberFormat.NATIONAL)); in testFormatUSNumber() [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumberutil.h | 81 enum PhoneNumberFormat { enum 88 static const PhoneNumberFormat kMaxNumberFormat = RFC3966; 340 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,
|
D | phonenumberutil.cc | 169 PhoneNumberUtil::PhoneNumberFormat number_format, in PrefixNumberWithCountryCallingCode() 1087 PhoneNumberFormat number_format, in Format() 1139 PhoneNumberFormat number_format, in FormatByPattern() 1717 PhoneNumberUtil::PhoneNumberFormat number_format, in FormatNsnUsingPatternWithCarrier() 1768 PhoneNumberUtil::PhoneNumberFormat number_format, in FormatNsnUsingPattern() 1777 PhoneNumberFormat number_format, in FormatNsn() 1790 PhoneNumberFormat number_format, in FormatNsnWithCarrier() 1815 PhoneNumberFormat number_format, in MaybeAppendFormattedExtension()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 446 public enum PhoneNumberFormat { enum in PhoneNumberUtil 953 PhoneNumberUtil.PhoneNumberFormat.INTERNATIONAL); 1260 public String format(PhoneNumber number, PhoneNumberFormat numberFormat) { 1281 public void format(PhoneNumber number, PhoneNumberFormat numberFormat, 1288 if (numberFormat == PhoneNumberFormat.E164) { 1292 prefixNumberWithCountryCallingCode(countryCallingCode, PhoneNumberFormat.E164, 1325 PhoneNumberFormat numberFormat, 1402 PhoneNumberFormat.NATIONAL, carrierCode)); 1403 maybeAppendFormattedExtension(number, metadata, PhoneNumberFormat.NATIONAL, formattedNumber); 1404 prefixNumberWithCountryCallingCode(countryCallingCode, PhoneNumberFormat.NATIONAL, [all …]
|
D | PhoneNumberMatcher.java | 21 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 543 String rfc3966Format = util.format(number, PhoneNumberFormat.RFC3966); in getNationalNumberGroups() 565 formattingPattern, PhoneNumberFormat.RFC3966).split("-"); in getNationalNumberGroups()
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumberutil.js | 972 i18n.phonenumbers.PhoneNumberFormat = { 1348 i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL); 1726 if (numberFormat == i18n.phonenumbers.PhoneNumberFormat.E164) { 1731 countryCallingCode, i18n.phonenumbers.PhoneNumberFormat.E164, 1885 number, metadata, i18n.phonenumbers.PhoneNumberFormat.NATIONAL); 1889 i18n.phonenumbers.PhoneNumberFormat.NATIONAL, carrierCode); 1891 countryCallingCode, i18n.phonenumbers.PhoneNumberFormat.NATIONAL, 2020 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL); 2023 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.NATIONAL); 2052 numberNoExt, i18n.phonenumbers.PhoneNumberFormat.INTERNATIONAL); [all …]
|
D | phonenumberutil_test.js | 653 var PNF = i18n.phonenumbers.PhoneNumberFormat; 676 var PNF = i18n.phonenumbers.PhoneNumberFormat; 683 var PNF = i18n.phonenumbers.PhoneNumberFormat; 694 var PNF = i18n.phonenumbers.PhoneNumberFormat; 742 var PNF = i18n.phonenumbers.PhoneNumberFormat; 755 var PNF = i18n.phonenumbers.PhoneNumberFormat; 772 var PNF = i18n.phonenumbers.PhoneNumberFormat; 785 var PNF = i18n.phonenumbers.PhoneNumberFormat; 1027 var PNF = i18n.phonenumbers.PhoneNumberFormat; 1057 var PNF = i18n.phonenumbers.PhoneNumberFormat; [all …]
|
D | demo.js | 122 var PNF = i18n.phonenumbers.PhoneNumberFormat;
|
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 29 import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberFormat; 166 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.INTERNATIONAL) : "invalid"; in getOutputForFile() 352 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.E164) : "invalid", in getOutputForSingleNumber() 356 appendLine("National format", phoneUtil.format(number, PhoneNumberFormat.NATIONAL), output); in getOutputForSingleNumber() 359 isNumberValid ? phoneUtil.format(number, PhoneNumberFormat.INTERNATIONAL) : "invalid", in getOutputForSingleNumber()
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_i18n.js | 142 PhoneNumberFormat: PhoneNumberFormatClass, property 206 export const PhoneNumberFormatClass = class PhoneNumberFormat{ class
|
/third_party/libphonenumber/ |
D | README.md | 157 System.out.println(phoneUtil.format(swissNumberProto, PhoneNumberFormat.INTERNATIONAL)); 159 System.out.println(phoneUtil.format(swissNumberProto, PhoneNumberFormat.NATIONAL)); 161 System.out.println(phoneUtil.format(swissNumberProto, PhoneNumberFormat.E164));
|