Lines Matching refs:encoded_addr
107 VCDAddress encoded_addr = 0; in TestEncode() local
108 EXPECT_EQ(mode, cache_.EncodeAddress(address, here_address, &encoded_addr)); in TestEncode()
110 ManualEncodeVarint(encoded_addr); in TestEncode()
112 EXPECT_GT(256, encoded_addr); in TestEncode()
113 ManualEncodeByte(static_cast<unsigned char>(encoded_addr)); in TestEncode()
322 VCDAddress encoded_addr = 0; in TEST_F() local
326 zero_cache.EncodeAddress(0x0000FFFF, 0x10000000, &encoded_addr)); in TEST_F()
327 EXPECT_EQ(0xFFFF, encoded_addr); in TEST_F()
329 zero_cache.EncodeAddress(0x10000000, 0x10000010, &encoded_addr)); in TEST_F()
330 EXPECT_EQ(0x10, encoded_addr); in TEST_F()
332 zero_cache.EncodeAddress(0x10000004, 0x10000020, &encoded_addr)); in TEST_F()
333 EXPECT_EQ(0x1C, encoded_addr); in TEST_F()
335 zero_cache.EncodeAddress(0x0FFFFFFE, 0x10000030, &encoded_addr)); in TEST_F()
336 EXPECT_EQ(0x32, encoded_addr); in TEST_F()
338 zero_cache.EncodeAddress(0x10000004, 0x10000040, &encoded_addr)); in TEST_F()
339 EXPECT_EQ(0x3C, encoded_addr); in TEST_F()
564 VCDAddress encoded_addr = 0; in BM_CacheEncode() local
572 &encoded_addr); in BM_CacheEncode()
574 VarintBE<VCDAddress>::AppendToString(encoded_addr, in BM_CacheEncode()
577 EXPECT_GT(256, encoded_addr); in BM_CacheEncode()
579 static_cast<unsigned char>(encoded_addr)); in BM_CacheEncode()