Home
last modified time | relevance | path

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

/base/global/resmgr_standard/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/resmgr_standard/frameworks/resmgr/src/
Draw_file_manager.cpp167 int OH_ResourceManager_GetRawFileCount(RawDir *rawDir) in OH_ResourceManager_GetRawFileCount() argument
169 if (rawDir == nullptr) { in OH_ResourceManager_GetRawFileCount()
172 return rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileCount()
175 const char *OH_ResourceManager_GetRawFileName(RawDir *rawDir, int index) in OH_ResourceManager_GetRawFileName() argument
177 if (rawDir == nullptr || index < 0) { in OH_ResourceManager_GetRawFileName()
180 uint32_t rawFileCount = rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileName()
184 return rawDir->fileNameCache.names[index].c_str(); in OH_ResourceManager_GetRawFileName()
187 void OH_ResourceManager_CloseRawDir(RawDir *rawDir) in OH_ResourceManager_CloseRawDir() argument
189 if (rawDir != nullptr) { in OH_ResourceManager_CloseRawDir()
190 delete rawDir; in OH_ResourceManager_CloseRawDir()