Home
last modified time | relevance | path

Searched refs:add_size (Results 1 – 3 of 3) sorted by relevance

/external/open-vcdiff/src/
Dvcdiffengine_test.cc224 bool ExpectAddCopyInstruction(int add_size, int copy_size, int copy_mode) { in ExpectAddCopyInstruction() argument
226 (add_size <= 4) && in ExpectAddCopyInstruction()
231 (0x03 * add_size) + in ExpectAddCopyInstruction()
235 (add_size <= 4) && in ExpectAddCopyInstruction()
237 ExpectInstructionByte(0xD2 + (0x04 * copy_mode) + add_size); in ExpectAddCopyInstruction()
240 ExpectAddInstruction(add_size); in ExpectAddCopyInstruction()
/external/chromium/sdch/open-vcdiff/src/
Dvcdiffengine_test.cc227 bool ExpectAddCopyInstruction(int add_size, int copy_size, int copy_mode) { in ExpectAddCopyInstruction() argument
229 (add_size <= 4) && in ExpectAddCopyInstruction()
234 (0x03 * add_size) + in ExpectAddCopyInstruction()
239 (add_size <= 4) && in ExpectAddCopyInstruction()
241 ExpectInstructionByte(0xD2 + (0x04 * copy_mode) + add_size); in ExpectAddCopyInstruction()
245 ExpectAddInstruction(add_size); in ExpectAddCopyInstruction()
/external/icu4c/test/intltest/
Dwbnf.cpp57 inline void expand(int add_size = 100){ // size unit is byte in expand() argument
58 int new_size = buffer_size + add_size; in expand()
64 memset(current, 0, add_size); in expand()