Home
last modified time | relevance | path

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

/frameworks/base/include/androidfw/
DAsset.h194 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
202 static Asset* createFromCompressedMap(FileMap* dataMap,
246 status_t openChunk(FileMap* dataMap);
274 FileMap* mMap; // for memory map
277 const void* ensureAlignment(FileMap* map);
302 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
322 FileMap* mMap; // for memory-mapped input
DStreamingZipInflater.h37 StreamingZipInflater(class FileMap* dataMap, size_t uncompSize);
57 class FileMap* mDataMap;
DZipFileRO.h137 FileMap* createEntryFileMap(ZipEntryRO entry) const;
/frameworks/base/tools/aapt2/io/
DData.h44 explicit MmappedData(android::FileMap&& map) : mMap(std::forward<android::FileMap>(map)) { in MmappedData()
56 android::FileMap mMap;
DFileSystem.cpp33 android::FileMap map; in openAsData()
34 if (Maybe<android::FileMap> map = file::mmapPath(mSource.path, nullptr)) { in openAsData()
DZipArchive.cpp35 android::FileMap fileMap; in openAsData()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h78 FileMap* map;
87 FileMap* map;
126 status_t initTexture(FileMap* map, int* width, int* height);
DBootAnimation.cpp193 status_t BootAnimation::initTexture(FileMap* map, int* width, int* height) in initTexture()
505 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile()
712 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
725 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
/frameworks/compile/libbcc/lib/Support/
DFileBase.cpp225 android::FileMap *FileBase::createMap(off_t pOffset, size_t pLength, in createMap()
231 android::FileMap *map = new (std::nothrow) android::FileMap(); in createMap()
/frameworks/compile/libbcc/include/bcc/Support/
DFileBase.h26 class FileMap; variable
127 android::FileMap *createMap(off_t pOffset, size_t pLength, bool pIsReadOnly);
DFile.h62 inline android::FileMap *createMap(off_t pOffset, size_t pLength,
/frameworks/base/libs/androidfw/
DAsset.cpp286 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap()
304 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap()
438 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk()
624 FileMap* map; in getBuffer()
626 map = new FileMap; in getBuffer()
664 const void* _FileAsset::ensureAlignment(FileMap* map) in ensureAlignment()
757 status_t _CompressedAsset::openChunk(FileMap* dataMap, size_t uncompressedLen) in openChunk()
DZipFileRO.cpp198 FileMap* ZipFileRO::createEntryFileMap(ZipEntryRO entry) const in createEntryFileMap()
211 FileMap* newMap = new FileMap(); in createEntryFileMap()
DStreamingZipInflater.cpp73 StreamingZipInflater::StreamingZipInflater(FileMap* dataMap, size_t uncompSize) { in StreamingZipInflater()
DAssetManager.cpp1167 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked()
/frameworks/base/tools/aapt2/dump/
DDump.cpp89 Maybe<android::FileMap> file = file::mmapPath(filePath, &err); in tryDumpFile()
95 android::FileMap* fileMap = &file.value(); in tryDumpFile()
/frameworks/av/drm/libdrmframework/include/
DReadWriteUtils.h73 FileMap* mFileMap;
/frameworks/base/tools/aapt2/util/
DFiles.h96 Maybe<android::FileMap> mmapPath(const StringPiece& path, std::string* outError);
DFiles.cpp166 Maybe<android::FileMap> mmapPath(const StringPiece& path, std::string* outError) { in mmapPath()
181 android::FileMap fileMap; in mmapPath()
/frameworks/base/tools/aapt2/compile/
DCompile.cpp295 const android::FileMap& map, IArchiveWriter* writer, in writeHeaderAndMmapToWriter()
411 Maybe<android::FileMap> f = file::mmapPath(pathData.source.path, &errorStr); in compileFile()
/frameworks/base/cmds/idmap/
Dscan.cpp159 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk()