Lines Matching refs:Slice
14 static Slice GetLengthPrefixedSlice(const char* data) { in GetLengthPrefixedSlice()
18 return Slice(p, len); in GetLengthPrefixedSlice()
36 Slice a = GetLengthPrefixedSlice(aptr); in operator ()()
37 Slice b = GetLengthPrefixedSlice(bptr); in operator ()()
44 static const char* EncodeKey(std::string* scratch, const Slice& target) { in EncodeKey()
56 virtual void Seek(const Slice& k) { iter_.Seek(EncodeKey(&tmp_, k)); } in Seek()
61 virtual Slice key() const { return GetLengthPrefixedSlice(iter_.key()); } in key()
62 virtual Slice value() const { in value()
63 Slice key_slice = GetLengthPrefixedSlice(iter_.key()); in value()
83 const Slice& key, in Add()
84 const Slice& value) { in Add()
109 Slice memkey = key.memtable_key(); in Get()
126 Slice(key_ptr, key_length - 8), in Get()
132 Slice v = GetLengthPrefixedSlice(key_ptr + key_length); in Get()
137 *s = Status::NotFound(Slice()); in Get()