Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/src/phonenumbers/
Dunicodestring.h33 UnicodeString() : cached_index_(-1) {} in UnicodeString()
38 cached_index_(-1) {} in UnicodeString()
41 explicit UnicodeString(char32 codepoint) : cached_index_(-1) { in UnicodeString()
46 : text_(src.text_), cached_index_(-1) {} in UnicodeString()
125 cached_index_ = -1; in invalidateCachedIndex()
130 mutable int cached_index_; variable
Dunicodestring.cc105 if (cached_index_ == -1 || cached_index_ > index) { in operator []()
107 cached_index_ = 0; in operator []()
109 for (; cached_index_ < index; ++cached_index_, ++cached_it_) {} in operator []()