Lines Matching refs:position_
20 position_ = 0; in SimpleStringBuilder()
30 DCHECK(!is_finalized() && position_ + n <= buffer_.length()); in AddSubstring()
32 MemCopy(&buffer_[position_], s, n * kCharSize); in AddSubstring()
33 position_ += n; in AddSubstring()
54 position_ += digits; in AddDecimalInteger()
56 buffer_[position_ - i] = '0' + static_cast<char>(number % 10); in AddDecimalInteger()
63 DCHECK(!is_finalized() && position_ <= buffer_.length()); in Finalize()
65 if (position_ == buffer_.length()) { in Finalize()
66 position_--; in Finalize()
68 for (int i = 3; i > 0 && position_ > i; --i) buffer_[position_ - i] = '.'; in Finalize()
70 buffer_[position_] = '\0'; in Finalize()
73 DCHECK(strlen(buffer_.start()) == static_cast<size_t>(position_)); in Finalize()
74 position_ = -1; in Finalize()
351 DCHECK(!is_finalized() && position_ <= buffer_.length()); in AddFormattedList()
352 int n = VSNPrintF(buffer_ + position_, format, list); in AddFormattedList()
353 if (n < 0 || n >= (buffer_.length() - position_)) { in AddFormattedList()
354 position_ = buffer_.length(); in AddFormattedList()
356 position_ += n; in AddFormattedList()