Searched refs:pDir (Results 1 – 8 of 8) sorted by relevance
197 static int read_dir(intptr_t& pDir, std::string& pOutFilename)200 dirent *cur_dir = ::readdir(reinterpret_cast<DIR*>(pDir));212 return read_dir(pDir, pOutFilename);251 void open_dir(Directory& pDir)253 pDir.m_Handler = reinterpret_cast<intptr_t>(opendir(pDir.path().c_str()));254 if (pDir.m_Handler == 0) {256 pDir.m_CacheFull = true;260 std::string path(pDir.path().native());261 switch (read_dir(pDir.m_Handler, path)) {265 mcld::sys::fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist);[all …]
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()
37 friend void detail::open_dir(Directory& pDir);38 friend void detail::close_dir(Directory& pDir);
106 void open_dir(Directory& pDir);107 void close_dir(Directory& pDir);
58 void cleanUpDirectory(File pDir, String dirName) { in cleanUpDirectory() argument59 File testDir = new File(pDir, dirName); in cleanUpDirectory()698 void verifyUserDataCleared(File pDir) { in verifyUserDataCleared() argument699 if(localLOGV) Log.i(TAG, "Verifying "+pDir); in verifyUserDataCleared()700 if(pDir == null) { in verifyUserDataCleared()703 String fileList[] = pDir.list(); in verifyUserDataCleared()710 if(localLOGV) Log.i(TAG, "Found entry "+fileList[i]+ "in "+pDir); in verifyUserDataCleared()715 fail(pDir+" should be empty or contain only lib subdirectory. Found "+fileList[i]); in verifyUserDataCleared()
88 void addSearchDir(const std::string &pDir);
81 void addSearchDir(const std::string &pDir);
1138 AssetDir* pDir = NULL; in openDir() local1149 pDir = new AssetDir; in openDir()1184 pDir->setFileList(pMergedInfo); in openDir()1185 return pDir; in openDir()1201 AssetDir* pDir = NULL; in openNonAssetDir() local1212 pDir = new AssetDir; in openNonAssetDir()1238 pDir->setFileList(pMergedInfo); in openNonAssetDir()1239 return pDir; in openNonAssetDir()