Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dbspatch.c143 ssize_t ctrl_len, data_len; in ApplyBSDiffPatchMem() local
145 data_len = offtin(header+16); in ApplyBSDiffPatchMem()
148 if (ctrl_len < 0 || data_len < 0 || *new_size < 0) { in ApplyBSDiffPatchMem()
167 dstream.avail_in = data_len; in ApplyBSDiffPatchMem()
176 estream.next_in = patch->data + patch_offset + 32 + ctrl_len + data_len; in ApplyBSDiffPatchMem()
177 estream.avail_in = patch->size - (patch_offset + 32 + ctrl_len + data_len); in ApplyBSDiffPatchMem()
Dimgpatch.c93 ssize_t data_len = Read4(raw_header); in ApplyImagePatch() local
95 if (pos + data_len > patch->size) { in ApplyImagePatch()
99 if (ctx) SHA_update(ctx, patch->data + pos, data_len); in ApplyImagePatch()
101 data_len, token) != data_len) { in ApplyImagePatch()
105 pos += data_len; in ApplyImagePatch()
/bootable/recovery/mtdutils/
Dmtdutils.h50 ssize_t mtd_read_data(MtdReadContext *, char *data, size_t data_len);
54 ssize_t mtd_write_data(MtdWriteContext *, const char *data, size_t data_len);
/bootable/recovery/updater/
Dinstall.c1033 int data_len, void* ctx) { in write_raw_image_cb() argument
1034 int r = mtd_write_data((MtdWriteContext*)ctx, (const char *)data, data_len); in write_raw_image_cb()
1035 if (r == data_len) return true; in write_raw_image_cb()