Home
last modified time | relevance | path

Searched refs:pDir (Results 1 – 7 of 7) 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/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/libs/androidfw/
DAssetManager.cpp970 AssetDir* pDir = NULL; in openDir() local
978 pDir = new AssetDir; in openDir()
1013 pDir->setFileList(pMergedInfo); in openDir()
1014 return pDir; in openDir()
1028 AssetDir* pDir = NULL; in openNonAssetDir() local
1036 pDir = new AssetDir; in openNonAssetDir()
1062 pDir->setFileList(pMergedInfo); in openNonAssetDir()
1063 return pDir; in openNonAssetDir()