Lines Matching refs:repr_
104 this->repr_ = std::move(src.repr_); in operator =()
109 repr_.Copy(src.repr_.data_, src.repr_.size_); in Copy()
114 repr_.PointTo(buffer, byte_length); in PointToUTF8()
119 repr_.Copy(buffer, byte_length); in CopyUTF8()
124 repr_.append(utf8, len); in AppendUTF8()
128 const char* UnicodeText::data() const { return repr_.data_; } in data()
130 int UnicodeText::size_bytes() const { return repr_.size_; } in size_bytes()
183 repr_.append(str, char_len); in push_back()
187 void UnicodeText::clear() { repr_.clear(); } in clear()
196 return IsValidUTF8(repr_.data_, repr_.size_); in is_valid()
200 if (repr_.size_ != other.repr_.size_) { in operator ==()
203 return memcmp(repr_.data_, other.repr_.data_, repr_.size_) == 0; in operator ==()
233 result.repr_.Copy(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
237 result.repr_.PointTo(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
259 return const_iterator(repr_.data_); in begin()
263 return const_iterator(repr_.data_ + repr_.size_); in end()