Home
last modified time | relevance | path

Searched refs:fullNumber (Results 1 – 2 of 2) sorted by relevance

/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2802 int extractCountryCode(StringBuilder fullNumber, StringBuilder nationalNumber) {
2803 if ((fullNumber.length() == 0) || (fullNumber.charAt(0) == '0')) {
2808 int numberLength = fullNumber.length();
2810 potentialCountryCode = Integer.parseInt(fullNumber.substring(0, i));
2812 nationalNumber.append(fullNumber.substring(i));
2858 StringBuilder fullNumber = new StringBuilder(number);
2866 maybeStripInternationalPrefixAndNormalize(fullNumber, possibleCountryIddPrefix);
2871 if (fullNumber.length() <= MIN_LENGTH_FOR_NSN) {
2876 int potentialCountryCode = extractCountryCode(fullNumber, nationalNumber);
2892 String normalizedNumber = fullNumber.toString();
[all …]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumberutil.js3661 function(fullNumber, nationalNumber) { argument
3664 var fullNumberStr = fullNumber.toString();
3735 var fullNumber = new goog.string.StringBuffer(number);
3748 fullNumber, possibleCountryIddPrefix);
3754 if (fullNumber.getLength() <=
3759 var potentialCountryCode = this.extractCountryCode(fullNumber,
3778 var normalizedNumber = fullNumber.toString();
3797 validNumberPattern, fullNumber.toString()) &&
3801 fullNumber.toString(), defaultRegionMetadata) ==