Home
last modified time | relevance | path

Searched refs:pDir (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc43 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 …]
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc44 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;
/frameworks/av/include/media/
DPluginLoader.h38 DIR* pDir = opendir(pluginDir.string()); in PluginLoader() local
39 if (pDir == NULL) { in PluginLoader()
43 while ((pEntry = readdir(pDir))) { in PluginLoader()
53 closedir(pDir); in PluginLoader()
/frameworks/av/media/libmedia/include/media/
DPluginLoader.h38 DIR* pDir = opendir(pluginDir.string()); in PluginLoader() local
39 if (pDir == NULL) { in PluginLoader()
43 while ((pEntry = readdir(pDir))) { in PluginLoader()
53 closedir(pDir); in PluginLoader()
/frameworks/av/drm/drmserver/
DPlugInManager.h204 DIR* pDir = opendir(rsDirPath.string()); in getPlugInPathList() local
207 while (NULL != pDir && NULL != (pEntry = readdir(pDir))) { in getPlugInPathList()
219 if (NULL != pDir) { in getPlugInPathList()
220 closedir(pDir); in getPlugInPathList()
/frameworks/compile/mclinker/include/mcld/Support/
DFileSystem.h90 void open_dir(Directory& pDir);
91 void close_dir(Directory& pDir);
DDirectory.h34 friend void detail::open_dir(Directory& pDir);
35 friend void detail::close_dir(Directory& pDir);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java59 void cleanUpDirectory(File pDir, String dirName) { in cleanUpDirectory() argument
60 File testDir = new File(pDir, dirName); in cleanUpDirectory()
700 void verifyUserDataCleared(File pDir) { in verifyUserDataCleared() argument
701 if(localLOGV) Log.i(TAG, "Verifying "+pDir); in verifyUserDataCleared()
702 if(pDir == null) { in verifyUserDataCleared()
705 String fileList[] = pDir.list(); in verifyUserDataCleared()
712 if(localLOGV) Log.i(TAG, "Found entry "+fileList[i]+ "in "+pDir); in verifyUserDataCleared()
717 fail(pDir+" should be empty or contain only lib subdirectory. Found "+fileList[i]); in verifyUserDataCleared()
/frameworks/base/libs/androidfw/
DAssetManager.cpp910 AssetDir* pDir = NULL; in openDir() local
918 pDir = new AssetDir; in openDir()
953 pDir->setFileList(pMergedInfo); in openDir()
954 return pDir; in openDir()
968 AssetDir* pDir = NULL; in openNonAssetDir() local
976 pDir = new AssetDir; in openNonAssetDir()
1002 pDir->setFileList(pMergedInfo); in openNonAssetDir()
1003 return pDir; in openNonAssetDir()