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

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
H A Dunicodetext.h32 // ***************************** UnicodeText **************************
34 // A UnicodeText object is a container for a sequence of Unicode
36 // Data can be appended to it from another UnicodeText, from
40 // variable-width format, UnicodeText does not provide random access
43 // The UnicodeText class defines a const_iterator. The dereferencing
56 // 0x10FFFF], but UnicodeText has the additional restriction that it
66 // UnicodeText tests for interchange-validity, and will substitute a
72 // A UnicodeText is either an "owner", meaning that it owns the memory
73 // for the data buffer and will free it when the UnicodeText is
76 // There are three methods for storing UTF-8 data in a UnicodeText
121 class UnicodeText { class in namespace:i18n::phonenumbers
[all...]
H A Dunicodetext.cc49 UnicodeText::const_iterator::difference_type
50 distance(const UnicodeText::const_iterator& first,
51 const UnicodeText::const_iterator& last) {
108 void UnicodeText::Repr::reserve(int new_capacity) {
126 void UnicodeText::Repr::resize(int new_size) {
140 void UnicodeText::Repr::clear() {
147 void UnicodeText::Repr::Copy(const char* data, int size) {
152 void UnicodeText::Repr::TakeOwnershipOf(char* data, int size, int capacity) {
161 void UnicodeText::Repr::PointTo(const char* data, int size) {
169 void UnicodeText
195 UnicodeText::UnicodeText() { function in class:i18n::phonenumbers::UnicodeText
199 UnicodeText::UnicodeText(const UnicodeText& src) { function in class:i18n::phonenumbers::UnicodeText
204 UnicodeText::UnicodeText(const UnicodeText::const_iterator& first, function in class:i18n::phonenumbers::UnicodeText
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dnormalize_utf8.h30 UnicodeText number_as_unicode;
32 for (UnicodeText::const_iterator it = number_as_unicode.begin();
H A Dunicodestring.cc51 for (UnicodeText::const_iterator it = text_.begin(); it != text_.end();
63 UnicodeText::const_iterator start_it = text_.begin();
65 UnicodeText unicode_text;
76 UnicodeText::const_iterator pos_it = text_.begin();
78 UnicodeText unicode_text;
94 UnicodeText::const_iterator start_it = text_.begin();
96 UnicodeText::const_iterator end_it = start_it;
H A Dunicodestring.h59 typedef UnicodeText::const_iterator const_iterator;
109 UnicodeText text_;
111 // As UnicodeText doesn't provide random access, an operator[] implementation
126 mutable UnicodeText::const_iterator cached_it_;
H A Dphonenumberutil.cc328 UnicodeText number_as_unicode;
332 for (UnicodeText::const_iterator it = number_as_unicode.begin();
767 UnicodeText number_as_unicode;
771 UnicodeText::const_reverse_iterator reverse_it(number_as_unicode.end());
780 number->assign(UnicodeText::UTF8Substring(number_as_unicode.begin(),
1958 UnicodeText number_as_unicode;
1962 UnicodeText::const_iterator it;
1979 UnicodeText::UTF8Substring(it, number_as_unicode.end()));

Completed in 1731 milliseconds