Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h35 class FileMap; variable
198 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode);
200 static std::unique_ptr<Asset> createFromUncompressedMap(std::unique_ptr<FileMap> dataMap,
209 static Asset* createFromCompressedMap(FileMap* dataMap,
212 static std::unique_ptr<Asset> createFromCompressedMap(std::unique_ptr<FileMap> dataMap,
256 status_t openChunk(FileMap* dataMap);
284 FileMap* mMap; // for memory map
287 const void* ensureAlignment(FileMap* map);
312 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
332 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/libs/androidfw/
DApkAssets.cpp99 std::unique_ptr<FileMap> map = util::make_unique<FileMap>(); in Open()
114 std::unique_ptr<FileMap> map = util::make_unique<FileMap>(); in Open()
DAsset.cpp287 /*static*/ Asset* Asset::createFromUncompressedMap(FileMap* dataMap, in createFromUncompressedMap()
302 /*static*/ std::unique_ptr<Asset> Asset::createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, in createFromUncompressedMap()
321 /*static*/ Asset* Asset::createFromCompressedMap(FileMap* dataMap, in createFromCompressedMap()
336 /*static*/ std::unique_ptr<Asset> Asset::createFromCompressedMap(std::unique_ptr<FileMap> dataMap, in createFromCompressedMap()
470 status_t _FileAsset::openChunk(FileMap* dataMap) in openChunk()
656 FileMap* map; in getBuffer()
658 map = new FileMap; in getBuffer()
696 const void* _FileAsset::ensureAlignment(FileMap* map) in ensureAlignment()
789 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.cpp875 FileMap* dataMap = pZipFile->createEntryFileMap(entry); in openAssetFromZipLocked()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h49 FileMap* map;
58 FileMap* map;
145 status_t initTexture(FileMap* map, int* width, int* height);
DBootAnimation.cpp190 status_t BootAnimation::initTexture(FileMap* map, int* width, int* height) in initTexture()
506 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile()
712 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
725 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp35 android::FileMap map; in OpenAsData()
36 if (Maybe<android::FileMap> map = file::MmapPath(source_.path, nullptr)) { in OpenAsData()
DData.h93 explicit MmappedData(android::FileMap&& map) : map_(std::forward<android::FileMap>(map)) {} in MmappedData()
132 android::FileMap map_;
DZipArchive.cpp38 android::FileMap file_map; in OpenAsData()
/frameworks/av/drm/common/include/
DReadWriteUtils.h73 FileMap* mFileMap;
/frameworks/base/tools/aapt2/cmd/
DDump.cpp97 Maybe<android::FileMap> file = file::MmapPath(file_path, &err); in TryDumpFile()
103 android::FileMap* file_map = &file.value(); in TryDumpFile()
DCompile.cpp303 const android::FileMap& map, IArchiveWriter* writer, in WriteHeaderAndMmapToWriter()
577 Maybe<android::FileMap> f = file::MmapPath(path_data.source.path, &error_str); in CompileFile()
/frameworks/base/tools/aapt2/util/
DFiles.cpp40 using ::android::FileMap;
165 Maybe<FileMap> MmapPath(const std::string& path, std::string* out_error) { in MmapPath()
183 FileMap filemap; in MmapPath()
DFiles.h77 Maybe<android::FileMap> MmapPath(const std::string& path, std::string* out_error);
/frameworks/compile/libbcc/lib/
DFileBase.h26 class FileMap; variable
/frameworks/base/cmds/idmap/
Dscan.cpp207 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk()