OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bonus_size
(Results
1 - 2
of
2
) sorted by null
/bootable/recovery/applypatch/
imgpatch.c
130
// deflation will come up '
bonus_size
' bytes short; these
132
size_t
bonus_size
= (i == 1 && bonus_data != NULL) ? bonus_data->size : 0;
local
165
// for the
bonus_size
.
166
if (strm.avail_out !=
bonus_size
) {
167
printf("source inflation short by %zu bytes\n", strm.avail_out-
bonus_size
);
172
if (
bonus_size
) {
173
memcpy(expanded_source + (expanded_len -
bonus_size
),
174
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 301 milliseconds