Searched refs:bonus_size (Results 1 – 2 of 2) sorted by relevance
236 size_t bonus_size = (i == 1 && bonus_data != nullptr) ? bonus_data->data.size() : 0; in ApplyImagePatch() local267 if (strm.avail_out != bonus_size) { in ApplyImagePatch()268 printf("source inflation short by %zu bytes\n", strm.avail_out - bonus_size); in ApplyImagePatch()273 if (bonus_size) { in ApplyImagePatch()274 memcpy(expanded_source.data() + (expanded_len - bonus_size), bonus_data->data.data(), in ApplyImagePatch()275 bonus_size); in ApplyImagePatch()
1504 size_t bonus_size = st.st_size; in imgdiff() local1505 bonus_data.resize(bonus_size); in imgdiff()1506 if (!android::base::ReadFully(fd, bonus_data.data(), bonus_size)) { in imgdiff()