Lines Matching refs:position_
175 LiteralBuffer() : is_ascii_(true), position_(0), backing_store_() { } in LiteralBuffer()
184 if (position_ >= backing_store_.length()) ExpandBuffer(); in INLINE()
187 backing_store_[position_] = static_cast<byte>(code_unit); in INLINE()
188 position_ += kASCIISize; in INLINE()
194 *reinterpret_cast<uc16*>(&backing_store_[position_]) = code_unit; in INLINE()
195 position_ += kUC16Size; in INLINE()
202 ASSERT((position_ & 0x1) == 0); in utf16_literal()
205 position_ >> 1); in utf16_literal()
212 position_); in ascii_literal()
216 return is_ascii_ ? position_ : (position_ >> 1); in length()
220 position_ = 0; in Reset()
237 memcpy(new_store.start(), backing_store_.start(), position_); in ExpandBuffer()
245 int new_content_size = position_ * kUC16Size; in ConvertToUtf16()
255 for (int i = position_ - 1; i >= 0; i--) { in ConvertToUtf16()
262 position_ = new_content_size; in ConvertToUtf16()
267 int position_; variable