Searched refs:pDir (Results 1 – 7 of 7) sorted by relevance
43 static int read_dir(intptr_t& pDir, std::string& pOutFilename) {45 dirent* cur_dir = ::readdir(reinterpret_cast<DIR*>(pDir));57 return read_dir(pDir, pOutFilename);64 void open_dir(Directory& pDir) {65 pDir.m_Handler = reinterpret_cast<intptr_t>(opendir(pDir.path().c_str()));66 if (0 == pDir.m_Handler) {69 pDir.m_CacheFull = true;73 std::string path(pDir.path().native());74 switch (read_dir(pDir.m_Handler, path)) {79 pDir.m_Cache.insert(path, exist);[all …]
44 void open_dir(Directory& pDir) {45 fs::Path file_filter(pDir.path());50 pDir.m_Handler = reinterpret_cast<intptr_t>(hFile);54 pDir.m_CacheFull = true;61 fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist);66 void close_dir(Directory& pDir) {67 if (pDir.m_Handler)68 FindClose(reinterpret_cast<HANDLE>(pDir.m_Handler));69 pDir.m_Handler = 0;
38 DIR* pDir = opendir(pluginDir.string()); in PluginLoader() local39 if (pDir == NULL) { in PluginLoader()43 while ((pEntry = readdir(pDir))) { in PluginLoader()53 closedir(pDir); in PluginLoader()
204 DIR* pDir = opendir(rsDirPath.string()); in getPlugInPathList() local207 while (NULL != pDir && NULL != (pEntry = readdir(pDir))) { in getPlugInPathList()219 if (NULL != pDir) { in getPlugInPathList()220 closedir(pDir); in getPlugInPathList()
90 void open_dir(Directory& pDir);91 void close_dir(Directory& pDir);
34 friend void detail::open_dir(Directory& pDir);35 friend void detail::close_dir(Directory& pDir);
970 AssetDir* pDir = NULL; in openDir() local978 pDir = new AssetDir; in openDir()1013 pDir->setFileList(pMergedInfo); in openDir()1014 return pDir; in openDir()1028 AssetDir* pDir = NULL; in openNonAssetDir() local1036 pDir = new AssetDir; in openNonAssetDir()1062 pDir->setFileList(pMergedInfo); in openNonAssetDir()1063 return pDir; in openNonAssetDir()