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