Home | History | Annotate | Download | only in src

Lines Matching full:character

30 #include "scanner-character-streams.h"
52 void BufferedUtf16CharacterStream::PushBack(uc32 character) {
53 if (character == kEndOfInput) {
59 buffer_[--buffer_cursor_ - buffer_] = static_cast<uc16>(character);
63 SlowPushBack(static_cast<uc16>(character));
67 void BufferedUtf16CharacterStream::SlowPushBack(uc16 character) {
83 buffer_[--buffer_cursor_ - buffer_] = character;
232 // Move the cursor back to point at the preceding UTF-8 character start
235 byte character = buffer[--*cursor];
236 if (character > unibrow::Utf8::kMaxOneByteChar) {
237 ASSERT(IsUtf8MultiCharacterFollower(character));
238 // Last byte of a multi-byte character encoding. Step backwards until
247 // Move the cursor forward to point at the next following UTF-8 character start
250 byte character = buffer[(*cursor)++];
251 if (character > unibrow::Utf8::kMaxOneByteChar) {
252 // First character of a multi-byte character encoding.
258 ASSERT(IsUtf8MultiCharacterStart(character));
265 ((0x3211u) >> (((character - 0xC0) >> 2) & 0xC)) & 0x03;