Home
last modified time | relevance | path

Searched refs:VCDAddress (Results 1 – 21 of 21) sorted by relevance

/external/open-vcdiff/src/
Daddrcache.h113 static VCDAddress DecodeSelfAddress(int32_t encoded_address) { in DecodeSelfAddress()
117 static VCDAddress DecodeHereAddress(int32_t encoded_address, in DecodeHereAddress()
118 VCDAddress here_address) { in DecodeHereAddress()
122 VCDAddress DecodeNearAddress(unsigned char mode, in DecodeNearAddress()
127 VCDAddress DecodeSameAddress(unsigned char mode, in DecodeSameAddress()
145 VCDAddress NearAddress(int pos) const { in NearAddress()
154 VCDAddress SameAddress(int pos) const { in SameAddress()
162 void UpdateCache(VCDAddress address);
175 unsigned char EncodeAddress(VCDAddress address,
176 VCDAddress here_address,
[all …]
Daddrcache.cc118 void VCDiffAddressCache::UpdateCache(VCDAddress address) { in UpdateCache()
154 unsigned char VCDiffAddressCache::EncodeAddress(VCDAddress address, in EncodeAddress()
155 VCDAddress here_address, in EncodeAddress()
156 VCDAddress* encoded_addr) { in EncodeAddress()
172 const VCDAddress same_cache_pos = in EncodeAddress()
185 VCDAddress best_encoded_address = address; in EncodeAddress()
189 const VCDAddress here_encoded_address = here_address - address; in EncodeAddress()
198 const VCDAddress near_encoded_address = address - NearAddress(i); in EncodeAddress()
223 static bool IsDecodedAddressValid(VCDAddress decoded_address, in IsDecodedAddressValid()
224 VCDAddress here_address) { in IsDecodedAddressValid()
[all …]
Daddrcache_test.cc76 void ManualEncodeVarint(VCDAddress value) { in ManualEncodeVarint()
77 VarintBE<VCDAddress>::AppendToString(value, &address_stream_); in ManualEncodeVarint()
84 void ExpectEncodedVarint(VCDAddress expected_value, int expected_size) { in ExpectEncodedVarint()
88 EXPECT_EQ(expected_size, VarintBE<VCDAddress>::Length(expected_value)); in ExpectEncodedVarint()
89 VCDAddress output_val = VarintBE<VCDAddress>::Parse( in ExpectEncodedVarint()
103 void TestEncode(VCDAddress address, in TestEncode()
104 VCDAddress here_address, in TestEncode()
107 VCDAddress encoded_addr = 0; in TestEncode()
124 std::vector<VCDAddress> verify_stream_;
211 VCDAddress test_address = 0; in TEST_F()
[all …]
Ddecodetable_test.cc168 (1 + (VarintBE<VCDAddress>::kMaxBytes));
172 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); in TEST_F()
182 VarintBE<VCDAddress>::Encode(111, &instructions_and_sizes_[1]); in TEST_F()
232 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); in TEST_F()
398 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, in TEST_F()
405 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, in TEST_F()
Dvcdiff_defs.h171 typedef int32_t VCDAddress; typedef
Dvcdecoder.cc1154 const VCDAddress here_address = in DecodeCopy()
1155 static_cast<VCDAddress>(source_segment_length_ + target_bytes_decoded); in DecodeCopy()
1156 const VCDAddress decoded_address = parent_->addr_cache()->DecodeAddress( in DecodeCopy()
Dencodetable.cc262 static_cast<VCDAddress>(dictionary_size_ + target_length_), in Copy()
/external/chromium/sdch/open-vcdiff/src/
Daddrcache.h113 static VCDAddress DecodeSelfAddress(int32_t encoded_address) { in DecodeSelfAddress()
117 static VCDAddress DecodeHereAddress(int32_t encoded_address, in DecodeHereAddress()
118 VCDAddress here_address) { in DecodeHereAddress()
122 VCDAddress DecodeNearAddress(unsigned char mode, in DecodeNearAddress()
127 VCDAddress DecodeSameAddress(unsigned char mode, in DecodeSameAddress()
145 VCDAddress NearAddress(int pos) const { in NearAddress()
154 VCDAddress SameAddress(int pos) const { in SameAddress()
162 void UpdateCache(VCDAddress address);
175 unsigned char EncodeAddress(VCDAddress address,
176 VCDAddress here_address,
[all …]
Daddrcache.cc118 void VCDiffAddressCache::UpdateCache(VCDAddress address) { in UpdateCache()
154 unsigned char VCDiffAddressCache::EncodeAddress(VCDAddress address, in EncodeAddress()
155 VCDAddress here_address, in EncodeAddress()
156 VCDAddress* encoded_addr) { in EncodeAddress()
172 const VCDAddress same_cache_pos = in EncodeAddress()
185 VCDAddress best_encoded_address = address; in EncodeAddress()
189 const VCDAddress here_encoded_address = here_address - address; in EncodeAddress()
198 const VCDAddress near_encoded_address = address - NearAddress(i); in EncodeAddress()
223 static bool IsDecodedAddressValid(VCDAddress decoded_address, in IsDecodedAddressValid()
224 VCDAddress here_address) { in IsDecodedAddressValid()
[all …]
Daddrcache_test.cc76 void ManualEncodeVarint(VCDAddress value) { in ManualEncodeVarint()
77 VarintBE<VCDAddress>::AppendToString(value, &address_stream_); in ManualEncodeVarint()
84 void ExpectEncodedVarint(VCDAddress expected_value, int expected_size) { in ExpectEncodedVarint()
88 EXPECT_EQ(expected_size, VarintBE<VCDAddress>::Length(expected_value)); in ExpectEncodedVarint()
89 VCDAddress output_val = VarintBE<VCDAddress>::Parse( in ExpectEncodedVarint()
103 void TestEncode(VCDAddress address, in TestEncode()
104 VCDAddress here_address, in TestEncode()
107 VCDAddress encoded_addr = 0; in TestEncode()
124 std::vector<VCDAddress> verify_stream_;
211 VCDAddress test_address = 0; in TEST_F()
[all …]
Ddecodetable_test.cc168 (1 + (VarintBE<VCDAddress>::kMaxBytes));
172 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); in TEST_F()
182 VarintBE<VCDAddress>::Encode(111, &instructions_and_sizes_[1]); in TEST_F()
232 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); in TEST_F()
398 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, in TEST_F()
405 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, in TEST_F()
Dvcdiff_defs.h171 typedef int32_t VCDAddress; typedef
Dvcdecoder.cc1147 const VCDAddress here_address = in DecodeCopy()
1148 static_cast<VCDAddress>(source_segment_length_ + target_bytes_decoded); in DecodeCopy()
1149 const VCDAddress decoded_address = parent_->addr_cache()->DecodeAddress( in DecodeCopy()
Dencodetable.cc230 static_cast<VCDAddress>(dictionary_size_ + target_length_), in Copy()
/external/chromium_org/sdch/open-vcdiff/src/
Daddrcache.h113 static VCDAddress DecodeSelfAddress(int32_t encoded_address) { in DecodeSelfAddress()
117 static VCDAddress DecodeHereAddress(int32_t encoded_address, in DecodeHereAddress()
118 VCDAddress here_address) { in DecodeHereAddress()
122 VCDAddress DecodeNearAddress(unsigned char mode, in DecodeNearAddress()
127 VCDAddress DecodeSameAddress(unsigned char mode, in DecodeSameAddress()
145 VCDAddress NearAddress(int pos) const { in NearAddress()
154 VCDAddress SameAddress(int pos) const { in SameAddress()
162 void UpdateCache(VCDAddress address);
175 unsigned char EncodeAddress(VCDAddress address,
176 VCDAddress here_address,
[all …]
Daddrcache.cc118 void VCDiffAddressCache::UpdateCache(VCDAddress address) { in UpdateCache()
154 unsigned char VCDiffAddressCache::EncodeAddress(VCDAddress address, in EncodeAddress()
155 VCDAddress here_address, in EncodeAddress()
156 VCDAddress* encoded_addr) { in EncodeAddress()
172 const VCDAddress same_cache_pos = in EncodeAddress()
185 VCDAddress best_encoded_address = address; in EncodeAddress()
189 const VCDAddress here_encoded_address = here_address - address; in EncodeAddress()
198 const VCDAddress near_encoded_address = address - NearAddress(i); in EncodeAddress()
223 static bool IsDecodedAddressValid(VCDAddress decoded_address, in IsDecodedAddressValid()
224 VCDAddress here_address) { in IsDecodedAddressValid()
[all …]
Daddrcache_test.cc76 void ManualEncodeVarint(VCDAddress value) { in ManualEncodeVarint()
77 VarintBE<VCDAddress>::AppendToString(value, &address_stream_); in ManualEncodeVarint()
84 void ExpectEncodedVarint(VCDAddress expected_value, int expected_size) { in ExpectEncodedVarint()
88 EXPECT_EQ(expected_size, VarintBE<VCDAddress>::Length(expected_value)); in ExpectEncodedVarint()
89 VCDAddress output_val = VarintBE<VCDAddress>::Parse( in ExpectEncodedVarint()
103 void TestEncode(VCDAddress address, in TestEncode()
104 VCDAddress here_address, in TestEncode()
107 VCDAddress encoded_addr = 0; in TestEncode()
124 std::vector<VCDAddress> verify_stream_;
211 VCDAddress test_address = 0; in TEST_F()
[all …]
Ddecodetable_test.cc168 (1 + (VarintBE<VCDAddress>::kMaxBytes));
172 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); in TEST_F()
182 VarintBE<VCDAddress>::Encode(111, &instructions_and_sizes_[1]); in TEST_F()
232 VarintBE<VCDAddress>::Encode(257, &instructions_and_sizes_[1]); in TEST_F()
398 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, in TEST_F()
405 int encoded_size = VarintBE<VCDAddress>::Encode(1000 + opcode, in TEST_F()
Dvcdiff_defs.h171 typedef int32_t VCDAddress; typedef
Dvcdecoder.cc1154 const VCDAddress here_address = in DecodeCopy()
1155 static_cast<VCDAddress>(source_segment_length_ + target_bytes_decoded); in DecodeCopy()
1156 const VCDAddress decoded_address = parent_->addr_cache()->DecodeAddress( in DecodeCopy()
Dencodetable.cc262 static_cast<VCDAddress>(dictionary_size_ + target_length_), in Copy()