Searched refs:buffer_end_ (Results 1 – 5 of 5) sorted by relevance
64 buffer_cursor_ = buffer_end_ = buffer_ + kPushBackSize; in InputStreamUTF16Buffer()90 pushback_buffer_end_cache_ = buffer_end_; in PushBack()91 buffer_end_ = pushback_buffer_backing_ + pushback_buffer_backing_size_; in PushBack()92 buffer_cursor_ = buffer_end_ - 1; in PushBack()103 buffer_end_ = pushback_buffer_backing_ + pushback_buffer_backing_size_; in PushBack()115 buffer_end_ = pushback_buffer_end_cache_; in ReadBlock()117 return buffer_end_ > buffer_cursor_; in ReadBlock()122 buffer_cursor_ = buffer_end_ = buffer_start; in ReadBlock()128 buffer_start[buffer_end_++ - buffer_start] = static_cast<uc16>(value); in ReadBlock()129 if (buffer_end_ == buffer_ + kPushBackSize + kBufferSize) break; in ReadBlock()[all …]
46 buffer_end_ = buffer_; in BufferedUC16CharacterStream()75 pushback_limit_ = buffer_end_; in SlowPushBack()76 buffer_end_ = buffer_ + kBufferSize; in SlowPushBack()77 buffer_cursor_ = buffer_end_; in SlowPushBack()96 buffer_end_ = pushback_limit_; in ReadBlock()100 if (buffer_cursor_ < buffer_end_) return true; in ReadBlock()104 buffer_end_ = buffer_ + length; in ReadBlock()128 buffer_end_ = buffer_; in GenericStringUC16CharacterStream()303 buffer_end_ = raw_data_ + (end_position - start_position); in ExternalTwoByteStringUC16CharacterStream()
68 if (buffer_cursor_ < buffer_end_ || ReadBlock()) { in Advance()91 static_cast<unsigned>(buffer_end_ - buffer_cursor_); in SeekForward()117 const uc16* buffer_end_; variable
71 buffer_end_ = buffer_; in BackUpInputToCurrentPosition()78 buffer_end_ += buffer_size_after_limit_; in RecomputeBufferLimits()84 buffer_end_ -= buffer_size_after_limit_; in RecomputeBufferLimits()173 buffer_end_ = buffer_; in Skip()328 (buffer_end_ > buffer_ && !(buffer_end_[-1] & 0x80))) { in ReadVarint32Fallback()342 if (buffer_ == buffer_end_) { in ReadTagSlow()371 (buffer_end_ > buffer_ && !(buffer_end_[-1] & 0x80))) { in ReadTagFallback()382 if (buffer_ == buffer_end_ && buffer_size_after_limit_ > 0 && in ReadTagFallback()405 while (buffer_ == buffer_end_) { in ReadVarint64Slow()422 (buffer_end_ > buffer_ && !(buffer_end_[-1] & 0x80))) { in ReadVarint64Fallback()[all …]
438 const uint8* buffer_end_; // pointer to the end of the buffer. variable715 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && *buffer_ < 0x80) { in ReadVarint32()725 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && *buffer_ < 0x80) { in ReadVarint64()804 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && buffer_[0] < 0x80) { in ReadTag()824 if (GOOGLE_PREDICT_TRUE(buffer_ < buffer_end_) && buffer_[0] == expected) { in ExpectTag()863 *size = buffer_end_ - buffer_; in GetDirectBufferPointerInline()870 if (buffer_ == buffer_end_ && buffer_size_after_limit_ != 0) { in ExpectAtEnd()1035 return buffer_end_ - buffer_; in BufferSize()1041 buffer_end_(NULL), in CodedInputStream()1062 buffer_end_(buffer + size), in CodedInputStream()