Home
last modified time | relevance | path

Searched refs:MatcherApi (Results 1 - 12 of 12) sorted by relevance

/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dmatcher_test.cc15 // 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 DMatcherTest.java24 * 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 Dmatcher_api.h32 class MatcherApi { class
34 virtual ~MatcherApi() {} in ~MatcherApi()
H A Dshortnumberinfo.h38 class MatcherApi;
184 const scoped_ptr<const MatcherApi> matcher_api_;
H A Dregex_based_matcher.h35 class RegexBasedMatcher : public MatcherApi {
H A Dphonenumberutil.h43 class MatcherApi;
797 scoped_ptr<MatcherApi> matcher_api_;
H A Dshortnumberinfo.cc90 const MatcherApi& matcher_api, in MatchesPossibleNumberAndNationalNumber()
H A Dphonenumberutil.cc511 bool IsMatch(const MatcherApi& matcher_api, in IsMatch()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/internal/
H A DRegexBasedMatcher.java28 public final class RegexBasedMatcher implements MatcherApi {
29 public static MatcherApi create() { in create()
H A DMatcherApi.java25 public interface MatcherApi { interface
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
H A DShortNumberInfo.java19 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 DPhoneNumberUtil.java24 import com.google.i18n.phonenumbers.internal.MatcherApi;
675 private final MatcherApi matcherApi = RegexBasedMatcher.create();

Completed in 17 milliseconds