Searched refs:rawDir (Results 1 – 2 of 2) sorted by relevance
71 const char *OH_ResourceManager_GetRawFileName(RawDir *rawDir, int index);83 int OH_ResourceManager_GetRawFileCount(RawDir *rawDir);95 void OH_ResourceManager_CloseRawDir(RawDir *rawDir);
210 int OH_ResourceManager_GetRawFileCount(RawDir *rawDir) in OH_ResourceManager_GetRawFileCount() argument212 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() argument220 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() argument232 if (rawDir != nullptr) { in OH_ResourceManager_CloseRawDir()233 delete rawDir; in OH_ResourceManager_CloseRawDir()