Home
last modified time | relevance | path

Searched refs:encoded_addr (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/sdch/open-vcdiff/src/
Daddrcache_test.cc107 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()
[all …]
Daddrcache.cc156 VCDAddress* encoded_addr) { in EncodeAddress() argument
160 *encoded_addr = 0; in EncodeAddress()
166 *encoded_addr = 0; in EncodeAddress()
178 *encoded_addr = same_cache_pos % 256; in EncodeAddress()
207 *encoded_addr = best_encoded_address; in EncodeAddress()
Dencodetable.cc259 int32_t encoded_addr = 0; in Copy() local
263 &encoded_addr); in Copy()
266 VarintBE<int32_t>::AppendToString(encoded_addr, addresses_for_copy_); in Copy()
268 addresses_for_copy_->push_back(static_cast<unsigned char>(encoded_addr)); in Copy()
Daddrcache.h177 VCDAddress* encoded_addr);
/external/open-vcdiff/src/
Daddrcache_test.cc107 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()
[all …]
Daddrcache.cc156 VCDAddress* encoded_addr) { in EncodeAddress() argument
160 *encoded_addr = 0; in EncodeAddress()
166 *encoded_addr = 0; in EncodeAddress()
178 *encoded_addr = same_cache_pos % 256; in EncodeAddress()
207 *encoded_addr = best_encoded_address; in EncodeAddress()
Dencodetable.cc259 int32_t encoded_addr = 0; in Copy() local
263 &encoded_addr); in Copy()
266 VarintBE<int32_t>::AppendToString(encoded_addr, addresses_for_copy_); in Copy()
268 addresses_for_copy_->push_back(static_cast<unsigned char>(encoded_addr)); in Copy()
Daddrcache.h177 VCDAddress* encoded_addr);
/external/chromium/sdch/open-vcdiff/src/
Daddrcache_test.cc107 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()
[all …]
Daddrcache.cc156 VCDAddress* encoded_addr) { in EncodeAddress() argument
160 *encoded_addr = 0; in EncodeAddress()
166 *encoded_addr = 0; in EncodeAddress()
178 *encoded_addr = same_cache_pos % 256; in EncodeAddress()
207 *encoded_addr = best_encoded_address; in EncodeAddress()
Dencodetable.cc227 int32_t encoded_addr = 0; in Copy() local
231 &encoded_addr); in Copy()
234 VarintBE<int32_t>::AppendToString(encoded_addr, addresses_for_copy_); in Copy()
236 addresses_for_copy_->push_back(static_cast<unsigned char>(encoded_addr)); in Copy()
Daddrcache.h177 VCDAddress* encoded_addr);