Searched refs:encoded_address (Results 1 – 2 of 2) sorted by relevance
113 static VCDAddress DecodeSelfAddress(int32_t encoded_address) { in DecodeSelfAddress() argument114 return encoded_address; in DecodeSelfAddress()117 static VCDAddress DecodeHereAddress(int32_t encoded_address, in DecodeHereAddress() argument119 return here_address - encoded_address; in DecodeHereAddress()123 int32_t encoded_address) const { in DecodeNearAddress() argument124 return NearAddress(mode - FirstNearMode()) + encoded_address; in DecodeNearAddress()128 unsigned char encoded_address) const { in DecodeSameAddress() argument129 return SameAddress(((mode - FirstSameMode()) * 256) + encoded_address); in DecodeSameAddress()
293 unsigned char encoded_address = ParseByte(&new_address_pos); in DecodeAddress() local294 decoded_address = DecodeSameAddress(mode, encoded_address); in DecodeAddress()297 int32_t encoded_address = VarintBE<int32_t>::Parse(address_stream_end, in DecodeAddress() local299 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()