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

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

Completed in 59 milliseconds