Home
last modified time | relevance | path

Searched refs:UnicodeText (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
Dunicodetext.cc49 UnicodeText::const_iterator::difference_type
50 distance(const UnicodeText::const_iterator& first, in distance()
51 const UnicodeText::const_iterator& last) { in distance()
108 void UnicodeText::Repr::reserve(int new_capacity) { in reserve()
126 void UnicodeText::Repr::resize(int new_size) { in resize()
140 void UnicodeText::Repr::clear() { in clear()
147 void UnicodeText::Repr::Copy(const char* data, int size) { in Copy()
152 void UnicodeText::Repr::TakeOwnershipOf(char* data, int size, int capacity) { in TakeOwnershipOf()
161 void UnicodeText::Repr::PointTo(const char* data, int size) { in PointTo()
169 void UnicodeText::Repr::append(const char* bytes, int byte_length) { in append()
[all …]
Dunicodetext.h121 class UnicodeText {
128 UnicodeText(); // Create an empty text.
129 UnicodeText(const UnicodeText& src); // copy constructor
131 UnicodeText(const const_iterator& first, const const_iterator& last);
135 UnicodeText& operator=(const UnicodeText& src);
138 UnicodeText& Copy(const UnicodeText& src);
139 inline UnicodeText& assign(const UnicodeText& src) { return Copy(src); } in assign()
143 UnicodeText& PointTo(const UnicodeText& src);
144 UnicodeText& PointTo(const const_iterator& first,
147 ~UnicodeText();
[all …]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dunicodestring.cc51 for (UnicodeText::const_iterator it = text_.begin(); it != text_.end(); in indexOf()
63 UnicodeText::const_iterator start_it = text_.begin(); in replace()
65 UnicodeText unicode_text; in replace()
76 UnicodeText::const_iterator pos_it = text_.begin(); in setCharAt()
78 UnicodeText unicode_text; in setCharAt()
94 UnicodeText::const_iterator start_it = text_.begin(); in tempSubString()
96 UnicodeText::const_iterator end_it = start_it; in tempSubString()
Dunicodestring.h59 typedef UnicodeText::const_iterator const_iterator;
109 UnicodeText text_;
126 mutable UnicodeText::const_iterator cached_it_;
Dnormalize_utf8.h30 UnicodeText number_as_unicode; in NormalizeDecimalDigits()
32 for (UnicodeText::const_iterator it = number_as_unicode.begin(); in NormalizeDecimalDigits()
Dphonenumberutil.cc328 UnicodeText number_as_unicode; in NormalizeHelper()
332 for (UnicodeText::const_iterator it = number_as_unicode.begin(); in NormalizeHelper()
767 UnicodeText number_as_unicode; in TrimUnwantedEndChars()
771 UnicodeText::const_reverse_iterator reverse_it(number_as_unicode.end()); in TrimUnwantedEndChars()
780 number->assign(UnicodeText::UTF8Substring(number_as_unicode.begin(), in TrimUnwantedEndChars()
1958 UnicodeText number_as_unicode; in ExtractPossibleNumber()
1962 UnicodeText::const_iterator it; in ExtractPossibleNumber()
1979 UnicodeText::UTF8Substring(it, number_as_unicode.end())); in ExtractPossibleNumber()