Lines Matching refs:position_

156   LiteralBuffer() : is_one_byte_(true), position_(0), backing_store_() { }  in LiteralBuffer()
161 if (position_ >= backing_store_.length()) ExpandBuffer(); in INLINE()
164 backing_store_[position_] = static_cast<byte>(code_unit); in INLINE()
165 position_ += kOneByteSize; in INLINE()
171 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = code_unit; in INLINE()
172 position_ += kUC16Size; in INLINE()
174 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in INLINE()
176 position_ += kUC16Size; in INLINE()
177 if (position_ >= backing_store_.length()) ExpandBuffer(); in INLINE()
178 *reinterpret_cast<uint16_t*>(&backing_store_[position_]) = in INLINE()
180 position_ += kUC16Size; in INLINE()
187 return is_one_byte() && keyword.length() == position_ && in is_contextual_keyword()
188 (memcmp(keyword.start(), backing_store_.start(), position_) == 0); in is_contextual_keyword()
193 DCHECK((position_ & 0x1) == 0); in two_byte_literal()
196 position_ >> 1); in two_byte_literal()
203 position_); in one_byte_literal()
207 return is_one_byte_ ? position_ : (position_ >> 1); in length()
211 position_ -= delta * (is_one_byte_ ? kOneByteSize : kUC16Size); in ReduceLength()
215 position_ = 0; in Reset()
226 position_ = other->position_; in CopyFrom()
245 MemCopy(new_store.start(), backing_store_.start(), position_); in ExpandBuffer()
253 int new_content_size = position_ * kUC16Size; in ConvertToTwoByte()
263 for (int i = position_ - 1; i >= 0; i--) { in ConvertToTwoByte()
270 position_ = new_content_size; in ConvertToTwoByte()
275 int position_; variable