Lines Matching refs:repr_
208 repr_.append(first.it_, static_cast<int>(last.it_ - first.it_)); in UnicodeText()
228 repr_.Copy(src.repr_.data_, src.repr_.size_); in Copy()
233 repr_.Copy(buffer, byte_length); in CopyUTF8()
234 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in CopyUTF8()
235 if (!repr_.utf8_was_valid_) { in CopyUTF8()
237 repr_.size_ = ConvertToInterchangeValid(repr_.data_, byte_length); in CopyUTF8()
244 repr_.Copy(buffer, byte_length); in UnsafeCopyUTF8()
253 repr_.TakeOwnershipOf(buffer, byte_length, byte_capacity); in TakeOwnershipOfUTF8()
254 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in TakeOwnershipOfUTF8()
255 if (!repr_.utf8_was_valid_) { in TakeOwnershipOfUTF8()
257 repr_.size_ = ConvertToInterchangeValid(repr_.data_, byte_length); in TakeOwnershipOfUTF8()
265 repr_.TakeOwnershipOf(buffer, byte_length, byte_capacity); in UnsafeTakeOwnershipOfUTF8()
272 repr_.utf8_was_valid_ = UniLib:: IsInterchangeValid(buffer, byte_length); in PointToUTF8()
273 if (repr_.utf8_was_valid_) { in PointToUTF8()
274 repr_.PointTo(buffer, byte_length); in PointToUTF8()
277 repr_.Copy(buffer, byte_length); in PointToUTF8()
278 repr_.size_ = ConvertToInterchangeValid(repr_.data_, byte_length); in PointToUTF8()
285 repr_.PointTo(buffer, byte_length); in UnsafePointToUTF8()
290 repr_.PointTo(src.repr_.data_, src.repr_.size_); in PointTo()
297 repr_.PointTo(first.utf8_data(), static_cast<int>(last.utf8_data() - first.utf8_data())); in PointTo()
304 repr_.append(u.repr_.data_, u.repr_.size_); in append()
311 repr_.append(first.it_, static_cast<int>(last.it_ - first.it_)); in append()
316 repr_.append(utf8, len); in UnsafeAppendUTF8()
359 repr_.clear(); in clear()
372 repr_.append(buf, len); in push_back()
375 repr_.append(" ", 1); in push_back()
379 repr_.append(" ", 1); in push_back()
384 return CodepointCount(repr_.data_, repr_.size_); in size()
389 if (lhs.repr_.size_ != rhs.repr_.size_) return false; in operator ==()
390 return memcmp(lhs.repr_.data_, rhs.repr_.data_, lhs.repr_.size_) == 0; in operator ==()
397 << size() << " repr=" << repr_.DebugString() << "}"; in DebugString()
402 repr_.DebugString().c_str()); in DebugString()
431 return const_iterator(repr_.data_); in begin()
435 return const_iterator(repr_.data_ + repr_.size_); in end()