Lines Matching refs:slice_
35 const char* data = slice_.data(); // Pointer to where Read put the data in CheckBlockChecksum()
94 static_cast<size_t>(handle_.size()) + kBlockTrailerSize, &slice_, in TryGetFromPrefetchBuffer()
102 used_buf_ = const_cast<char*>(slice_.data()); in TryGetFromPrefetchBuffer()
117 slice_ = Slice(heap_buf_.get(), block_size_); in TryGetCompressedBlockFromPersistentCache()
174 if (slice_.data() != used_buf_) { in GetBlockContents()
176 *contents_ = BlockContents(Slice(slice_.data(), block_size_)); in GetBlockContents()
219 &slice_, used_buf_, nullptr, for_compaction_); in ReadBlockContents()
247 if (slice_.size() != block_size_ + kBlockTrailerSize) { in ReadBlockContents()
252 " bytes, got " + ToString(slice_.size())); in ReadBlockContents()
265 compression_type_ = get_block_compression_type(slice_.data(), block_size_); in ReadBlockContents()
271 status_ = UncompressBlockContents(info, slice_.data(), block_size_, in ReadBlockContents()