HomeSort by relevance Sort by last modified time
    Searched refs:RegexCache (Results 1 - 4 of 4) sorted by null

  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
RegexCacheTest.java 28 private RegexCache regexCache;
31 regexCache = new RegexCache(2);
39 regexCache.getPatternForRegex(regex1);
40 assertTrue(regexCache.containsRegex(regex1));
42 regexCache.getPatternForRegex(regex2);
43 assertTrue(regexCache.containsRegex(regex2));
44 assertTrue(regexCache.containsRegex(regex1));
46 regexCache.getPatternForRegex(regex1)
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
RegexCache.java 28 public class RegexCache {
31 public RegexCache(int size) {
AsYouTypeFormatter.java 109 private RegexCache regexCache = new RegexCache(64);
186 regexCache.getPatternForRegex(
226 Matcher m = regexCache.getPatternForRegex(numberPattern).matcher(longestPhoneNumber);
396 Matcher m = regexCache.getPatternForRegex(numFormat.getPattern()).matcher(nationalNumber);
463 regexCache.getPatternForRegex(currentMetaData.getNationalPrefixForParsing());
488 regexCache.getPatternForRegex("\\" + PhoneNumberUtil.PLUS_SIGN + "|" +
PhoneNumberUtil.java 358 private RegexCache regexCache = new RegexCache(100);
    [all...]

Completed in 193 milliseconds