OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneNumberMatcher
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
phonenumbermatcher.h
18
// This is a direct port from
PhoneNumberMatcher
.java.
49
class
PhoneNumberMatcher
{
77
PhoneNumberMatcher
(const PhoneNumberUtil& util,
85
PhoneNumberMatcher
(const string& text,
88
~
PhoneNumberMatcher
();
97
// The potential states of a
PhoneNumberMatcher
.
195
DISALLOW_COPY_AND_ASSIGN(
PhoneNumberMatcher
);
phonenumbermatcher.cc
21
#include "phonenumbers/
phonenumbermatcher
.h"
24
#error
phonenumbermatcher
depends on ICU \
357
PhoneNumberMatcher
::
PhoneNumberMatcher
(const PhoneNumberUtil& util,
360
PhoneNumberMatcher
::Leniency leniency,
374
PhoneNumberMatcher
::
PhoneNumberMatcher
(const string& text,
388
PhoneNumberMatcher
::~
PhoneNumberMatcher
() {
392
bool
PhoneNumberMatcher
::IsLatinLetter(char32 letter)
[
all
...]
phonenumberutil.h
65
friend class
PhoneNumberMatcher
;
[
all
...]
/external/chromium_org/content/renderer/android/
phone_number_detector.cc
15
#include "third_party/libphonenumber/src/phonenumbers/
phonenumbermatcher
.h"
19
using i18n::phonenumbers::
PhoneNumberMatcher
;
66
PhoneNumberMatcher
matcher(utf8_input, region_code_);
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
MetadataManager.java
68
InputStream source =
PhoneNumberMatcher
.class.getResourceAsStream(
PhoneNumberUtil.java
477
!
PhoneNumberMatcher
.containsOnlyValidXChars(number, candidate, util)) {
480
return
PhoneNumberMatcher
.isNationalPrefixPresentIfRequired(number, util);
498
!
PhoneNumberMatcher
.containsOnlyValidXChars(number, candidate, util) ||
499
PhoneNumberMatcher
.containsMoreThanOneSlash(candidate) ||
500
!
PhoneNumberMatcher
.isNationalPrefixPresentIfRequired(number, util)) {
503
return
PhoneNumberMatcher
.checkNumberGroupingIsValid(
504
number, candidate, util, new
PhoneNumberMatcher
.NumberGroupingChecker() {
508
return
PhoneNumberMatcher
.allNumberGroupsRemainGrouped(
529
!
PhoneNumberMatcher
.containsOnlyValidXChars(number, candidate, util) ||
530
PhoneNumberMatcher
.containsMoreThanOneSlash(candidate) |
[
all
...]
PhoneNumberMatcher.java
45
final class
PhoneNumberMatcher
implements Iterator<PhoneNumberMatch> {
165
/** The potential states of a
PhoneNumberMatcher
. */
206
PhoneNumberMatcher
(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency,
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberMatcherTest.java
29
* Tests for {@link
PhoneNumberMatcher
}. This only tests basic functionality based on test metadata.
224
assertTrue(
PhoneNumberMatcher
.isLatinLetter('c'));
225
assertTrue(
PhoneNumberMatcher
.isLatinLetter('C'));
226
assertTrue(
PhoneNumberMatcher
.isLatinLetter('\u00C9'));
227
assertTrue(
PhoneNumberMatcher
.isLatinLetter('\u0301')); // Combining acute accent
229
assertFalse(
PhoneNumberMatcher
.isLatinLetter(':'));
230
assertFalse(
PhoneNumberMatcher
.isLatinLetter('5'));
231
assertFalse(
PhoneNumberMatcher
.isLatinLetter('-'));
232
assertFalse(
PhoneNumberMatcher
.isLatinLetter('.'));
233
assertFalse(
PhoneNumberMatcher
.isLatinLetter(' '))
[
all
...]
Completed in 88 milliseconds