Lines Matching refs:buf_
337 : buf_(space_), in IterKey()
338 key_(buf_), in IterKey()
384 memcpy(buf_, key_, shared_len); in TrimAppend()
390 if (buf_ != space_) { in TrimAppend()
391 delete[] buf_; in TrimAppend()
394 buf_ = p; in TrimAppend()
398 memcpy(buf_ + shared_len, non_shared_data, non_shared_len); in TrimAppend()
399 key_ = buf_; in TrimAppend()
433 memcpy(buf_, key_, key_size_); in OwnKey()
434 key_ = buf_; in OwnKey()
443 EncodeFixed64(&buf_[key_size_ - 8], newval); in UpdateInternalKey()
446 bool IsKeyPinned() const { return (key_ != buf_); } in IsKeyPinned()
457 memcpy(buf_, key_prefix.data(), psize);
459 memcpy(buf_ + psize, user_key.data(), usize);
461 memcpy(buf_ + psize + usize, ts->data(), ts_sz);
463 EncodeFixed64(buf_ + usize + psize + ts_sz,
466 key_ = buf_;
495 char* ptr = EncodeVarint32(buf_, static_cast<uint32_t>(size)); in EncodeLengthPrefixedKey()
497 key_ = buf_; in EncodeLengthPrefixedKey()
504 char* buf_;
516 memcpy(buf_, key.data(), size); in SetKeyImpl()
517 key_ = buf_; in SetKeyImpl()
527 if (buf_ != space_) { in ResetBuffer()
528 delete[] buf_; in ResetBuffer()
529 buf_ = space_; in ResetBuffer()