Lines Matching refs:dataMap
287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap() argument
294 result = pAsset->openChunk(dataMap); in createFromUncompressedMap()
302 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap() argument
307 status_t result = pAsset->openChunk(dataMap.get()); in createFromUncompressedMap()
313 (void) dataMap.release(); in createFromUncompressedMap()
321 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap() argument
328 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
336 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap() argument
341 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen); in createFromCompressedMap()
347 (void) dataMap.release(); in createFromCompressedMap()
470 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk() argument
474 assert(dataMap != NULL); in openChunk()
476 mMap = dataMap; in openChunk()
478 mLength = dataMap->getDataLength(); in openChunk()
789 status_t _CompressedAsset::openChunk(FileMap* dataMap, size_t uncompressedLen) in openChunk() argument
793 assert(dataMap != NULL); in openChunk()
795 mMap = dataMap; in openChunk()
797 mCompressedLen = dataMap->getDataLength(); in openChunk()
802 mZipInflater = new StreamingZipInflater(dataMap, uncompressedLen); in openChunk()