Searched refs:Leniency (Results 1 – 6 of 6) sorted by relevance
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency; 549 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); in testMatchesWithPossibleLeniency() 555 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); in testNonMatchesWithPossibleLeniency() 563 doTestNumberMatchesForLeniency(testCases, Leniency.VALID); in testMatchesWithValidLeniency() 570 doTestNumberNonMatchesForLeniency(testCases, Leniency.VALID); in testNonMatchesWithValidLeniency() 577 doTestNumberMatchesForLeniency(testCases, Leniency.STRICT_GROUPING); in testMatchesWithStrictGroupingLeniency() 585 doTestNumberNonMatchesForLeniency(testCases, Leniency.STRICT_GROUPING); in testNonMatchesWithStrictGroupLeniency() 591 doTestNumberMatchesForLeniency(testCases, Leniency.EXACT_GROUPING); in testMatchesWithExactGroupingLeniency() 600 doTestNumberNonMatchesForLeniency(testCases, Leniency.EXACT_GROUPING); in testNonMatchesExactGroupLeniency() 603 private void doTestNumberMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) { in doTestNumberMatchesForLeniency() [all …]
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumbermatcher.h | 54 enum Leniency { enum 80 Leniency leniency, 163 bool VerifyAccordingToLeniency(Leniency leniency, const PhoneNumber& number, 195 Leniency leniency_;
|
D | phonenumbermatcher.cc | 399 PhoneNumberMatcher::Leniency leniency, in PhoneNumberMatcher() 525 Leniency leniency, const PhoneNumber& number, in VerifyAccordingToLeniency()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcher.java | 19 import com.google.i18n.phonenumbers.PhoneNumberUtil.Leniency; 200 private final Leniency leniency; 232 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency, in PhoneNumberMatcher() 402 if (leniency.compareTo(Leniency.VALID) >= 0) { in parseAndVerify()
|
D | PhoneNumberUtil.java | 529 public enum Leniency { enum in PhoneNumberUtil 3173 return findNumbers(text, defaultRegion, Leniency.VALID, Long.MAX_VALUE); 3190 final CharSequence text, final String defaultRegion, final Leniency leniency,
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | phonenumbermatcher_test.cc | 97 PhoneNumberMatcher::Leniency leniency) const { in GetMatcherWithLeniency() 106 PhoneNumberMatcher::Leniency leniency) const { in DoTestNumberMatchesForLeniency() 129 PhoneNumberMatcher::Leniency leniency) const { in DoTestNumberNonMatchesForLeniency() 287 PhoneNumberMatcher::Leniency leniency) { in DoTestInContext() 317 PhoneNumberMatcher::Leniency leniency) { in EnsureTermination()
|