Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsimg_dump.py127 chunk_sz = header[2]
135 print("%4u %10u %10u %7u %7u" % (i, curpos, data_sz, offset, chunk_sz),
139 if data_sz != (chunk_sz * blk_sz):
141 % (data_sz, chunk_sz * blk_sz))
162 for block in range(chunk_sz):
197 csvwriter.writerow([i, curpos, data_sz, offset, chunk_sz, curtype,
200 offset += chunk_sz
Dsparse_format.h49 __le32 chunk_sz; /* in blocks in output image */ member
Dsparse_read.cpp338 process_raw_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, crc_ptr); in process_chunk()
343 return chunk_header->chunk_sz; in process_chunk()
345 ret = process_fill_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, in process_chunk()
351 return chunk_header->chunk_sz; in process_chunk()
353 ret = process_skip_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, in process_chunk()
361 return chunk_header->chunk_sz; in process_chunk()
Doutput_file.cpp357 chunk_header.chunk_sz = skip_len / out->block_size; in write_sparse_skip_chunk()
380 chunk_header.chunk_sz = rnd_up_len / out->block_size; in write_sparse_fill_chunk()
411 chunk_header.chunk_sz = rnd_up_len / out->block_size; in write_sparse_data_chunk()
462 chunk_header.chunk_sz = rnd_up_len / out->block_size; in write_sparse_fd_chunk()
512 chunk_header.chunk_sz = 0; in write_sparse_end_chunk()