HomeSort by relevance Sort by last modified time
    Searched refs:bonus_size (Results 1 - 2 of 2) sorted by null

  /bootable/recovery/applypatch/
imgpatch.c 129 // deflation will come up 'bonus_size' bytes short; these
131 size_t bonus_size = (i == 1 && bonus_data != NULL) ? bonus_data->size : 0; local
164 // for the bonus_size.
165 if (strm.avail_out != bonus_size) {
166 printf("source inflation short by %d bytes\n", strm.avail_out-bonus_size);
171 if (bonus_size) {
172 memcpy(expanded_source + (expanded_len - bonus_size),
173 bonus_data->data, bonus_size);
imgdiff.c 791 size_t bonus_size = 0; local
799 bonus_size = st.st_size;
800 bonus_data = malloc(bonus_size);
806 if (fread(bonus_data, 1, bonus_size, f) != bonus_size) {
961 printf(" using %d bytes of bonus data for chunk %d\n", bonus_size, i);
962 src_chunks[i].data = realloc(src_chunks[i].data, src_chunks[i].len + bonus_size);
963 memcpy(src_chunks[i].data+src_chunks[i].len, bonus_data, bonus_size);
964 src_chunks[i].len += bonus_size;
    [all...]

Completed in 141 milliseconds