Lines Matching refs:lengths
33 * lengths[i] is the length of the compressed chunk,
42 uint64_t* lengths;
85 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL;
132 s->lengths = qemu_realloc(s->lengths, new_size);
141 last_in_offset = s->offsets[i-1]+s->lengths[i-1];
160 s->lengths[i] = read_off(bs, offset);
163 if(s->lengths[i]>max_compressed_size)
164 max_compressed_size = s->lengths[i];
232 s->compressed_chunk+i, s->lengths[chunk]-i);
236 } while(ret>=0 && ret+i<s->lengths[chunk]);
238 if (ret != s->lengths[chunk])
242 s->zstream.avail_in = s->lengths[chunk];
254 s->uncompressed_chunk, s->lengths[chunk]);
255 if (ret != s->lengths[chunk])
289 free(s->lengths);