/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
D | phonenumbermatcher.cc | 357 PhoneNumberMatcher::PhoneNumberMatcher(const PhoneNumberUtil& util, in PhoneNumberMatcher() function in i18n::phonenumbers::PhoneNumberMatcher 360 PhoneNumberMatcher::Leniency leniency, in PhoneNumberMatcher() 374 PhoneNumberMatcher::PhoneNumberMatcher(const string& text, in PhoneNumberMatcher() function in i18n::phonenumbers::PhoneNumberMatcher 388 PhoneNumberMatcher::~PhoneNumberMatcher() { in ~PhoneNumberMatcher() 392 bool PhoneNumberMatcher::IsLatinLetter(char32 letter) { in IsLatinLetter() 406 bool PhoneNumberMatcher::ParseAndVerify(const string& candidate, int offset, in ParseAndVerify() 473 bool PhoneNumberMatcher::VerifyAccordingToLeniency( in VerifyAccordingToLeniency() 477 case PhoneNumberMatcher::POSSIBLE: in VerifyAccordingToLeniency() 479 case PhoneNumberMatcher::VALID: in VerifyAccordingToLeniency() 485 case PhoneNumberMatcher::STRICT_GROUPING: { in VerifyAccordingToLeniency() [all …]
|
D | phonenumbermatcher.h | 49 class PhoneNumberMatcher { 77 PhoneNumberMatcher(const PhoneNumberUtil& util, 85 PhoneNumberMatcher(const string& text, 88 ~PhoneNumberMatcher(); 195 DISALLOW_COPY_AND_ASSIGN(PhoneNumberMatcher);
|
D | phonenumberutil.h | 65 friend class PhoneNumberMatcher; variable
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 42 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 50 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 57 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 63 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 66 assertFalse(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 69 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 77 assertTrue(PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate)); in testContainsMoreThanOneSlashInNationalNumber() 298 assertTrue(PhoneNumberMatcher.isLatinLetter('c')); in testIsLatinLetter() 299 assertTrue(PhoneNumberMatcher.isLatinLetter('C')); in testIsLatinLetter() 300 assertTrue(PhoneNumberMatcher.isLatinLetter('\u00C9')); in testIsLatinLetter() [all …]
|
/external/chromium_org/content/renderer/android/ |
D | phone_number_detector.cc | 19 using i18n::phonenumbers::PhoneNumberMatcher; 66 PhoneNumberMatcher matcher(utf8_input, region_code_); in FindContent()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | MetadataManager.java | 75 InputStream source = PhoneNumberMatcher.class.getResourceAsStream( in loadAlternateFormatsMetadataFromFile() 105 InputStream source = PhoneNumberMatcher.class.getResourceAsStream( in loadShortNumberMetadataFromFile()
|
D | PhoneNumberUtil.java | 461 !PhoneNumberMatcher.containsOnlyValidXChars(number, candidate, util)) { in verify() 464 return PhoneNumberMatcher.isNationalPrefixPresentIfRequired(number, util); in verify() 483 !PhoneNumberMatcher.containsOnlyValidXChars(number, candidate, util) || in verify() 484 PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate) || in verify() 485 !PhoneNumberMatcher.isNationalPrefixPresentIfRequired(number, util)) { in verify() 488 return PhoneNumberMatcher.checkNumberGroupingIsValid( in verify() 489 number, candidate, util, new PhoneNumberMatcher.NumberGroupingChecker() { in verify() 493 return PhoneNumberMatcher.allNumberGroupsRemainGrouped( in verify() 514 !PhoneNumberMatcher.containsOnlyValidXChars(number, candidate, util) || in verify() 515 PhoneNumberMatcher.containsMoreThanOneSlashInNationalNumber(number, candidate) || in verify() [all …]
|
D | PhoneNumberMatcher.java | 43 final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> { class 225 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() method in PhoneNumberMatcher
|
/external/libphonenumber/java/ |
D | release_notes.txt | 486 * Refactoring of matching functions, including moving them to PhoneNumberMatcher. 506 - PhoneNumberMatcher doesn't match timestamps as phone-numbers 540 - Improve PhoneNumberMatcher to not match numbers ending with '%'. 552 - Improvement to PhoneNumberMatcher: requires national prefix to be present when matching 619 - PhoneNumberMatcher improvements - added STRICT_GROUPING and EXACT_GROUPING levels, numbers 678 - Fixes for PhoneNumberMatcher to be more restrictive in valid mode and not match numbers 708 - Improved PhoneNumberMatcher for cases with other numbers before or after the phone number. 718 - Adding date exclusion pattern in PhoneNumberMatcher.
|