Home
last modified time | relevance | path

Searched refs:rBound_ (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTBufferTransports.cpp33 auto have = static_cast<uint32_t>(rBound_ - rBase_); in readSlow()
57 uint32_t give = (std::min)(len, static_cast<uint32_t>(rBound_ - rBase_)); in readSlow()
139 auto have = static_cast<uint32_t>(rBound_ - rBase_); in readSlow()
164 uint32_t give = (std::min)(want, static_cast<uint32_t>(rBound_ - rBase_)); in readSlow()
303 auto bytes_read = static_cast<uint32_t>(rBound_ - rBuf_.get() + sizeof(uint32_t)); in readEnd()
316 rBound_ = wBase_; in computeRead()
386 rBound_ = new_buffer + (rBound_ - buffer_); in ensureCanWrite()
412 rBound_ = wBase_; in borrowSlow()
DTBufferTransports.h66 if (TDB_LIKELY(new_rBase <= rBound_)) { in read()
79 if (TDB_LIKELY(new_rBase <= rBound_)) { in readAll()
110 if (TDB_LIKELY(static_cast<ptrdiff_t>(*len) <= rBound_ - rBase_)) { in borrow()
113 *len = static_cast<uint32_t>(rBound_ - rBase_); in borrow()
124 if (TDB_LIKELY(static_cast<ptrdiff_t>(len) <= rBound_ - rBase_)) { in consume()
153 …: TVirtualTransport(config), rBase_(nullptr), rBound_(nullptr), wBase_(nullptr), wBound_(nullptr) … in TVirtualTransport()
158 rBound_ = buf + len; in setReadBuffer()
172 uint8_t* rBound_; variable
229 if (rBase_ == rBound_) { in peek()
232 return (rBound_ > rBase_); in peek()
[all …]