Lines Matching refs:repr_
106 repr_.PointTo(src.repr_.data_, src.repr_.size_); in UnicodeText()
111 this->repr_ = std::move(src.repr_); in operator =()
116 repr_.Copy(src.repr_.data_, src.repr_.size_); in Copy()
121 repr_.PointTo(buffer, byte_length); in PointToUTF8()
126 repr_.Copy(buffer, byte_length); in CopyUTF8()
131 repr_.append(utf8, len); in AppendUTF8()
135 const char* UnicodeText::data() const { return repr_.data_; } in data()
137 int UnicodeText::size_bytes() const { return repr_.size_; } in size_bytes()
190 repr_.append(str, char_len); in push_back()
194 void UnicodeText::clear() { repr_.clear(); } in clear()
203 return IsValidUTF8(repr_.data_, repr_.size_); in is_valid()
223 if (repr_.size_ != other.repr_.size_) { in operator ==()
226 return memcmp(repr_.data_, other.repr_.data_, repr_.size_) == 0; in operator ==()
261 result.repr_.Copy(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
265 result.repr_.PointTo(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
287 return const_iterator(repr_.data_); in begin()
291 return const_iterator(repr_.data_ + repr_.size_); in end()