Home | History | Annotate | Download | only in parsing

Lines Matching full:character

5 #include "src/parsing/scanner-character-streams.h"
62 void BufferedUtf16CharacterStream::PushBack(uc32 character) {
63 if (character == kEndOfInput) {
69 buffer_[--buffer_cursor_ - buffer_] = static_cast<uc16>(character);
73 SlowPushBack(static_cast<uc16>(character));
77 void BufferedUtf16CharacterStream::SlowPushBack(uc16 character) {
93 buffer_[--buffer_cursor_ - buffer_] = character;
200 // one character early (in the normal case), because we need to have at least
201 // two free spaces in the buffer to be sure that the next character will fit.
263 // Move the cursor back to point at the preceding UTF-8 character start
266 byte character = buffer[--*cursor];
267 if (character > unibrow::Utf8::kMaxOneByteChar) {
268 DCHECK(IsUtf8MultiCharacterFollower(character));
269 // Last byte of a multi-byte character encoding. Step backwards until
278 // Move the cursor forward to point at the next following UTF-8 character start
281 byte character = buffer[(*cursor)++];
282 if (character > unibrow::Utf8::kMaxOneByteChar) {
283 // First character of a multi-byte character encoding.
289 DCHECK(IsUtf8MultiCharacterStart(character));
296 ((0x3211u) >> (((character - 0xC0) >> 2) & 0xC)) & 0x03;
341 // completely; it will typically leave the last character empty (see
354 // character (the rest of the bytes will be in the next chunk).
360 // don't handle the case where a UTF-8 character is split over several
498 // directions) to find out the (possibly multi-byte) character it belongs
500 // multi-byte character is of the form 0b110XXXXX, 0b1110XXXX or
506 // Move the bytes which are part of the split character (which started in
531 // Move bytes which are part of an incomplete character from the end of the
534 // bytes long, but if the data is invalid, we can have character values bigger
544 // character. No need to copy the previous characters into the conversion