Home
last modified time | relevance | path

Searched refs:copy_mode (Results 1 – 2 of 2) sorted by relevance

/external/open-vcdiff/src/
Dvcdiffengine_test.cc198 void ExpectAddress(int32_t address, int copy_mode) { in ExpectAddress() argument
199 if (default_cache_.WriteAddressAsVarintForMode(copy_mode)) { in ExpectAddress()
224 bool ExpectAddCopyInstruction(int add_size, int copy_size, int copy_mode) { in ExpectAddCopyInstruction() argument
225 if (!default_cache_.IsSameMode(copy_mode) && in ExpectAddCopyInstruction()
230 (0x0C * copy_mode) + in ExpectAddCopyInstruction()
234 } else if (default_cache_.IsSameMode(copy_mode) && in ExpectAddCopyInstruction()
237 ExpectInstructionByte(0xD2 + (0x04 * copy_mode) + add_size); in ExpectAddCopyInstruction()
735 int32_t FindBoilerplateAddressForCopyMode(int copy_mode) const;
736 int UpdateCopyModeForMoonpie(int copy_mode) const;
737 int32_t FindMoonpieAddressForCopyMode(int copy_mode) const;
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dvcdiffengine_test.cc200 void ExpectAddress(int32_t address, int copy_mode) { in ExpectAddress() argument
201 if (default_cache_.WriteAddressAsVarintForMode(copy_mode)) { in ExpectAddress()
227 bool ExpectAddCopyInstruction(int add_size, int copy_size, int copy_mode) { in ExpectAddCopyInstruction() argument
228 if (!default_cache_.IsSameMode(copy_mode) && in ExpectAddCopyInstruction()
233 (0x0C * copy_mode) + in ExpectAddCopyInstruction()
238 } else if (default_cache_.IsSameMode(copy_mode) && in ExpectAddCopyInstruction()
241 ExpectInstructionByte(0xD2 + (0x04 * copy_mode) + add_size); in ExpectAddCopyInstruction()
759 int32_t FindBoilerplateAddressForCopyMode(int copy_mode) const;
760 int UpdateCopyModeForMoonpie(int copy_mode) const;
761 int32_t FindMoonpieAddressForCopyMode(int copy_mode) const;
[all …]