Lines Matching refs:backing_store_
71 int capacity = Max(min_capacity, backing_store_.length()); in NewCapacity()
78 MemCopy(new_store.start(), backing_store_.start(), position_); in ExpandBuffer()
79 backing_store_.Dispose(); in ExpandBuffer()
80 backing_store_ = new_store; in ExpandBuffer()
87 if (new_content_size >= backing_store_.length()) { in ConvertToTwoByte()
92 new_store = backing_store_; in ConvertToTwoByte()
94 uint8_t* src = backing_store_.start(); in ConvertToTwoByte()
99 if (new_store.start() != backing_store_.start()) { in ConvertToTwoByte()
100 backing_store_.Dispose(); in ConvertToTwoByte()
101 backing_store_ = new_store; in ConvertToTwoByte()
109 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar()
112 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; in AddTwoByteChar()
115 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar()
118 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddTwoByteChar()
119 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in AddTwoByteChar()