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

/system/core/libsparse/
H A Dsparse_read.c46 static char *copybuf; variable
122 ret = read_all(fd, copybuf, chunk);
126 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
162 fillbuf = (uint32_t *)copybuf;
169 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
192 memset(copybuf, 0, COPY_BUF_SIZE);
196 *crc32 = sparse_crc32(*crc32, copybuf, chunk);
288 if (!copybuf) {
289 copybuf = malloc(COPY_BUF_SIZE);
292 if (!copybuf) {
[all...]

Completed in 71 milliseconds