Home
last modified time | relevance | path

Searched refs:old_data (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/applypatch/
Dimgpatch.cpp135 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data, in ApplyImagePatch() argument
139 return ApplyImagePatch(old_data, old_size, patch, sink, nullptr); in ApplyImagePatch()
142 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink, in ApplyImagePatch() argument
184 if (ApplyBSDiffPatch(old_data + src_start, src_len, patch, patch_offset, sink) != 0) { in ApplyImagePatch()
248 strm.next_in = old_data + src_start; in ApplyImagePatch()
Dbspatch.cpp68 int ApplyBSDiffPatch(const unsigned char* old_data, size_t old_size, const Value& patch, in ApplyBSDiffPatch() argument
72 int result = bsdiff::bspatch(old_data, old_size, in ApplyBSDiffPatch()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h109 int ApplyBSDiffPatch(const unsigned char* old_data, size_t old_size, const Value& patch,
117 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink,
Dimgpatch.h26 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data,