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
1047 if (size_ < buf_size || bytes_written_ > size_ - buf_size) { in Append()1049 bytes_written_ + buf_size); in Append()1053 memcpy(buf_ + bytes_written_, buf, buf_size); in Append()1054 bytes_written_ += buf_size; in Append()1059 MemoryWriter(uint8_t* buf, size_t size) : Writer(), buf_(buf), size_(size), bytes_written_(0) {} in MemoryWriter()1063 size_t bytes_written_; member in MemoryWriter
212 bytes_written_ += pos_ - scratch_space_; in Advance()