Home
last modified time | relevance | path

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

/base/global/resource_management/interfaces/native/resource/include/
Draw_file.h47 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);
Draw_file_manager.h119 RawFile *OH_ResourceManager_OpenRawFile(const NativeResourceManager *mgr, const char *fileName);
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp59 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 …]
Dhap_manager.cpp578 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()
Dresource_manager_impl.cpp1167 …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/
Dhap_manager.h158 …RawFileFromHap(const std::string &rawFileName, std::unique_ptr<ResourceManager::RawFile> &rawFile);
Dhap_parser.h62 … const std::string &rawFilePath, std::unique_ptr<ResourceManager::RawFile> &rawFile);
Dresource_manager_impl.h471 …virtual RState GetRawFileFromHap(const std::string &rawFileName, std::unique_ptr<RawFile> &rawFile…
/base/global/resource_management/interfaces/inner_api/include/
Dresource_manager.h41 struct RawFile { struct
168 …virtual RState GetRawFileFromHap(const std::string &rawFileName, std::unique_ptr<RawFile> &rawFile…
/base/global/resource_management/frameworks/resmgr/src/utils/
Dhap_parser.cpp189 …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/
Dresource_manager_addon.cpp1086 auto rawFile = std::make_unique<ResourceManager::RawFile>(); in __anon14aac4541302()
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dresource_manager_test.cpp5737 std::unique_ptr<ResourceManager::RawFile> rawFile;