Searched refs:RawFile (Results 1 - 3 of 3) sorted by relevance
/base/global/resource_management/interfaces/native/resource/include/ |
H A D | raw_file.h | 49 struct RawFile;
67 typedef struct RawFile RawFile;
typedef 122 * @param rawFile Indicates the pointer to {@link RawFile}.
129 int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, size_t length);
134 * @param rawFile Indicates the pointer to {@link RawFile}.
145 int OH_ResourceManager_SeekRawFile(const RawFile *rawFile, long offset, int whence);
150 * @param rawFile Indicates the pointer to {@link RawFile}.
155 long OH_ResourceManager_GetRawFileSize(RawFile *rawFile);
160 * @param rawFile Indicates the pointer to {@link RawFile} [all...] |
H A D | raw_file_manager.h | 112 * @return Returns the pointer to {@link RawFile}. After you finish using the pointer, call
119 RawFile *OH_ResourceManager_OpenRawFile(const NativeResourceManager *mgr, const char *fileName);
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | raw_file_manager.cpp | 61 struct RawFile {
struct 70 explicit RawFile(const std::string &path) : filePath(path), offset(0), length(0),
in RawFile() function 73 ~RawFile()
in ~RawFile() 182 RawFile *LoadRawFileFromHap(const NativeResourceManager *mgr, const char *fileName, const std::string hapPath)
in LoadRawFileFromHap() 191 auto result = std::make_unique<RawFile>(fileName);
in LoadRawFileFromHap() 208 RawFile *OH_ResourceManager_OpenRawFile(const NativeResourceManager *mgr, const char *fileName)
in OH_ResourceManager_OpenRawFile() 225 auto result = std::make_unique<RawFile>(filePath);
in OH_ResourceManager_OpenRawFile() 265 int OH_ResourceManager_ReadRawFile(const RawFile *rawFile, void *buf, size_t length)
in OH_ResourceManager_ReadRawFile() 287 int OH_ResourceManager_SeekRawFile(const RawFile *rawFile, long offset, int whence)
in OH_ResourceManager_SeekRawFile() 318 long OH_ResourceManager_GetRawFileSize(RawFile *rawFil [all...] |
Completed in 3 milliseconds