Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dfile_mapper.cpp29 FileMapper::FileMapper() in FileMapper() function in OHOS::AbilityBase::FileMapper
36 FileMapper::~FileMapper() in ~FileMapper()
43 bool FileMapper::CreateFileMapper(const std::string &fileName, bool compress, in CreateFileMapper()
85 bool FileMapper::CreateFileMapper(std::shared_ptr<ZipFileReader> fileReader, const std::string &fil… in CreateFileMapper()
112 bool FileMapper::IsCompressed() in IsCompressed()
117 uint8_t* FileMapper::GetDataPtr() in GetDataPtr()
122 size_t FileMapper::GetDataLen() in GetDataLen()
127 std::string FileMapper::GetFileName() in GetFileName()
132 int32_t FileMapper::GetOffset() in GetOffset()
H A Dextractor.cpp158 std::unique_ptr<FileMapper> Extractor::GetData(const std::string &fileName, bool) const in GetData()
164 std::shared_ptr<FileMapper> Extractor::GetSafeData(const std::string &fileName) in GetSafeData()
174 std::unique_ptr<FileMapper> Extractor::GetMmapData(const std::string &fileName) in GetMmapData()
180 bool Extractor::UnzipData(std::unique_ptr<FileMapper> fileMapper, in UnzipData()
H A Dzip_file.cpp1030 std::unique_ptr<FileMapper> ZipFile::CreateFileMapper(const std::string &fileName, FileMapperType t… in CreateFileMapper()
1048 std::unique_ptr<FileMapper> fileMapper = std::make_unique<FileMapper>(); in CreateFileMapper()
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dfile_mapper.h30 class FileMapper {
32 FileMapper();
33 FileMapper(FileMapper &) = delete;
34 void operator=(FileMapper &) = delete;
35 ~FileMapper();
H A 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);
H A Dzip_file.h233 …std::unique_ptr<FileMapper> CreateFileMapper(const std::string &fileName, FileMapperType type) con…
/ohos5.0/base/web/webview/ohos_adapter/ohos_resource_adapter/include/
H A Dohos_resource_adapter_impl.h26 OhosFileMapperImpl(std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap,
48 std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap_ = nullptr;
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp140 using FileMapper = AbilityBase::FileMapper; typedef
294 std::unique_ptr<FileMapper> fileMapper = std::make_unique<FileMapper>(); in GetSafeData()
H A Djs_runtime.cpp435 std::shared_ptr<AbilityBase::FileMapper> JsRuntime::GetSafeData(const std::string& path, std::strin… in GetSafeData()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Djs_runtime.h42 class FileMapper; variable
125 …static std::shared_ptr<AbilityBase::FileMapper> GetSafeData(const std::string& path, std::string& …
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/ohos_resource_adapter_test/
H A Dohos_resource_adapter_test.cpp183 …std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap = std::make_unique<OHOS::AbilityBase::FileM…
/ohos5.0/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
H A Dohos_resource_adapter_impl.cpp243 OhosFileMapperImpl::OhosFileMapperImpl(std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap, in OhosFileMapperImpl()
506 std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap; in GetRawFileMapper()