Searched refs:numberDesc (Results 1 – 7 of 7) sorted by relevance
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/ |
D | RegexBasedMatcher.java | 38 public boolean matchNationalNumber(CharSequence number, PhoneNumberDesc numberDesc, in matchNationalNumber() argument 40 String nationalNumberPattern = numberDesc.getNationalNumberPattern(); in matchNationalNumber()
|
D | MatcherApi.java | 30 boolean matchNationalNumber(CharSequence number, PhoneNumberDesc numberDesc, in matchNationalNumber() argument
|
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
D | shortnumberinfo.js | 701 .matchesPossibleNumberAndNationalNumber_ = function(number, numberDesc) { argument 702 if (numberDesc.possibleLengthArray().length > 0 && 703 !numberDesc.possibleLengthArray().includes(number.length)) { 707 numberDesc.getNationalNumberPatternOrDefault(), number.toString());
|
D | phonenumberutil.js | 3022 function(nationalNumber, numberDesc) { argument 3028 if (numberDesc.possibleLengthCount() > 0 && 3029 numberDesc.possibleLengthArray().indexOf(actualLength) == -1) { 3033 numberDesc.getNationalNumberPatternOrDefault(), nationalNumber);
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | ShortNumberInfo.java | 562 PhoneNumberDesc numberDesc) { in matchesPossibleNumberAndNationalNumber() argument 563 if (numberDesc.getPossibleLengthCount() > 0 in matchesPossibleNumberAndNationalNumber() 564 && !numberDesc.getPossibleLengthList().contains(number.length())) { in matchesPossibleNumberAndNationalNumber() 567 return matcherApi.matchNationalNumber(number, numberDesc, false); in matchesPossibleNumberAndNationalNumber()
|
D | PhoneNumberUtil.java | 2323 boolean isNumberMatchingDesc(String nationalNumber, PhoneNumberDesc numberDesc) { 2328 List<Integer> possibleLengths = numberDesc.getPossibleLengthList(); 2332 return matcherApi.matchNationalNumber(nationalNumber, numberDesc, false);
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
D | BuildMetadataFromXml.java | 445 PhoneNumberDesc.Builder numberDesc = PhoneNumberDesc.newBuilder(); in processPhoneNumberDescElement() local 450 numberDesc.addPossibleLength(-1); in processPhoneNumberDescElement() 451 return numberDesc; in processPhoneNumberDescElement() 467 setPossibleLengths(lengths, localOnlyLengths, parentDesc.build(), numberDesc); in processPhoneNumberDescElement() 472 numberDesc.setNationalNumberPattern( in processPhoneNumberDescElement() 478 numberDesc.setExampleNumber(exampleNumber.item(0).getFirstChild().getNodeValue()); in processPhoneNumberDescElement() 481 return numberDesc; in processPhoneNumberDescElement()
|