Searched refs:RawFile (Results 1 – 12 of 12) sorted by relevance
/base/global/resource_management/interfaces/native/resource/include/ |
D | raw_file.h | 47 struct RawFile; 57 typedef struct RawFile RawFile; typedef 91 int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, size_t length); 107 int OH_ResourceManager_SeekRawFile(const RawFile *rawFile, long offset, int whence); 117 long OH_ResourceManager_GetRawFileSize(RawFile *rawFile); 129 void OH_ResourceManager_CloseRawFile(RawFile *rawFile); 141 long OH_ResourceManager_GetRawFileOffset(const RawFile *rawFile); 154 bool OH_ResourceManager_GetRawFileDescriptor(const RawFile *rawFile, RawFileDescriptor &descriptor);
|
D | raw_file_manager.h | 119 RawFile *OH_ResourceManager_OpenRawFile(const NativeResourceManager *mgr, const char *fileName);
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | raw_file_manager.cpp | 59 struct RawFile { struct 66 explicit RawFile(const std::string &path) : filePath(path), offset(0L), length(0L), in RawFile() argument 69 ~RawFile() in ~RawFile() argument 161 RawFile *LoadRawFileFromHap(const NativeResourceManager *mgr, const char *fileName) in LoadRawFileFromHap() 163 auto rawFile = std::make_unique<ResourceManager::RawFile>(); in LoadRawFileFromHap() 169 auto result = std::make_unique<RawFile>(fileName); in LoadRawFileFromHap() 185 RawFile *OH_ResourceManager_OpenRawFile(const NativeResourceManager *mgr, const char *fileName) in OH_ResourceManager_OpenRawFile() 199 std::unique_ptr<RawFile> result = std::make_unique<RawFile>(filePath); in OH_ResourceManager_OpenRawFile() 237 int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, size_t length) in OH_ResourceManager_ReadRawFile() 254 int OH_ResourceManager_SeekRawFile(const RawFile *rawFile, long offset, int whence) in OH_ResourceManager_SeekRawFile() [all …]
|
D | hap_manager.cpp | 578 int32_t GetFileFd(const char *zipFile, std::unique_ptr<ResourceManager::RawFile> &rawFile) in GetFileFd() 596 std::unique_ptr<ResourceManager::RawFile> &rawFile) in FindRawFileFromHap() 599 rawFile = std::make_unique<ResourceManager::RawFile>(); in FindRawFileFromHap()
|
D | resource_manager_impl.cpp | 1167 …ceManagerImpl::GetRawFileFromHap(const std::string &rawFileName, std::unique_ptr<RawFile> &rawFile) in GetRawFileFromHap() 1181 auto rawFile = std::make_unique<RawFile>(); in GetRawFileDescriptorFromHap()
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | hap_manager.h | 158 …RawFileFromHap(const std::string &rawFileName, std::unique_ptr<ResourceManager::RawFile> &rawFile);
|
D | hap_parser.h | 62 … const std::string &rawFilePath, std::unique_ptr<ResourceManager::RawFile> &rawFile);
|
D | resource_manager_impl.h | 471 …virtual RState GetRawFileFromHap(const std::string &rawFileName, std::unique_ptr<RawFile> &rawFile…
|
/base/global/resource_management/interfaces/inner_api/include/ |
D | resource_manager.h | 41 struct RawFile { struct 168 …virtual RState GetRawFileFromHap(const std::string &rawFileName, std::unique_ptr<RawFile> &rawFile…
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | hap_parser.cpp | 189 …std::unique_ptr<uint8_t[]> &buffer, size_t &bufLen, std::unique_ptr<ResourceManager::RawFile> &raw… in ReadRawFileInfoFromHap() 224 const std::string &rawFilePath, std::unique_ptr<ResourceManager::RawFile> &rawFile) in ReadRawFileFromHap()
|
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
D | resource_manager_addon.cpp | 1086 auto rawFile = std::make_unique<ResourceManager::RawFile>(); in __anon14aac4541302()
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | resource_manager_test.cpp | 5737 std::unique_ptr<ResourceManager::RawFile> rawFile;
|