Searched refs:MatcherApi (Results 1 - 12 of 12) sorted by relevance
/third_party/libphonenumber/cpp/test/phonenumbers/ |
H A D | matcher_test.cc | 15 // Tests that all implementations of MatcherApi are consistent. 43 const MatcherApi& matcher, in ExpectMatched() 53 const MatcherApi& matcher, in ExpectInvalid() 63 const MatcherApi& matcher, in ExpectTooLong() 76 void CheckMatcherBehavesAsExpected(const MatcherApi& matcher) const { in CheckMatcherBehavesAsExpected()
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/internal/ |
H A D | MatcherTest.java | 24 * Tests that all implementations of {@code MatcherApi} are consistent. 31 private void checkMatcherBehavesAsExpected(MatcherApi matcher) { in checkMatcherBehavesAsExpected() 68 private void assertMatched(MatcherApi matcher, String number, PhoneNumberDesc desc) { in assertMatched() 75 private void assertInvalid(MatcherApi matcher, String number, PhoneNumberDesc desc) { in assertInvalid() 82 private void assertTooLong(MatcherApi matcher, String number, PhoneNumberDesc desc) { in assertTooLong()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | matcher_api.h | 32 class MatcherApi { class 34 virtual ~MatcherApi() {} in ~MatcherApi()
|
H A D | shortnumberinfo.h | 38 class MatcherApi; 184 const scoped_ptr<const MatcherApi> matcher_api_;
|
H A D | regex_based_matcher.h | 35 class RegexBasedMatcher : public MatcherApi {
|
H A D | phonenumberutil.h | 43 class MatcherApi; 797 scoped_ptr<MatcherApi> matcher_api_;
|
H A D | shortnumberinfo.cc | 90 const MatcherApi& matcher_api, in MatchesPossibleNumberAndNationalNumber()
|
H A D | phonenumberutil.cc | 511 bool IsMatch(const MatcherApi& matcher_api, in IsMatch()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/ |
H A D | RegexBasedMatcher.java | 28 public final class RegexBasedMatcher implements MatcherApi { 29 public static MatcherApi create() { in create()
|
H A D | MatcherApi.java | 25 public interface MatcherApi { interface
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | ShortNumberInfo.java | 19 import com.google.i18n.phonenumbers.internal.MatcherApi; 75 // MatcherApi supports the basic matching method for checking if a given national number matches 77 private final MatcherApi matcherApi; 88 ShortNumberInfo(MatcherApi matcherApi, in ShortNumberInfo()
|
H A D | PhoneNumberUtil.java | 24 import com.google.i18n.phonenumbers.internal.MatcherApi; 675 private final MatcherApi matcherApi = RegexBasedMatcher.create();
|
Completed in 16 milliseconds