Searched refs:fill_val (Results 1 – 7 of 7) sorted by relevance
/system/core/libsparse/ |
D | output_file.cpp | 69 int (*write_fill_chunk)(struct output_file* out, uint64_t len, uint32_t fill_val); 343 static int write_sparse_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val) { in write_sparse_fill_chunk() argument 356 chunk_header.total_sz = CHUNK_HEADER_LEN + sizeof(fill_val); in write_sparse_fill_chunk() 360 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); in write_sparse_fill_chunk() 365 while (count--) out->crc32 = sparse_crc32(out->crc32, &fill_val, sizeof(uint32_t)); in write_sparse_fill_chunk() 457 static int write_normal_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val) { in write_normal_fill_chunk() argument 464 out->fill_buf[i] = fill_val; in write_normal_fill_chunk() 648 int write_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val) { in write_fill_chunk() argument 649 return out->sparse_ops->write_fill_chunk(out, len, fill_val); in write_fill_chunk()
|
D | sparse_read.cpp | 211 uint32_t fill_val; in process_fill_chunk() local 215 if (chunk_size != sizeof(fill_val)) { in process_fill_chunk() 219 ret = source->ReadValue(&fill_val, sizeof(fill_val)); in process_fill_chunk() 224 ret = sparse_file_add_fill(s, fill_val, len, block); in process_fill_chunk() 232 for (i = 0; i < (COPY_BUF_SIZE / sizeof(fill_val)); i++) { in process_fill_chunk() 233 fillbuf[i] = fill_val; in process_fill_chunk()
|
D | output_file.h | 34 int write_fill_chunk(struct output_file* out, uint64_t len, uint32_t fill_val);
|
D | backed_block.h | 34 int backed_block_add_fill(struct backed_block_list* bbl, unsigned int fill_val, uint64_t len,
|
D | backed_block.cpp | 273 int backed_block_add_fill(struct backed_block_list* bbl, unsigned int fill_val, uint64_t len, in backed_block_add_fill() argument 283 bb->fill.val = fill_val; in backed_block_add_fill()
|
D | sparse.cpp | 57 int sparse_file_add_fill(struct sparse_file* s, uint32_t fill_val, uint64_t len, in sparse_file_add_fill() argument 59 return backed_block_add_fill(s->backed_block_list, fill_val, len, block); in sparse_file_add_fill()
|
/system/core/libsparse/include/sparse/ |
D | sparse.h | 95 int sparse_file_add_fill(struct sparse_file* s, uint32_t fill_val, uint64_t len,
|