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