Home
last modified time | relevance | path

Searched refs:encoded_address (Results 1 – 2 of 2) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
Daddrcache.h113 static VCDAddress DecodeSelfAddress(int32_t encoded_address) { in DecodeSelfAddress() argument
114 return encoded_address; in DecodeSelfAddress()
117 static VCDAddress DecodeHereAddress(int32_t encoded_address, in DecodeHereAddress() argument
119 return here_address - encoded_address; in DecodeHereAddress()
123 int32_t encoded_address) const { in DecodeNearAddress() argument
124 return NearAddress(mode - FirstNearMode()) + encoded_address; in DecodeNearAddress()
128 unsigned char encoded_address) const { in DecodeSameAddress() argument
129 return SameAddress(((mode - FirstSameMode()) * 256) + encoded_address); in DecodeSameAddress()
Daddrcache.cc293 unsigned char encoded_address = ParseByte(&new_address_pos); in DecodeAddress() local
294 decoded_address = DecodeSameAddress(mode, encoded_address); in DecodeAddress()
297 int32_t encoded_address = VarintBE<int32_t>::Parse(address_stream_end, in DecodeAddress() local
299 switch (encoded_address) { in DecodeAddress()
310 decoded_address = DecodeSelfAddress(encoded_address); in DecodeAddress()
312 decoded_address = DecodeHereAddress(encoded_address, here_address); in DecodeAddress()
314 decoded_address = DecodeNearAddress(mode, encoded_address); in DecodeAddress()