Home
last modified time | relevance | path

Searched refs:buffer_cursor_ (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/
Dpreparser-api.cc64 buffer_cursor_ = buffer_end_ = buffer_ + kPushBackSize; in InputStreamUTF16Buffer()
79 if (buffer_cursor_ <= pushback_buffer_) { in PushBack()
92 buffer_cursor_ = buffer_end_ - 1; in PushBack()
101 buffer_cursor_ = new_buffer + pushback_buffer_backing_size_; in PushBack()
106 pushback_buffer_[buffer_cursor_ - pushback_buffer_- 1] = in PushBack()
114 buffer_cursor_ = buffer_; in ReadBlock()
117 return buffer_end_ > buffer_cursor_; in ReadBlock()
122 buffer_cursor_ = buffer_end_ = buffer_start; in ReadBlock()
Dscanner.cc45 buffer_cursor_ = buffer_; in BufferedUC16CharacterStream()
56 if (pushback_limit_ == NULL && buffer_cursor_ > buffer_) { in PushBack()
58 buffer_[--buffer_cursor_ - buffer_] = static_cast<uc16>(character); in PushBack()
77 buffer_cursor_ = buffer_end_; in SlowPushBack()
80 ASSERT(buffer_cursor_ > buffer_); in SlowPushBack()
82 buffer_[--buffer_cursor_ - buffer_] = character; in SlowPushBack()
83 if (buffer_cursor_ == buffer_) { in SlowPushBack()
85 } else if (buffer_cursor_ < pushback_limit_) { in SlowPushBack()
86 pushback_limit_ = buffer_cursor_; in SlowPushBack()
93 buffer_cursor_ = buffer_; in ReadBlock()
[all …]
Dscanner-base.h68 if (buffer_cursor_ < buffer_end_ || ReadBlock()) { in Advance()
70 return static_cast<uc32>(*(buffer_cursor_++)); in Advance()
91 static_cast<unsigned>(buffer_end_ - buffer_cursor_); in SeekForward()
93 buffer_cursor_ += character_count; in SeekForward()
116 const uc16* buffer_cursor_; variable
Dscanner.h111 ASSERT(buffer_cursor_ > raw_data_); in PushBack()
112 buffer_cursor_--; in PushBack()