Home
last modified time | relevance | path

Searched refs:chunk_sz (Results 1 – 4 of 4) sorted by relevance

/system/core/libsparse/
Dsimg_dump.py128 chunk_sz = header[2]
136 print("%4u %10u %10u %7u %7u" % (i, curpos, data_sz, offset, chunk_sz),
140 if data_sz != (chunk_sz * blk_sz):
142 % (data_sz, chunk_sz * blk_sz))
163 for block in xrange(chunk_sz):
198 csvwriter.writerow([i, curpos, data_sz, offset, chunk_sz, curtype,
201 offset += chunk_sz
Dsparse_format.h49 __le32 chunk_sz; /* in blocks in output image */ member
Dsparse_read.cpp297 process_raw_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, crc_ptr); in process_chunk()
302 return chunk_header->chunk_sz; in process_chunk()
304 ret = process_fill_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, in process_chunk()
310 return chunk_header->chunk_sz; in process_chunk()
312 ret = process_skip_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, in process_chunk()
320 return chunk_header->chunk_sz; in process_chunk()
Doutput_file.cpp332 chunk_header.chunk_sz = skip_len / out->block_size; in write_sparse_skip_chunk()
354 chunk_header.chunk_sz = rnd_up_len / out->block_size; in write_sparse_fill_chunk()
385 chunk_header.chunk_sz = rnd_up_len / out->block_size; in write_sparse_data_chunk()
415 chunk_header.chunk_sz = 0; in write_sparse_end_chunk()