Searched refs:FileMapper (Results 1 – 6 of 6) sorted by relevance
27 FileMapper::FileMapper() in FileMapper() function in panda::ecmascript::FileMapper34 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()
30 class FileMapper {32 FileMapper();33 FileMapper(FileMapper &) = delete;34 void operator=(FileMapper &) = delete;35 ~FileMapper();
77 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);
138 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()
222 …std::unique_ptr<FileMapper> CreateFileMapper(const std::string &fileName, FileMapperType type) con…
634 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()