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

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
phonenumbermatch.cc 20 #include "phonenumbers/phonenumbermatch.h"
31 PhoneNumberMatch::PhoneNumberMatch(int start,
37 PhoneNumberMatch::PhoneNumberMatch()
41 const PhoneNumber& PhoneNumberMatch::number() const {
45 int PhoneNumberMatch::start() const {
49 int PhoneNumberMatch::end() const {
53 int PhoneNumberMatch::length() const {
57 const string& PhoneNumberMatch::raw_string() const
    [all...]
phonenumbermatch.h 33 // PhoneNumberMatch match;
49 // This class is a port of PhoneNumberMatch.java
64 class PhoneNumberMatch {
70 PhoneNumberMatch(int start,
75 PhoneNumberMatch();
77 ~PhoneNumberMatch() {}
105 bool Equals(const PhoneNumberMatch& number) const;
107 void CopyFrom(const PhoneNumberMatch& number);
119 DISALLOW_COPY_AND_ASSIGN(PhoneNumberMatch);
phonenumbermatcher.h 45 class PhoneNumberMatch;
94 bool Next(PhoneNumberMatch* match);
107 bool Find(int index, PhoneNumberMatch* match);
118 PhoneNumberMatch* match);
124 PhoneNumberMatch* match);
130 PhoneNumberMatch* match);
190 scoped_ptr<PhoneNumberMatch> last_match_;
phonenumbermatcher.cc 48 #include "phonenumbers/phonenumbermatch.h"
407 PhoneNumberMatch* match) {
461 // of PhoneNumberMatch.
524 PhoneNumberMatch* match) {
580 PhoneNumberMatch* match) {
609 PhoneNumberMatch temp_match;
613 last_match_.reset(new PhoneNumberMatch(temp_match.start(),
623 bool PhoneNumberMatcher::Next(PhoneNumberMatch* match) {
635 bool PhoneNumberMatcher::Find(int index, PhoneNumberMatch* match) {
    [all...]
  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberMatchTest.java 24 * Tests for {@link PhoneNumberMatch}.
36 PhoneNumberMatch match1 = new PhoneNumberMatch(10, "1 800 234 45 67", number);
37 PhoneNumberMatch match2 = new PhoneNumberMatch(10, "1 800 234 45 67", number);
53 new PhoneNumberMatch(-110, "1 800 234 45 67", new PhoneNumber());
58 new PhoneNumberMatch(10, "1 800 234 45 67", null);
63 new PhoneNumberMatch(10, null, new PhoneNumber());
68 new PhoneNumberMatch(10, null, null);
PhoneNumberMatcherTest.java 203 Iterator<PhoneNumberMatch> iterator =
205 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null;
216 PhoneNumberMatch matchWithSpaces = iterator.hasNext() ? iterator.next() : null;
332 PhoneNumberMatch match1 = new PhoneNumberMatch(5, "650-253-4561", number1);
337 PhoneNumberMatch match2 = new PhoneNumberMatch(21, "455-234-3451", number2);
339 Iterator<PhoneNumberMatch> matches = phoneUtil.findNumbers(text, region).iterator();
524 Iterator<PhoneNumberMatch> iterator =
526 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberMatch.java 40 * PhoneNumberMatch m = util.findNumbers(text, country).iterator().next();
56 public final class PhoneNumberMatch {
71 PhoneNumberMatch(int start, String rawString, PhoneNumber number) {
113 if (!(obj instanceof PhoneNumberMatch)) {
116 PhoneNumberMatch other = (PhoneNumberMatch) obj;
123 return "PhoneNumberMatch [" + start() + "," + end() + ") " + rawString;
PhoneNumberMatcher.java 45 final class PhoneNumberMatcher implements Iterator<PhoneNumberMatch> {
187 private PhoneNumberMatch lastMatch = null;
229 private PhoneNumberMatch find(int index) {
240 PhoneNumberMatch match = extractMatch(candidate, start);
295 private PhoneNumberMatch extractMatch(CharSequence candidate, int offset) {
310 PhoneNumberMatch match = parseAndVerify(rawString, offset);
328 private PhoneNumberMatch extractInnerMatch(String candidate, int offset) {
338 PhoneNumberMatch match = parseAndVerify(firstGroupOnly.toString(), offset);
383 * corresponding {@link PhoneNumberMatch} is returned, otherwise this method returns null.
389 private PhoneNumberMatch parseAndVerify(String candidate, int offset)
    [all...]
PhoneNumberUtil.java     [all...]
  /external/chromium_org/content/renderer/android/
phone_number_detector.cc 14 #include "third_party/libphonenumber/src/phonenumbers/phonenumbermatch.h"
18 using i18n::phonenumbers::PhoneNumberMatch;
68 PhoneNumberMatch match;
  /frameworks/base/core/java/android/text/util/
Linkify.java 40 import com.android.i18n.phonenumbers.PhoneNumberMatch;
452 Iterable<PhoneNumberMatch> matches = phoneUtil.findNumbers(s.toString(),
454 for (PhoneNumberMatch match : matches) {

Completed in 738 milliseconds