Searched refs:read_position (Results 1 – 4 of 4) sorted by relevance
13 const uint8_t* read_position = current(); in Read() local15 memcpy(out, read_position, length); in Read()
204 const uint8_t* read_position = current();206 *out = ReadBigEndian<T>(read_position);
158 const size_t read_position = read_position_ % buffer_length_; in ReadLocked() local160 const size_t tail_copy = std::min(copy, buffer_length_ - read_position); in ReadLocked()162 memcpy(p, &buffer_[read_position], tail_copy); in ReadLocked()
1397 const size_t read_position = (read_position_ + offset) % buffer_length_; in ReadOffsetLocked() local1399 const size_t tail_copy = std::min(copy, buffer_length_ - read_position); in ReadOffsetLocked()1401 memcpy(p, &buffer_[read_position], tail_copy); in ReadOffsetLocked()