Searched refs:old_size (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/tests/component/ |
D | applypatch_test.cpp | 76 sha1sum(old_file, &old_sha1, &old_size); in SetUp() 92 size_t old_size; member in ApplyPatchTest 136 "EMMC:" + old_file + ":" + std::to_string(old_size) + ":" + old_sha1; in TEST_F() 141 src_file = "EMMC:" + old_file + ":" + std::to_string(old_size - 1) + ":" + old_sha1 + ":" + in TEST_F() 142 std::to_string(old_size + 1) + ":" + old_sha1; in TEST_F() 147 std::to_string(old_size - 1) + ":" + old_sha1 + ":" + in TEST_F() 148 std::to_string(old_size) + ":" + old_sha1 + ":" + in TEST_F() 149 std::to_string(old_size + 1) + ":" + old_sha1; in TEST_F() 154 std::to_string(old_size + 1) + ":" + old_sha1 + ":" + in TEST_F() 155 std::to_string(old_size - 1) + ":" + old_sha1 + ":" + in TEST_F() [all …]
|
/bootable/recovery/applypatch/ |
D | bspatch.cpp | 68 int ApplyBSDiffPatch(const unsigned char* old_data, size_t old_size, const Value& patch, in ApplyBSDiffPatch() argument 78 int result = bsdiff::bspatch(old_data, old_size, in ApplyBSDiffPatch()
|
D | imgpatch.cpp | 135 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data, in ApplyImagePatch() argument 138 return ApplyImagePatch(old_data, old_size, patch, sink, nullptr, nullptr); in ApplyImagePatch() 141 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink, in ApplyImagePatch() argument 179 if (src_start + src_len > old_size) { in ApplyImagePatch() 223 if (src_start + src_len > old_size) { in ApplyImagePatch()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 68 int ApplyBSDiffPatch(const unsigned char* old_data, size_t old_size, const Value& patch, 76 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink,
|
D | imgpatch.h | 26 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data,
|