Searched refs:chunk_header (Results 1 - 3 of 3) sorted by relevance

/system/core/libsparse/
H A Doutput_file.c349 chunk_header_t chunk_header; local
359 chunk_header.chunk_type = CHUNK_TYPE_DONT_CARE;
360 chunk_header.reserved1 = 0;
361 chunk_header.chunk_sz = skip_len / out->block_size;
362 chunk_header.total_sz = CHUNK_HEADER_LEN;
363 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header));
376 chunk_header_t chunk_header; local
384 chunk_header.chunk_type = CHUNK_TYPE_FILL;
385 chunk_header
411 chunk_header_t chunk_header; local
451 chunk_header_t chunk_header; local
[all...]
H A Dsparse_format.h42 typedef struct chunk_header { struct
H A Dsparse_read.c224 unsigned int chunk_hdr_sz, chunk_header_t *chunk_header,
230 chunk_data_size = chunk_header->total_sz - chunk_hdr_sz;
232 switch (chunk_header->chunk_type) {
235 chunk_header->chunk_sz, cur_block, crc_ptr);
240 return chunk_header->chunk_sz;
243 chunk_header->chunk_sz, cur_block, crc_ptr);
248 return chunk_header->chunk_sz;
251 chunk_header->chunk_sz, cur_block, crc_ptr);
258 return chunk_header->chunk_sz;
269 chunk_header
223 process_chunk(struct sparse_file *s, int fd, off64_t offset, unsigned int chunk_hdr_sz, chunk_header_t *chunk_header, unsigned int cur_block, uint32_t *crc_ptr) argument
280 chunk_header_t chunk_header; local
[all...]

Completed in 25 milliseconds