Home
last modified time | relevance | path

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

/external/v8/src/parsing/
Dscanner-character-streams.cc55 buffer_cursor_ = buffer_; in BufferedUtf16CharacterStream()
67 if (pushback_limit_ == NULL && buffer_cursor_ > buffer_) { in PushBack()
69 buffer_[--buffer_cursor_ - buffer_] = static_cast<uc16>(character); in PushBack()
88 buffer_cursor_ = buffer_end_; in SlowPushBack()
91 DCHECK(buffer_cursor_ > buffer_); in SlowPushBack()
93 buffer_[--buffer_cursor_ - buffer_] = character; in SlowPushBack()
94 if (buffer_cursor_ == buffer_) { in SlowPushBack()
96 } else if (buffer_cursor_ < pushback_limit_) { in SlowPushBack()
97 pushback_limit_ = buffer_cursor_; in SlowPushBack()
104 buffer_cursor_ = buffer_; in ReadBlock()
[all …]
Dscanner.h45 if (buffer_cursor_ < buffer_end_ || ReadBlock()) { in Advance()
47 return static_cast<uc32>(*(buffer_cursor_++)); in Advance()
67 size_t buffered_chars = buffer_end_ - buffer_cursor_; in SeekForward()
69 buffer_cursor_ += code_unit_count; in SeekForward()
95 const uint16_t* buffer_cursor_; variable
Dscanner-character-streams.h160 DCHECK(buffer_cursor_ > raw_data_); in PushBack()
161 buffer_cursor_--; in PushBack()