Searched refs:prefixMatcher (Results 1 – 3 of 3) sorted by relevance
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 2904 Matcher prefixMatcher = regexCache.getPatternForRegex(possibleNationalPrefix).matcher(number); 2905 if (prefixMatcher.lookingAt()) { 2912 int numOfGroups = prefixMatcher.groupCount(); 2915 || prefixMatcher.group(numOfGroups) == null) { 2919 number.substring(prefixMatcher.end()), generalDesc, false)) { 2922 if (carrierCode != null && numOfGroups > 0 && prefixMatcher.group(numOfGroups) != null) { 2923 carrierCode.append(prefixMatcher.group(1)); 2925 number.delete(0, prefixMatcher.end()); 2931 transformedNumber.replace(0, numberLength, prefixMatcher.replaceFirst(transformRule)); 2937 carrierCode.append(prefixMatcher.group(1));
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 2948 Matcher prefixMatcher = regexCache.getPatternForRegex(possibleNationalPrefix).matcher(number); 2949 if (prefixMatcher.lookingAt()) { 2956 int numOfGroups = prefixMatcher.groupCount(); 2959 || prefixMatcher.group(numOfGroups) == null) { 2963 number.substring(prefixMatcher.end()), generalDesc, false)) { 2966 if (carrierCode != null && numOfGroups > 0 && prefixMatcher.group(numOfGroups) != null) { 2967 carrierCode.append(prefixMatcher.group(1)); 2969 number.delete(0, prefixMatcher.end()); 2975 transformedNumber.replace(0, numberLength, prefixMatcher.replaceFirst(transformRule)); 2981 carrierCode.append(prefixMatcher.group(1));
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateItemCounts.java | 363 Matcher prefixMatcher = prefix.matcher(""); in compare() local 372 if (!prefixMatcher.reset(path).find()) { in compare() 375 String prefix = prefixMatcher.group(1); in compare() 377 String localPath = prefixMatcher.group(2); in compare()
|