Home
last modified time | relevance | path

Searched refs:FileMapper (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dfile_mapper.cpp27 FileMapper::FileMapper() in FileMapper() function in panda::ecmascript::FileMapper
34 FileMapper::~FileMapper() in ~FileMapper()
41 bool FileMapper::CreateFileMapper(const std::string &fileName, bool compress, in CreateFileMapper()
77 bool FileMapper::CreateFileMapper(std::shared_ptr<ZipFileReader> fileReader, const std::string &fil… in CreateFileMapper()
99 bool FileMapper::IsCompressed() in IsCompressed()
104 uint8_t* FileMapper::GetDataPtr() in GetDataPtr()
109 size_t FileMapper::GetDataLen() in GetDataLen()
114 std::string FileMapper::GetFileName() in GetFileName()
119 int32_t FileMapper::GetOffset() in GetOffset()
Dfile_mapper.h30 class FileMapper {
32 FileMapper();
33 FileMapper(FileMapper &) = delete;
34 void operator=(FileMapper &) = delete;
35 ~FileMapper();
Dextractor.h77 std::unique_ptr<FileMapper> GetData(const std::string &fileName, bool safeRegion = false) const;
83 std::unique_ptr<FileMapper> GetMmapData(const std::string &fileName);
85 …bool UnzipData(std::unique_ptr<FileMapper> fileMapper, std::unique_ptr<uint8_t[]> &dataPtr, size_t…
96 std::shared_ptr<FileMapper> GetSafeData(const std::string &fileName);
Dextractor.cpp138 std::unique_ptr<FileMapper> Extractor::GetData(const std::string &fileName, bool) const in GetData()
144 std::shared_ptr<FileMapper> Extractor::GetSafeData(const std::string &fileName) in GetSafeData()
154 std::unique_ptr<FileMapper> Extractor::GetMmapData(const std::string &fileName) in GetMmapData()
Dzip_file.h222 …std::unique_ptr<FileMapper> CreateFileMapper(const std::string &fileName, FileMapperType type) con…
Dzip_file.cpp634 std::unique_ptr<FileMapper> ZipFile::CreateFileMapper(const std::string &fileName, FileMapperType t… in CreateFileMapper()
649 std::unique_ptr<FileMapper> fileMapper = std::make_unique<FileMapper>(); in CreateFileMapper()