/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | phonenumber.pb.js | 39 i18n.phonenumbers.PhoneNumber = function() { class in i18n.phonenumbers 42 goog.inherits(i18n.phonenumbers.PhoneNumber, goog.proto2.Message); 49 i18n.phonenumbers.PhoneNumber.descriptor_ = null; 57 i18n.phonenumbers.PhoneNumber.prototype.clone; 64 i18n.phonenumbers.PhoneNumber.prototype.getCountryCode = function() { 73 i18n.phonenumbers.PhoneNumber.prototype.getCountryCodeOrDefault = function() { 82 i18n.phonenumbers.PhoneNumber.prototype.setCountryCode = function(value) { 90 i18n.phonenumbers.PhoneNumber.prototype.hasCountryCode = function() { 98 i18n.phonenumbers.PhoneNumber.prototype.countryCodeCount = function() { 106 i18n.phonenumbers.PhoneNumber.prototype.clearCountryCode = function() { [all …]
|
D | phonenumberutil_test.js | 52 var ALPHA_NUMERIC_NUMBER = new i18n.phonenumbers.PhoneNumber(); 58 var AE_UAN = new i18n.phonenumbers.PhoneNumber(); 64 var AR_MOBILE = new i18n.phonenumbers.PhoneNumber(); 70 var AR_NUMBER = new i18n.phonenumbers.PhoneNumber(); 76 var AU_NUMBER = new i18n.phonenumbers.PhoneNumber(); 82 var BS_MOBILE = new i18n.phonenumbers.PhoneNumber(); 88 var BS_NUMBER = new i18n.phonenumbers.PhoneNumber(); 95 var DE_NUMBER = new i18n.phonenumbers.PhoneNumber(); 101 var DE_SHORT_NUMBER = new i18n.phonenumbers.PhoneNumber(); 107 var GB_MOBILE = new i18n.phonenumbers.PhoneNumber(); [all …]
|
D | shortnumberinfo_test.js | 48 var possibleNumber = new i18n.phonenumbers.PhoneNumber(); 55 var impossibleNumber = new i18n.phonenumbers.PhoneNumber(); 62 var impossibleUkNumber = new i18n.phonenumbers.PhoneNumber(); 69 var shortNumber1 = new i18n.phonenumbers.PhoneNumber(); 75 var shortNumber2 = new i18n.phonenumbers.PhoneNumber(); 83 var shortNumber3 = new i18n.phonenumbers.PhoneNumber(); 90 var carrierSpecificNumber = new i18n.phonenumbers.PhoneNumber(); 97 var notCarrierSpecificNumber = new i18n.phonenumbers.PhoneNumber(); 104 var carrierSpecificNumberForSomeRegion = new i18n.phonenumbers.PhoneNumber(); 115 var smsServiceNumberForSomeRegion = new i18n.phonenumbers.PhoneNumber(); [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumber.pb.h | 57 class PhoneNumber; variable 63 template<> ::i18n::phonenumbers::PhoneNumber* Arena::CreateMaybeMessage<::i18n::phonenumbers::Phone… 92 class PhoneNumber PROTOBUF_FINAL : 95 inline PhoneNumber() : PhoneNumber(nullptr) {} in PhoneNumber() function 96 virtual ~PhoneNumber(); 98 PhoneNumber(const PhoneNumber& from); 99 PhoneNumber(PhoneNumber&& from) noexcept in PhoneNumber() function 100 : PhoneNumber() { in PhoneNumber() 104 inline PhoneNumber& operator=(const PhoneNumber& from) { 108 inline PhoneNumber& operator=(PhoneNumber&& from) noexcept { [all …]
|
D | phonenumberutil.h | 246 void GetNationalSignificantNumber(const PhoneNumber& number, 288 int GetLengthOfGeographicalAreaCode(const PhoneNumber& number) const; 324 int GetLengthOfNationalDestinationCode(const PhoneNumber& number) const; 339 void Format(const PhoneNumber& number, 346 const PhoneNumber& number, 356 void FormatNationalNumberWithCarrierCode(const PhoneNumber& number, 371 const PhoneNumber& number, 380 const PhoneNumber& number, 393 const PhoneNumber& number, 406 void FormatInOriginalFormat(const PhoneNumber& number, [all …]
|
D | phonenumber.pb.cc | 18 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<PhoneNumber> _instance; 27 new (ptr) ::i18n::phonenumbers::PhoneNumber(); in InitDefaultsscc_info_PhoneNumber_phonenumber_2eproto() 30 ::i18n::phonenumbers::PhoneNumber::InitAsDefaultInstance(); in InitDefaultsscc_info_PhoneNumber_phonenumber_2eproto() 102 constexpr PhoneNumber_CountryCodeSource PhoneNumber::UNSPECIFIED; 103 constexpr PhoneNumber_CountryCodeSource PhoneNumber::FROM_NUMBER_WITH_PLUS_SIGN; 104 constexpr PhoneNumber_CountryCodeSource PhoneNumber::FROM_NUMBER_WITH_IDD; 105 constexpr PhoneNumber_CountryCodeSource PhoneNumber::FROM_NUMBER_WITHOUT_PLUS_SIGN; 106 constexpr PhoneNumber_CountryCodeSource PhoneNumber::FROM_DEFAULT_COUNTRY; 107 constexpr PhoneNumber_CountryCodeSource PhoneNumber::CountryCodeSource_MIN; 108 constexpr PhoneNumber_CountryCodeSource PhoneNumber::CountryCodeSource_MAX; [all …]
|
D | shortnumberinfo.h | 40 class PhoneNumber; variable 61 const PhoneNumber& short_number, 68 bool IsPossibleShortNumber(const PhoneNumber& number) const; 74 const PhoneNumber& short_number, 82 bool IsValidShortNumber(const PhoneNumber& number) const; 101 const PhoneNumber& short_number, 120 ShortNumberCost GetExpectedCost(const PhoneNumber& number) const; 152 bool IsCarrierSpecific(const PhoneNumber& number) const; 162 const PhoneNumber& number, 174 const PhoneNumber& number, [all …]
|
D | phonenumbermatcher.h | 44 class PhoneNumber; variable 117 bool IsNationalPrefixPresentIfRequired(const PhoneNumber& number) const; 137 const PhoneNumber& phone_number, 139 ResultCallback4<bool, const PhoneNumberUtil&, const PhoneNumber&, 146 const PhoneNumber& number, 153 const PhoneNumber& number, 159 const PhoneNumber& phone_number, 163 bool VerifyAccordingToLeniency(Leniency leniency, const PhoneNumber& number, 168 const PhoneNumber& number,
|
D | phonenumberutil.cc | 191 bool IsNationalNumberSuffixOfTheOther(const PhoneNumber& first_number, in IsNationalNumberSuffixOfTheOther() 192 const PhoneNumber& second_number) { in IsNationalNumberSuffixOfTheOther() 493 void CopyCoreFieldsOnly(const PhoneNumber& number, PhoneNumber* pruned_number) { in CopyCoreFieldsOnly() 1086 void PhoneNumberUtil::Format(const PhoneNumber& number, in Format() 1138 const PhoneNumber& number, in FormatByPattern() 1197 const PhoneNumber& number, in FormatNationalNumberWithCarrierCode() 1232 const PhoneNumber& number, in FormatNationalNumberWithPreferredCarrierCode() 1248 const PhoneNumber& number, in FormatNumberForMobileDialing() 1261 PhoneNumber number_no_extension(number); in FormatNumberForMobileDialing() 1353 const PhoneNumber& number, in FormatOutOfCountryCallingNumber() [all …]
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhonenumberTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 20 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 32 PhoneNumber numberA = new PhoneNumber(); in testEqualSimpleNumber() 35 PhoneNumber numberB = new PhoneNumber(); in testEqualSimpleNumber() 43 PhoneNumber numberA = new PhoneNumber(); in testEqualWithItalianLeadingZeroSetToDefault() 46 PhoneNumber numberB = new PhoneNumber(); in testEqualWithItalianLeadingZeroSetToDefault() 55 PhoneNumber numberA = new PhoneNumber(); in testEqualWithCountryCodeSourceSet() 58 PhoneNumber numberB = new PhoneNumber(); in testEqualWithCountryCodeSourceSet() 66 PhoneNumber numberA = new PhoneNumber(); in testNonEqualWithItalianLeadingZeroSetToTrue() 69 PhoneNumber numberB = new PhoneNumber(); in testNonEqualWithItalianLeadingZeroSetToTrue() [all …]
|
D | PhoneNumberUtilTest.java | 27 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 28 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 50 private static final PhoneNumber ALPHA_NUMERIC_NUMBER = 51 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L); 52 private static final PhoneNumber AE_UAN = 53 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L); 54 private static final PhoneNumber AR_MOBILE = 55 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L); 56 private static final PhoneNumber AR_NUMBER = 57 new PhoneNumber().setCountryCode(54).setNationalNumber(1187654321); [all …]
|
D | ShortNumberInfoTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 30 PhoneNumber possibleNumber = new PhoneNumber(); in testIsPossibleShortNumber() 36 PhoneNumber impossibleNumber = new PhoneNumber(); in testIsPossibleShortNumber() 43 new PhoneNumber().setCountryCode(44).setNationalNumber(11001L))); in testIsPossibleShortNumber() 48 new PhoneNumber().setCountryCode(33).setNationalNumber(1010L))); in testIsValidShortNumber() 51 new PhoneNumber().setCountryCode(33).setNationalNumber(123456L))); in testIsValidShortNumber() 57 new PhoneNumber().setCountryCode(44).setNationalNumber(18001L))); in testIsValidShortNumber() 61 PhoneNumber carrierSpecificNumber = new PhoneNumber(); in testIsCarrierSpecific() 67 PhoneNumber notCarrierSpecificNumber = new PhoneNumber(); in testIsCarrierSpecific() 73 PhoneNumber carrierSpecificNumberForSomeRegion = new PhoneNumber(); in testIsCarrierSpecific() [all …]
|
/third_party/libphonenumber/java/geocoder/test/com/google/i18n/phonenumbers/geocoding/ |
D | PhoneNumberOfflineGeocoderTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 36 private static final PhoneNumber KO_NUMBER1 = 37 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 38 private static final PhoneNumber KO_NUMBER2 = 39 new PhoneNumber().setCountryCode(82).setNationalNumber(322123456L); 40 private static final PhoneNumber KO_NUMBER3 = 41 new PhoneNumber().setCountryCode(82).setNationalNumber(6421234567L); 42 private static final PhoneNumber KO_INVALID_NUMBER = 43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L); 44 private static final PhoneNumber KO_MOBILE = [all …]
|
/third_party/libphonenumber/java/carrier/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberToCarrierMapperTest.java | 18 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 35 private static final PhoneNumber AO_MOBILE1 = 36 new PhoneNumber().setCountryCode(244).setNationalNumber(917654321L); 37 private static final PhoneNumber AO_MOBILE2 = 38 new PhoneNumber().setCountryCode(244).setNationalNumber(927654321L); 39 private static final PhoneNumber AO_FIXED1 = 40 new PhoneNumber().setCountryCode(244).setNationalNumber(22254321L); 41 private static final PhoneNumber AO_FIXED2 = 42 new PhoneNumber().setCountryCode(244).setNationalNumber(26254321L); 43 private static final PhoneNumber AO_INVALID_NUMBER = [all …]
|
/third_party/libphonenumber/java/geocoder/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberToTimeZonesMapperTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 36 private static final PhoneNumber AU_NUMBER = 37 new PhoneNumber().setCountryCode(61).setNationalNumber(236618300L); 38 private static final PhoneNumber CA_NUMBER = 39 new PhoneNumber().setCountryCode(1).setNationalNumber(6048406565L); 40 private static final PhoneNumber KO_NUMBER = 41 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 42 private static final PhoneNumber KO_INVALID_NUMBER = 43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L); 44 private static final PhoneNumber US_NUMBER1 = [all …]
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | Phonenumber.java | 29 public static class PhoneNumber implements Serializable { class in Phonenumber 39 public PhoneNumber() { in PhoneNumber() method in Phonenumber.PhoneNumber 48 public PhoneNumber setCountryCode(int value) { in setCountryCode() 53 public PhoneNumber clearCountryCode() { in clearCountryCode() 64 public PhoneNumber setNationalNumber(long value) { in setNationalNumber() 69 public PhoneNumber clearNationalNumber() { in clearNationalNumber() 80 public PhoneNumber setExtension(String value) { in setExtension() 88 public PhoneNumber clearExtension() { in clearExtension() 99 public PhoneNumber setItalianLeadingZero(boolean value) { in setItalianLeadingZero() 104 public PhoneNumber clearItalianLeadingZero() { in clearItalianLeadingZero() [all …]
|
D | PhoneNumberUtil.java | 22 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 537 PhoneNumber number, in verify() 553 PhoneNumber number, in verify() 579 PhoneNumber number, in verify() 593 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 616 PhoneNumber number, in verify() 630 public boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, in verify() 642 PhoneNumber number, 874 public int getLengthOfGeographicalAreaCode(PhoneNumber number) { [all …]
|
D | ShortNumberInfo.java | 23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 112 private boolean regionDialingFromMatchesNumber(PhoneNumber number, in regionDialingFromMatchesNumber() 141 public boolean isPossibleShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isPossibleShortNumberForRegion() 162 public boolean isPossibleShortNumber(PhoneNumber number) { in isPossibleShortNumber() 186 public boolean isValidShortNumberForRegion(PhoneNumber number, String regionDialingFrom) { in isValidShortNumberForRegion() 212 public boolean isValidShortNumber(PhoneNumber number) { in isValidShortNumber() 246 public ShortNumberCost getExpectedCostForRegion(PhoneNumber number, String regionDialingFrom) { in getExpectedCostForRegion() 304 public ShortNumberCost getExpectedCost(PhoneNumber number) { in getExpectedCost() 339 private String getRegionCodeForShortNumberFromRegionList(PhoneNumber number, in getRegionCodeForShortNumberFromRegionList() 479 public boolean isCarrierSpecific(PhoneNumber number) { in isCarrierSpecific() [all …]
|
/third_party/libphonenumber/java/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
D | PrefixFileReaderTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 32 private static final PhoneNumber KO_NUMBER = 33 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 34 private static final PhoneNumber US_NUMBER1 = 35 new PhoneNumber().setCountryCode(1).setNationalNumber(6502530000L); 36 private static final PhoneNumber US_NUMBER2 = 37 new PhoneNumber().setCountryCode(1).setNationalNumber(2128120000L); 38 private static final PhoneNumber US_NUMBER3 = 39 new PhoneNumber().setCountryCode(1).setNationalNumber(6174240000L); 40 private static final PhoneNumber SE_NUMBER = [all …]
|
D | PrefixTimeZonesMapTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 92 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumberCountryLevel_US() 99 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_ValidNumber_Chicago() 106 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_LA() 113 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_NY() 120 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_CH() 127 PhoneNumber number = new PhoneNumber(); in testLookupTimeZonesForNumber_RU()
|
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/ |
D | phonenumber_offline_geocoder_test.cc | 33 PhoneNumber MakeNumber(int32 country_code, uint64 national_number) { in MakeNumber() 34 PhoneNumber n; in MakeNumber() 82 const PhoneNumber KO_NUMBER1; 83 const PhoneNumber KO_NUMBER2; 84 const PhoneNumber KO_NUMBER3; 85 const PhoneNumber KO_INVALID_NUMBER; 86 const PhoneNumber KO_MOBILE; 88 const PhoneNumber US_NUMBER1; 89 const PhoneNumber US_NUMBER2; 90 const PhoneNumber US_NUMBER3; [all …]
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | phonenumberutil_test.cc | 80 PhoneNumber::CountryCodeSource MaybeStripInternationalPrefixAndNormalize( in MaybeStripInternationalPrefixAndNormalize() 103 PhoneNumber* phone_number) const { in MaybeExtractCountryCode() 130 PhoneNumber phone_number; in TEST_F() 346 PhoneNumber number; in TEST_F() 381 PhoneNumber number; in TEST_F() 401 PhoneNumber de_number; in TEST_F() 404 PhoneNumber test_number; in TEST_F() 427 EXPECT_EQ(PhoneNumber::default_instance(), test_number); in TEST_F() 434 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F() 438 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F() [all …]
|
D | test_util.h | 30 class PhoneNumber; variable 34 inline bool operator==(const PhoneNumber& number1, const PhoneNumber& number2) { 38 inline bool operator!=(const PhoneNumber& number1, const PhoneNumber& number2) { 43 ostream& operator<<(ostream& os, const PhoneNumber& number); 45 ostream& operator<<(ostream& os, const vector<PhoneNumber>& numbers);
|
D | shortnumberinfo_test.cc | 35 PhoneNumber ParseNumberForTesting(const string& number, in ParseNumberForTesting() 37 PhoneNumber phone_number; in ParseNumberForTesting() 57 PhoneNumber possible_number; in TEST_F() 64 PhoneNumber impossible_number; in TEST_F() 71 PhoneNumber shared_number; in TEST_F() 78 PhoneNumber valid_number; in TEST_F() 85 PhoneNumber invalid_number; in TEST_F() 93 PhoneNumber shared_number; in TEST_F() 100 PhoneNumber carrier_specific_number; in TEST_F() 107 PhoneNumber not_carrier_specific_number; in TEST_F() [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/ |
D | phonenumber_offline_geocoder.h | 36 class PhoneNumber; variable 75 string GetDescriptionForValidNumber(const PhoneNumber& number, 97 string GetDescriptionForValidNumber(const PhoneNumber& number, 102 string GetDescriptionForNumber(const PhoneNumber& number, 107 string GetDescriptionForNumber(const PhoneNumber& number, 132 string GetCountryNameForNumber(const PhoneNumber& number, 145 const char* GetAreaDescription(const PhoneNumber& number, const string& lang,
|