Home
last modified time | relevance | path

Searched refs:buffer_end_ (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc99 buffer_end_ = buffer_; in BackUpInputToCurrentPosition()
106 buffer_end_ += buffer_size_after_limit_; in RecomputeBufferLimits()
112 buffer_end_ -= buffer_size_after_limit_; in RecomputeBufferLimits()
211 buffer_end_ = buffer_; in SkipFallback()
461 (buffer_end_ > buffer_ && !(buffer_end_[-1] & 0x80))) { in ReadVarint32Fallback()
491 (buffer_end_ > buffer_ && !(buffer_end_[-1] & 0x80))) { in ReadVarintSizeAsIntFallback()
506 if (buffer_ == buffer_end_) { in ReadTagSlow()
536 (buf_size > 0 && !(buffer_end_[-1] & 0x80))) { in ReadTagFallback()
581 while (buffer_ == buffer_end_) { in ReadVarint64Slow()
601 (buffer_end_ > buffer_ && !(buffer_end_[-1] & 0x80))) { in ReadVarint64Fallback()
[all …]
Dcoded_stream.h539 const uint8* buffer_end_; // pointer to the end of the buffer. variable
670 buffer_end_(nullptr), in EpsCopyOutputStream()
827 uint8* buffer_end_ = buffer_; variable
949 buffer_end_ = nullptr; in SetInitialBuffer()
953 buffer_end_ = ptr; in SetInitialBuffer()
1278 if (PROTOBUF_PREDICT_TRUE(buffer_ < buffer_end_)) { in ReadVarint32()
1292 if (PROTOBUF_PREDICT_TRUE(buffer_ < buffer_end_) && *buffer_ < 0x80) { in ReadVarint64()
1303 if (PROTOBUF_PREDICT_TRUE(buffer_ < buffer_end_)) { in ReadVarintSizeAsInt()
1377 if (PROTOBUF_PREDICT_TRUE(buffer_ < buffer_end_)) { in ReadTagNoLastTag()
1394 if (PROTOBUF_PREDICT_TRUE(buffer_ < buffer_end_)) { in ReadTagWithCutoffNoLastTag()
[all …]
/third_party/protobuf/src/google/protobuf/
Dparse_context.cc107 buffer_end_ = next_chunk_ + size_ - kSlopBytes; in Next()
116 std::memmove(buffer_, buffer_end_, kSlopBytes); in Next()
127 buffer_end_ = buffer_ + kSlopBytes; in Next()
133 buffer_end_ = buffer_ + size_; in Next()
148 aliasing_ = reinterpret_cast<std::uintptr_t>(buffer_end_) - in Next()
152 buffer_end_ = buffer_ + kSlopBytes; in Next()
160 int overrun = ptr - buffer_end_; in DoneFallback()
170 GOOGLE_DCHECK(limit_end_ == buffer_end_ + (std::min)(0, limit_)); in DoneFallback()
173 GOOGLE_DCHECK(limit_end_ == buffer_end_); // because limit_ > 0 in DoneFallback()
182 limit_end_ = buffer_end_; in DoneFallback()
[all …]
Dparse_context.h116 GOOGLE_DCHECK(ptr <= buffer_end_ + kSlopBytes); in BackUp()
119 count = static_cast<int>(buffer_end_ + kSlopBytes - ptr); in BackUp()
121 count = size_ + static_cast<int>(buffer_end_ - ptr); in BackUp()
131 limit += static_cast<int>(ptr - buffer_end_); in PushLimit()
132 limit_end_ = buffer_end_ + (std::min)(0, limit); in PushLimit()
143 limit_end_ = buffer_end_ + (std::min)(0, limit_); in PopLimit()
148 if (size <= buffer_end_ + kSlopBytes - ptr) { in Skip()
155 if (size <= buffer_end_ + kSlopBytes - ptr) { in ReadString()
163 if (size <= buffer_end_ + kSlopBytes - ptr) { in AppendString()
195 (next_chunk_ == nullptr || ptr - buffer_end_ > limit_); in IsExceedingLimit()
[all …]
/third_party/node/deps/v8/src/parsing/
Dscanner-character-streams.cc263 buffer_end_ = buffer_start_; in ReadBlock()
269 buffer_end_ = &buffer_[length]; in ReadBlock()
316 buffer_end_ = range.end; in ReadBlock()
321 DCHECK_LE(buffer_start_, buffer_end_); in ReadBlock()
362 buffer_end_ = range.end; in UpdateBufferPointers()
403 buffer_end_ = buffer_ + FillBuffer(position); in ReadBlock()
405 DCHECK_LE(buffer_end_, buffer_start_ + kBufferSize); in ReadBlock()
406 return buffer_cursor_ < buffer_end_; in ReadBlock()
482 buffer_end_ = buffer_start_; in ReadBlock()
489 buffer_end_ = &buffer_[length]; in ReadBlock()
[all …]
Dscanner.h47 buffer_cursor_ = buffer_end_; in set_parser_error()
54 if (V8_LIKELY(buffer_cursor_ < buffer_end_)) { in Peek()
78 std::find_if(buffer_cursor_, buffer_end_, [&check](uint16_t raw_c0_) { in AdvanceUntil()
83 if (next_cursor_pos == buffer_end_) { in AdvanceUntil()
84 buffer_cursor_ = buffer_end_; in AdvanceUntil()
115 pos < (buffer_pos_ + (buffer_end_ - buffer_start_)))) { in Seek()
149 buffer_end_(buffer_end), in Utf16CharacterStream()
159 position >= buffer_pos_ + (buffer_end_ - buffer_start_)); in ReadBlockChecked()
167 DCHECK_LE(buffer_cursor_, buffer_end_); in ReadBlockChecked()
169 DCHECK_EQ(success, buffer_cursor_ < buffer_end_); in ReadBlockChecked()
[all …]