Lines Matching refs:backing_store_
70 int capacity = Max(min_capacity, backing_store_.length()); in NewCapacity()
77 MemCopy(new_store.start(), backing_store_.start(), position_); in ExpandBuffer()
78 backing_store_.Dispose(); in ExpandBuffer()
79 backing_store_ = new_store; in ExpandBuffer()
86 if (new_content_size >= backing_store_.length()) { in ConvertToTwoByte()
91 new_store = backing_store_; in ConvertToTwoByte()
93 uint8_t* src = backing_store_.start(); in ConvertToTwoByte()
98 if (new_store.start() != backing_store_.start()) { in ConvertToTwoByte()
99 backing_store_.Dispose(); in ConvertToTwoByte()
100 backing_store_ = new_store; in ConvertToTwoByte()
107 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddCharSlow()
110 backing_store_[position_] = static_cast<byte>(code_unit); in AddCharSlow()
118 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; in AddCharSlow()
121 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddCharSlow()
124 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddCharSlow()
125 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddCharSlow()