Searched refs:bytes_written_ (Results 1 – 3 of 3) sorted by relevance
172 return bytes_written_ + (pos_ - scratch_space_); in bytes_written()194 size_t bytes_written_ = 0; variable
1198 if (size_ < buf_size || bytes_written_ > size_ - buf_size) { in Append()1200 bytes_written_ + buf_size); in Append()1204 memcpy(buf_ + bytes_written_, buf, buf_size); in Append()1205 bytes_written_ += buf_size; in Append()1212 if (size_ == 0 && length <= sizeof(bytes_written_)) { in GetBuffer()1213 return {reinterpret_cast<uint8_t*>(&bytes_written_), length}; in GetBuffer()1220 MemoryWriter(uint8_t* buf, size_t size) : buf_(buf), size_(size), bytes_written_(0) {} in MemoryWriter()1225 size_t bytes_written_; member in MemoryWriter
212 bytes_written_ += pos_ - scratch_space_; in Advance()