Searched refs:appended_ (Results 1 – 6 of 6) sorted by relevance
36 appended_(0), ignore_(0) {} in SortKeyByteSink()46 if (appended_ < capacity_ || Resize(1, appended_)) { in Append()47 buffer_[appended_] = (char)b; in Append()49 ++appended_; in Append()56 int32_t NumberOfBytesAppended() const { return appended_; } in NumberOfBytesAppended()64 return ignore_ + capacity_ - appended_; in GetRemainingCapacity()67 UBool Overflowed() const { return appended_ > capacity_; } in Overflowed()82 int32_t appended_; variable
45 int32_t length = appended_; in Append()46 appended_ += n; in Append()73 int32_t available = capacity_ - appended_; in GetAppendBuffer()76 return buffer_ + appended_; in GetAppendBuffer()77 } else if (Resize(desired_capacity_hint, appended_)) { in GetAppendBuffer()78 *result_capacity = capacity_ - appended_; in GetAppendBuffer()79 return buffer_ + appended_; in GetAppendBuffer()
33 size_(0), appended_(0), overflowed_(FALSE) { in CheckedArrayByteSink()39 size_ = appended_ = 0; in Reset()48 if (n > (INT32_MAX - appended_)) { in Append()50 appended_ = INT32_MAX; in Append()54 appended_ += n; in Append()
26 private int appended_ = 0; field in CollationKeys.SortKeyByteSink41 appended_ = app; in setBufferAndAppended()71 int length = appended_; in Append()72 appended_ += n; in Append()86 if (appended_ < buffer_.length || Resize(1, appended_)) { in Append()87 buffer_[appended_] = (byte) b; in Append()89 ++appended_; in Append()101 return appended_; in NumberOfBytesAppended()105 return /* not used in Java -- ignore_ + */ buffer_.length - appended_; in GetRemainingCapacity()109 return appended_ > buffer_.length; in Overflowed()
33 private int appended_ = 0; field in CollationKeys.SortKeyByteSink48 appended_ = app; in setBufferAndAppended()78 int length = appended_; in Append()79 appended_ += n; in Append()93 if (appended_ < buffer_.length || Resize(1, appended_)) { in Append()94 buffer_[appended_] = (byte) b; in Append()96 ++appended_; in Append()108 return appended_; in NumberOfBytesAppended()112 return /* not used in Java -- ignore_ + */ buffer_.length - appended_; in GetRemainingCapacity()116 return appended_ > buffer_.length; in Overflowed()
216 int32_t NumberOfBytesAppended() const { return appended_; } in NumberOfBytesAppended()221 int32_t appended_; variable