Home | History | Annotate | Download | only in src

Lines Matching refs:position_

156   LiteralBuffer() : is_ascii_(true), position_(0), backing_store_() { }
165 if (position_ >= backing_store_.length()) ExpandBuffer();
168 backing_store_[position_] = static_cast<byte>(code_unit);
169 position_ += kOneByteSize;
175 *reinterpret_cast<uc16*>(&backing_store_[position_]) = code_unit;
176 position_ += kUC16Size;
182 return is_ascii() && keyword.length() == position_ &&
183 (memcmp(keyword.start(), backing_store_.start(), position_) == 0);
188 ASSERT((position_ & 0x1) == 0);
191 position_ >> 1);
198 position_);
202 return is_ascii_ ? position_ : (position_ >> 1);
206 position_ = 0;
223 OS::MemCopy(new_store.start(), backing_store_.start(), position_);
231 int new_content_size = position_ * kUC16Size;
241 for (int i = position_ - 1; i >= 0; i--) {
248 position_ = new_content_size;
253 int position_;