summaryrefslogtreecommitdiffstats
path: root/libs/utils/StreamingZipInflater.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change assets to use 64-bit APIKenny Root2010-12-081-2/+2
| | | | | | | | | | | | | The asset system and supporting libraries were using off_t instead of off64_t to access files larger than 2GB (32-bit signed). This change replaces all off_t with off64_t and lseek64. There is a new utils/Compat.h added for Mac OS compatibility. Also fixed some size-related compiler warnings. Bug: 3205336 Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
* Reduce logging.Joe Onorato2010-10-191-1/+2
| | | | | | | | | | Remember, the system and main logs are - Shared resources - Primarily for recording problems - To be used only for large grained events during normal operation Bug: 3104855 Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
* Attempt to fix the SDK buildChristopher Tate2010-07-291-4/+4
| | | | | | | | On the assumption that the local min() function declaration is in conflict with some 'min' #define floating around, rename the local function to min_of(). Change-Id: I62aa27f213c6093cc78805de611cf4aa75f0eef2
* Change unistd.h to stddef.h to be correctKenny Root2010-07-281-1/+1
| | | | | | size_t should be defined through inclusion of stddef.h instead of unistd.h Change-Id: Ieaadacfca1e1c44c2533ea95f73fc060c1519b52
* Add unistd.h for size_t typedef to fix sim-engKenny Root2010-07-281-0/+1
| | | | Change-Id: Ida4f1742547f39539b601f13182c722aa7cf863e
* Support streaming of compressed assets > 1 megabyteChristopher Tate2010-07-281-0/+224
Compressed assets larger than one megabyte are now decompressed on demand rather than being decompressed in their entirety and held in memory. Reading the data in order is relatively efficient, as is seeking forward in the stream. Seeking backwards is supported, but requires reprocessing the compressed data from the beginning, so is very inefficient. In addition, the size limit on compressed assets has been eliminated. Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad