Searched refs:SinkFn (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/applypatch/include/applypatch/ |
D | imgpatch.h | 24 using SinkFn = std::function<size_t(const unsigned char*, size_t)>; variable 27 size_t patch_size, SinkFn sink);
|
D | applypatch.h | 38 using SinkFn = std::function<size_t(const unsigned char*, size_t)>; variable 110 size_t patch_offset, SinkFn sink); 117 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink,
|
/bootable/recovery/applypatch/ |
D | bspatch.cpp | 69 size_t patch_offset, SinkFn sink) { in ApplyBSDiffPatch()
|
D | imgpatch.cpp | 55 const char* deflate_header, SinkFn sink) { in ApplyBSDiffPatchAndStreamOutput() 136 size_t patch_size, SinkFn sink) { in ApplyImagePatch() 142 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const Value& patch, SinkFn sink, in ApplyImagePatch()
|
D | applypatch.cpp | 367 SinkFn sink = [&patched, &ctx](const unsigned char* data, size_t len) { in GenerateTarget()
|