Searched refs:zero_buffer_ (Results 1 – 2 of 2) sorted by relevance
265 : init_(false), zero_buffer_(NULL), path_(path) { in BlockFiles()269 if (zero_buffer_) in ~BlockFiles()270 delete[] zero_buffer_; in ~BlockFiles()353 if (!zero_buffer_) { in DeleteBlock()354 zero_buffer_ = new char[Addr::BlockSizeForFileType(BLOCK_4K) * 4]; in DeleteBlock()355 memset(zero_buffer_, 0, Addr::BlockSizeForFileType(BLOCK_4K) * 4); in DeleteBlock()367 file->Write(zero_buffer_, size, offset); in DeleteBlock()
154 char* zero_buffer_; // Buffer to speed-up cleaning deleted entries. variable