Searched refs:to_read (Results 1 – 1 of 1) sorted by relevance
/system/core/libsparse/ |
D | sparse_read.c | 364 unsigned int to_read; in sparse_file_read_normal() local 373 to_read = min(remain, s->block_size); in sparse_file_read_normal() 374 ret = read_all(fd, buf, to_read); in sparse_file_read_normal() 381 if (to_read == s->block_size) { in sparse_file_read_normal() 395 sparse_file_add_fill(s, buf[0], to_read, block); in sparse_file_read_normal() 397 sparse_file_add_fd(s, fd, offset, to_read, block); in sparse_file_read_normal() 400 remain -= to_read; in sparse_file_read_normal() 401 offset += to_read; in sparse_file_read_normal()
|