Home
last modified time | relevance | path

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

/third_party/node/src/
Dnode_crypto_bio.cc97 *size = read_head_->write_pos_ - read_head_->read_pos_; in Peek()
98 return read_head_->data_ + read_head_->read_pos_; in Peek()
109 size[i] = pos->write_pos_ - pos->read_pos_; in PeekMultiple()
111 out[i] = pos->data_ + pos->read_pos_; in PeekMultiple()
249 while (read_head_->read_pos_ != 0 && in TryMoveReadHead()
250 read_head_->read_pos_ == read_head_->write_pos_) { in TryMoveReadHead()
252 read_head_->read_pos_ = 0; in TryMoveReadHead()
270 CHECK_LE(read_head_->read_pos_, read_head_->write_pos_); in Read()
271 size_t avail = read_head_->write_pos_ - read_head_->read_pos_; in Read()
277 memcpy(out + offset, read_head_->data_ + read_head_->read_pos_, avail); in Read()
[all …]
Dnode_crypto_bio.h154 read_pos_(0), in Buffer()
172 size_t read_pos_; variable