Home
last modified time | relevance | path

Searched refs:isLatinLetter (Results 1 – 2 of 2) sorted by relevance

/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java298 assertTrue(PhoneNumberMatcher.isLatinLetter('c')); in testIsLatinLetter()
299 assertTrue(PhoneNumberMatcher.isLatinLetter('C')); in testIsLatinLetter()
300 assertTrue(PhoneNumberMatcher.isLatinLetter('\u00C9')); in testIsLatinLetter()
301 assertTrue(PhoneNumberMatcher.isLatinLetter('\u0301')); // Combining acute accent in testIsLatinLetter()
303 assertFalse(PhoneNumberMatcher.isLatinLetter(':')); in testIsLatinLetter()
304 assertFalse(PhoneNumberMatcher.isLatinLetter('5')); in testIsLatinLetter()
305 assertFalse(PhoneNumberMatcher.isLatinLetter('-')); in testIsLatinLetter()
306 assertFalse(PhoneNumberMatcher.isLatinLetter('.')); in testIsLatinLetter()
307 assertFalse(PhoneNumberMatcher.isLatinLetter(' ')); in testIsLatinLetter()
308 assertFalse(PhoneNumberMatcher.isLatinLetter('\u6211')); // Chinese character in testIsLatinLetter()
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberMatcher.java289 static boolean isLatinLetter(char letter) { in isLatinLetter() method in PhoneNumberMatcher
402 if (isInvalidPunctuationSymbol(previousChar) || isLatinLetter(previousChar)) { in parseAndVerify()
409 if (isInvalidPunctuationSymbol(nextChar) || isLatinLetter(nextChar)) { in parseAndVerify()