Searched refs:copybuf (Results 1 – 1 of 1) sorted by relevance
/system/core/libsparse/ |
D | sparse_read.cpp | 50 static char* copybuf; variable 110 ret = read_all(fd, copybuf, chunk); in GetCrc32() 114 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in GetCrc32() 231 fillbuf = (uint32_t*)copybuf; in process_fill_chunk() 238 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_fill_chunk() 255 memset(copybuf, 0, COPY_BUF_SIZE); in process_skip_chunk() 259 *crc32 = sparse_crc32(*crc32, copybuf, chunk); in process_skip_chunk() 345 if (!copybuf) { in sparse_file_read_sparse() 346 copybuf = (char*)malloc(COPY_BUF_SIZE); in sparse_file_read_sparse() 349 if (!copybuf) { in sparse_file_read_sparse()
|