Home
last modified time | relevance | path

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

/system/core/libsparse/
Dsparse_read.cpp287 chunk_header_t* chunk_header, unsigned int cur_block, uint32_t* crc_ptr) { in process_chunk() argument
297 process_raw_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, crc_ptr); in process_chunk()
304 ret = process_fill_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, in process_chunk()
312 ret = process_skip_chunk(s, chunk_data_size, source, chunk_header->chunk_sz, cur_block, in process_chunk()
343 unsigned int cur_block = 0; in sparse_file_read_sparse() local
398 ret = process_chunk(s, source, sparse_header.chunk_hdr_sz, &chunk_header, cur_block, crc_ptr); in sparse_file_read_sparse()
403 cur_block += ret; in sparse_file_read_sparse()
406 if (sparse_header.total_blks != cur_block) { in sparse_file_read_sparse()