Searched refs:pDir (Results 1 – 9 of 9) sorted by relevance
42 static int read_dir(intptr_t& pDir, std::string& pOutFilename) {44 dirent* cur_dir = ::readdir(reinterpret_cast<DIR*>(pDir));56 return read_dir(pDir, pOutFilename);63 void open_dir(Directory& pDir) {64 pDir.m_Handler = reinterpret_cast<intptr_t>(opendir(pDir.path().c_str()));65 if (0 == pDir.m_Handler) {68 pDir.m_CacheFull = true;72 std::string path(pDir.path().native());73 switch (read_dir(pDir.m_Handler, path)) {78 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;
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()
109 DIR* pDir = opendir(dirPath.string()); in findFactoryForScheme() local110 if (pDir) { in findFactoryForScheme()112 while ((pEntry = readdir(pDir))) { in findFactoryForScheme()121 closedir(pDir); in findFactoryForScheme()127 closedir(pDir); in findFactoryForScheme()
228 DIR* pDir = opendir(dirPath.string()); in findFactoryForScheme() local230 if (pDir == NULL) { in findFactoryForScheme()238 while ((pEntry = readdir(pDir))) { in findFactoryForScheme()247 closedir(pDir); in findFactoryForScheme()253 closedir(pDir); in findFactoryForScheme()
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);
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()
1210 AssetDir* pDir = NULL; in openDir() local1221 pDir = new AssetDir; in openDir()1256 pDir->setFileList(pMergedInfo); in openDir()1257 return pDir; in openDir()1273 AssetDir* pDir = NULL; in openNonAssetDir() local1284 pDir = new AssetDir; in openNonAssetDir()1310 pDir->setFileList(pMergedInfo); in openNonAssetDir()1311 return pDir; in openNonAssetDir()