Home
last modified time | relevance | path

Searched refs:inflateSize (Results 1 – 1 of 1) sorted by relevance

/external/srec/srec/clib/
Dvoc_read.c267 static size_t inflateSize(size_t size) { in inflateSize() function
289 *buf = mmap(0, inflateSize(statbuf.st_size), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in mmap_zip()
311 buf2 = mmap(0, inflateSize(size2), PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in mmap_zip()
322 munmap(*buf, inflateSize(*size)); in mmap_zip()
333 if (buf2) munmap(buf2, inflateSize(size2)); in mmap_zip()
334 if (*buf && *buf != (void*)-1) munmap(*buf, inflateSize(*size)); in mmap_zip()
341 return munmap(buf, inflateSize(size)); in munmap_zip()