Lines Matching refs:key
49 Slice key, value; in Iterate() local
57 if (GetLengthPrefixedSlice(&input, &key) && in Iterate()
59 handler->Put(key, value); in Iterate()
65 if (GetLengthPrefixedSlice(&input, &key)) { in Iterate()
66 handler->Delete(key); in Iterate()
98 void WriteBatch::Put(const Slice& key, const Slice& value) { in Put() argument
101 PutLengthPrefixedSlice(&rep_, key); in Put()
105 void WriteBatch::Delete(const Slice& key) { in Delete() argument
108 PutLengthPrefixedSlice(&rep_, key); in Delete()
117 virtual void Put(const Slice& key, const Slice& value) { in Put() argument
118 mem_->Add(sequence_, kTypeValue, key, value); in Put()
121 virtual void Delete(const Slice& key) { in Delete() argument
122 mem_->Add(sequence_, kTypeDeletion, key, Slice()); in Delete()