Home | History | Annotate | Download | only in src

Lines Matching refs:buffer

44   // Initialize buffer as being empty. First read will fill the buffer.
67 // In pushback mode, the end of the buffer contains pushback,
68 // and the start of the buffer (from buffer start to pushback_limit_)
71 // start of the buffer.
99 // start of the buffer, use those.
111 // in the buffer before the pushback_limit_ point).
231 // in the buffer.
232 static inline void Utf8CharacterBack(const byte* buffer, unsigned* cursor) {
233 byte character = buffer[--*cursor];
239 while (IsUtf8MultiCharacterFollower(buffer[--*cursor])) { }
240 ASSERT(IsUtf8MultiCharacterStart(buffer[*cursor]));
246 // in the buffer.
247 static inline void Utf8CharacterForward(const byte* buffer, unsigned* cursor) {
248 byte character = buffer[(*cursor)++];
265 ASSERT(!IsUtf8MultiCharacterFollower(buffer[1 + additional_bytes]));
276 // Spool backwards in utf8 buffer.
289 // Spool forwards in the utf8 buffer.