Lines Matching refs:input
57 Status BlockHandle::DecodeFrom(Slice* input) { in DecodeFrom() argument
58 if (GetVarint64(input, &offset_) && GetVarint64(input, &size_)) { in DecodeFrom()
68 Status BlockHandle::DecodeSizeFrom(uint64_t _offset, Slice* input) { in DecodeSizeFrom() argument
69 if (GetVarint64(input, &size_)) { in DecodeSizeFrom()
109 Status IndexValue::DecodeFrom(Slice* input, bool have_first_key, in DecodeFrom() argument
113 if (!GetVarsignedint64(input, &delta)) { in DecodeFrom()
120 Status s = handle.DecodeFrom(input); in DecodeFrom()
128 } else if (!GetLengthPrefixedSlice(input, &first_internal_key)) { in DecodeFrom()
207 Status Footer::DecodeFrom(Slice* input) { in DecodeFrom() argument
209 assert(input != nullptr); in DecodeFrom()
210 assert(input->size() >= kMinEncodedLength); in DecodeFrom()
213 input->data() + input->size() - kMagicNumberLengthByte; in DecodeFrom()
229 input->remove_prefix(input->size() - kVersion0EncodedLength); in DecodeFrom()
237 if (input->size() < kNewVersionsEncodedLength) { in DecodeFrom()
240 input->remove_prefix(input->size() - kNewVersionsEncodedLength); in DecodeFrom()
243 if (!GetVarint32(input, &chksum)) { in DecodeFrom()
249 Status result = metaindex_handle_.DecodeFrom(input); in DecodeFrom()
251 result = index_handle_.DecodeFrom(input); in DecodeFrom()
256 *input = Slice(end, input->data() + input->size() - end); in DecodeFrom()