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);
167 int OH_ResourceManager_GetRawFileCount(RawDir *rawDir) in OH_ResourceManager_GetRawFileCount() argument169 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() argument177 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() argument189 if (rawDir != nullptr) { in OH_ResourceManager_CloseRawDir()190 delete rawDir; in OH_ResourceManager_CloseRawDir()