Lines Matching full:character
30 #include "scanner-character-streams.h"
51 void BufferedUtf16CharacterStream::PushBack(uc32 character) {
52 if (character == kEndOfInput) {
58 buffer_[--buffer_cursor_ - buffer_] = static_cast<uc16>(character);
62 SlowPushBack(static_cast<uc16>(character));
66 void BufferedUtf16CharacterStream::SlowPushBack(uc16 character) {
82 buffer_[--buffer_cursor_ - buffer_] = character;
230 // Move the cursor back to point at the preceding UTF-8 character start
233 byte character = buffer[--*cursor];
234 if (character > unibrow::Utf8::kMaxOneByteChar) {
235 ASSERT(IsUtf8MultiCharacterFollower(character));
236 // Last byte of a multi-byte character encoding. Step backwards until
245 // Move the cursor forward to point at the next following UTF-8 character start
248 byte character = buffer[(*cursor)++];
249 if (character > unibrow::Utf8::kMaxOneByteChar) {
250 // First character of a multi-byte character encoding.
256 ASSERT(IsUtf8MultiCharacterStart(character));
263 ((0x3211u) >> (((character - 0xC0) >> 2) & 0xC)) & 0x03;