Home
last modified time | relevance | path

Searched refs:regexCache (Results 1 – 9 of 9) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/internal/
DRegexCacheTest.java28 private RegexCache regexCache; field in RegexCacheTest
31 regexCache = new RegexCache(2); in RegexCacheTest()
39 regexCache.getPatternForRegex(regex1); in testRegexInsertion()
40 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
42 regexCache.getPatternForRegex(regex2); in testRegexInsertion()
43 assertTrue(regexCache.containsRegex(regex2)); in testRegexInsertion()
44 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
46 regexCache.getPatternForRegex(regex1); in testRegexInsertion()
47 assertTrue(regexCache.containsRegex(regex1)); in testRegexInsertion()
49 regexCache.getPatternForRegex(regex3); in testRegexInsertion()
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexBasedMatcher.java33 private final RegexCache regexCache = new RegexCache(100); field in RegexBasedMatcher
46 return match(number, regexCache.getPatternForRegex(nationalNumberPattern), allowPrefixMatch); in matchNationalNumber()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/internal/
DRegexBasedMatcher.java35 private final RegexCache regexCache = new RegexCache(100); field in RegexBasedMatcher
48 return match(number, regexCache.getPatternForRegex(nationalNumberPattern), allowPrefixMatch); in matchNationalNumber()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java111 private RegexCache regexCache = new RegexCache(64); field in AsYouTypeFormatter
214 Pattern leadingDigitsPattern = regexCache.getPatternForRegex( in narrowDownPossibleFormats()
240 Matcher m = regexCache.getPatternForRegex(numberPattern).matcher(longestPhoneNumber); in getFormattingTemplate()
428 Matcher m = regexCache.getPatternForRegex(numberFormat.getPattern()).matcher(nationalNumber); in attemptToFormatAccruedDigits()
541 regexCache.getPatternForRegex(currentMetadata.getNationalPrefixForParsing()); in removeNationalPrefixFromNationalNumber()
568 regexCache.getPatternForRegex("\\" + PhoneNumberUtil.PLUS_SIGN + "|" in attemptToExtractIdd()
DPhoneNumberUtil.java629 private final RegexCache regexCache = new RegexCache(100);
1914 if (size == 0 || regexCache.getPatternForRegex(
1917 Matcher m = regexCache.getPatternForRegex(numFormat.getPattern()).matcher(nationalNumber);
1941 regexCache.getPatternForRegex(formattingPattern.getPattern()).matcher(nationalNumber);
2360 if (regexCache.getPatternForRegex(metadata.getLeadingDigits())
2922 Pattern iddPattern = regexCache.getPatternForRegex(possibleIddPrefix);
2948 Matcher prefixMatcher = regexCache.getPatternForRegex(possibleNationalPrefix).matcher(number);
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java109 private RegexCache regexCache = new RegexCache(64); field in AsYouTypeFormatter
212 Pattern leadingDigitsPattern = regexCache.getPatternForRegex( in narrowDownPossibleFormats()
238 Matcher m = regexCache.getPatternForRegex(numberPattern).matcher(longestPhoneNumber); in getFormattingTemplate()
423 Matcher m = regexCache.getPatternForRegex(numberFormat.getPattern()).matcher(nationalNumber); in attemptToFormatAccruedDigits()
535 regexCache.getPatternForRegex(currentMetadata.getNationalPrefixForParsing()); in removeNationalPrefixFromNationalNumber()
562 regexCache.getPatternForRegex("\\" + PhoneNumberUtil.PLUS_SIGN + "|" in attemptToExtractIdd()
DPhoneNumberUtil.java596 private final RegexCache regexCache = new RegexCache(100);
1877 if (size == 0 || regexCache.getPatternForRegex(
1880 Matcher m = regexCache.getPatternForRegex(numFormat.getPattern()).matcher(nationalNumber);
1904 regexCache.getPatternForRegex(formattingPattern.getPattern()).matcher(nationalNumber);
2320 if (regexCache.getPatternForRegex(metadata.getLeadingDigits())
2878 Pattern iddPattern = regexCache.getPatternForRegex(possibleIddPrefix);
2904 Matcher prefixMatcher = regexCache.getPatternForRegex(possibleNationalPrefix).matcher(number);
/external/guice/lib/build/jdiff/
Dxerces.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/xml/ javax/ ...
/external/cldr/tools/java/libs/
DxercesImpl.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ ...