Lines Matching refs:dataMap
287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap() argument
294 result = pAsset->openChunk(dataMap); in createFromUncompressedMap()
304 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap() argument
309 status_t result = pAsset->openChunk(dataMap.get()); in createFromUncompressedMap()
315 (void) dataMap.release(); in createFromUncompressedMap()
323 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap() argument
330 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
338 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap() argument
343 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen); in createFromCompressedMap()
349 (void) dataMap.release(); in createFromCompressedMap()
472 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk() argument
476 assert(dataMap != NULL); in openChunk()
478 mMap = dataMap; in openChunk()
480 mLength = dataMap->getDataLength(); in openChunk()
791 status_t _CompressedAsset::openChunk(FileMap* dataMap, size_t uncompressedLen) in openChunk() argument
795 assert(dataMap != NULL); in openChunk()
797 mMap = dataMap; in openChunk()
799 mCompressedLen = dataMap->getDataLength(); in openChunk()
804 mZipInflater = new StreamingZipInflater(dataMap, uncompressedLen); in openChunk()