Home
last modified time | relevance | path

Searched refs:rawDir (Results 1 – 2 of 2) sorted by relevance

/base/global/resource_management/interfaces/native/resource/include/
Draw_dir.h71 const char *OH_ResourceManager_GetRawFileName(RawDir *rawDir, int index);
83 int OH_ResourceManager_GetRawFileCount(RawDir *rawDir);
95 void OH_ResourceManager_CloseRawDir(RawDir *rawDir);
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp210 int OH_ResourceManager_GetRawFileCount(RawDir *rawDir) in OH_ResourceManager_GetRawFileCount() argument
212 if (rawDir == nullptr) { in OH_ResourceManager_GetRawFileCount()
215 return rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileCount()
218 const char *OH_ResourceManager_GetRawFileName(RawDir *rawDir, int index) in OH_ResourceManager_GetRawFileName() argument
220 if (rawDir == nullptr || index < 0) { in OH_ResourceManager_GetRawFileName()
223 uint32_t rawFileCount = rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileName()
227 return rawDir->fileNameCache.names[index].c_str(); in OH_ResourceManager_GetRawFileName()
230 void OH_ResourceManager_CloseRawDir(RawDir *rawDir) in OH_ResourceManager_CloseRawDir() argument
232 if (rawDir != nullptr) { in OH_ResourceManager_CloseRawDir()
233 delete rawDir; in OH_ResourceManager_CloseRawDir()