Searched refs:data_len (Results 1 – 3 of 3) sorted by relevance
198 size_t data_len = static_cast<size_t>(Read4(raw_header)); in ApplyImagePatch() local200 if (pos + data_len > patch.data.size()) { in ApplyImagePatch()204 if (sink(reinterpret_cast<const unsigned char*>(patch_header + pos), data_len) != data_len) { in ApplyImagePatch()208 pos += data_len; in ApplyImagePatch()
1344 size_t data_len = 0; in Initialize() local1345 while (data_len + pos < sz) { in Initialize()1346 if (data_len + pos + 4 <= sz && in Initialize()1347 get_unaligned<uint32_t>(file_content_.data() + pos + data_len) == 0x00088b1f) { in Initialize()1350 data_len++; in Initialize()1352 chunks_.emplace_back(CHUNK_NORMAL, pos, &file_content_, data_len); in Initialize()1354 pos += data_len; in Initialize()
64 ssize_t data_len = get_unaligned<int32_t>(data + pos); in verify_patch_header() local65 ASSERT_GT(data_len, 0); in verify_patch_header()66 pos += 4 + data_len; in verify_patch_header()