Home
last modified time | relevance | path

Searched refs:strippedNumber (Results 1 – 4 of 4) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1842 String strippedNumber = "356778"; in testMaybeStripNationalPrefix() local
1845 strippedNumber, numberToStrip.toString()); in testMaybeStripNationalPrefix()
1850 strippedNumber, numberToStrip.toString()); in testMaybeStripNationalPrefix()
1855 strippedNumber, numberToStrip.toString()); in testMaybeStripNationalPrefix()
1859 strippedNumber = "3123"; in testMaybeStripNationalPrefix()
1863 strippedNumber, numberToStrip.toString()); in testMaybeStripNationalPrefix()
1867 strippedNumber = "22123456"; in testMaybeStripNationalPrefix()
1874 strippedNumber, numberToStrip.toString()); in testMaybeStripNationalPrefix()
1891 StringBuilder strippedNumber = new StringBuilder("45677003898003"); in testMaybeStripInternationalPrefix() local
1896 strippedNumber.toString(), numberToStrip.toString()); in testMaybeStripInternationalPrefix()
[all …]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil_test.js2454 var strippedNumber = '356778';
2458 'Should have had national prefix stripped.', strippedNumber,
2465 'Should have had no change - no national prefix present.', strippedNumber,
2472 'Should not strip anything with empty national prefix.', strippedNumber,
2478 strippedNumber = '3123';
2484 strippedNumber, numberToStrip.toString());
2488 strippedNumber = '22123456';
2496 strippedNumber, numberToStrip.toString());
2519 var strippedNumber = new goog.string.StringBuffer('45677003898003');
2527 strippedNumber.toString(), numberToStrip.toString());
[all …]
Dphonenumberutil.js3328 var strippedNumber = new goog.string.StringBuffer(number);
3329 this.maybeStripExtension(strippedNumber);
3332 strippedNumber.toString());
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2541 StringBuilder strippedNumber = new StringBuilder(number);
2542 maybeStripExtension(strippedNumber);
2543 return VALID_ALPHA_PHONE_PATTERN.matcher(strippedNumber).matches();