Searched refs:FileMapper (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_mapper.cpp | 29 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 D | extractor.cpp | 158 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 D | zip_file.cpp | 1030 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 D | file_mapper.h | 30 class FileMapper { 32 FileMapper(); 33 FileMapper(FileMapper &) = delete; 34 void operator=(FileMapper &) = delete; 35 ~FileMapper();
|
H A D | extractor.h | 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);
|
H A D | zip_file.h | 233 …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 D | ohos_resource_adapter_impl.h | 26 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 D | js_worker.cpp | 140 using FileMapper = AbilityBase::FileMapper; typedef 294 std::unique_ptr<FileMapper> fileMapper = std::make_unique<FileMapper>(); in GetSafeData()
|
H A D | js_runtime.cpp | 435 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 D | js_runtime.h | 42 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 D | ohos_resource_adapter_test.cpp | 183 …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 D | ohos_resource_adapter_impl.cpp | 243 OhosFileMapperImpl::OhosFileMapperImpl(std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap, in OhosFileMapperImpl() 506 std::unique_ptr<OHOS::AbilityBase::FileMapper> fileMap; in GetRawFileMapper()
|