Searched refs:size_ (Results 1 – 2 of 2) sorted by relevance
148 : buf_(reinterpret_cast<uint8_t*>(&t)), size_(sizeof(t)) {} in Eraser()150 template <size_t N> explicit Eraser(uint8_t(&arr)[N]) : buf_(arr), size_(N) {} in Eraser()152 Eraser(void* buf, size_t size) : buf_(static_cast<uint8_t*>(buf)), size_(size) {} in Eraser()153 ~Eraser() { memset_s(buf_, 0, size_); } in ~Eraser()160 size_t size_; variable
982 buf_(buf), size_(size), bytes_written_(0) { in MemoryWriter()986 if (bytes_written_ + buf_size > size_) { in Append()988 size_, bytes_written_ + buf_size); in Append()999 const size_t size_; member in MemoryWriter