Searched refs:pDir (Results 1 - 10 of 10) sorted by relevance

/frameworks/compile/mclinker/lib/Support/Unix/
H A DFileSystem.inc38 static int read_dir(intptr_t& pDir, std::string& pOutFilename)
41 dirent *cur_dir = ::readdir(reinterpret_cast<DIR*>(pDir));
53 return read_dir(pDir, pOutFilename);
60 void open_dir(Directory& pDir)
62 pDir.m_Handler = reinterpret_cast<intptr_t>(opendir(pDir.path().c_str()));
63 if (0 == pDir.m_Handler) {
66 pDir.m_CacheFull = true;
70 std::string path(pDir.path().native());
71 switch (read_dir(pDir
[all...]
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc42 void open_dir(Directory& pDir)
44 fs::Path file_filter(pDir.path());
49 pDir.m_Handler = reinterpret_cast<intptr_t>(hFile);
53 pDir.m_CacheFull = true;
60 fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist);
65 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/drm/libdrmframework/include/
H A DPlugInManager.h204 DIR* pDir = opendir(rsDirPath.string()); local
207 while (NULL != pDir && NULL != (pEntry = readdir(pDir))) {
219 if (NULL != pDir) {
220 closedir(pDir);
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp108 DIR* pDir = opendir(dirPath.string()); local
109 if (pDir) {
111 while ((pEntry = readdir(pDir))) {
120 closedir(pDir);
126 closedir(pDir);
H A DDrm.cpp150 DIR* pDir = opendir(dirPath.string()); local
152 if (pDir == NULL) {
160 while ((pEntry = readdir(pDir))) {
169 closedir(pDir);
175 closedir(pDir);
/frameworks/compile/mclinker/include/mcld/Support/
H A DDirectory.h37 friend void detail::open_dir(Directory& pDir);
38 friend void detail::close_dir(Directory& pDir);
H A DFileSystem.h97 void open_dir(Directory& pDir);
98 void close_dir(Directory& pDir);
/frameworks/compile/mclinker/tools/mcld/include/alone/Support/
H A DLinkerConfig.h113 void addSearchDir(const std::string &pDir);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java58 void cleanUpDirectory(File pDir, String dirName) { argument
59 File testDir = new File(pDir, dirName);
698 void verifyUserDataCleared(File pDir) { argument
699 if(localLOGV) Log.i(TAG, "Verifying "+pDir);
700 if(pDir == null) {
703 String fileList[] = pDir.list();
710 if(localLOGV) Log.i(TAG, "Found entry "+fileList[i]+ "in "+pDir);
715 fail(pDir+" should be empty or contain only lib subdirectory. Found "+fileList[i]);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1153 AssetDir* pDir = NULL; local
1164 pDir = new AssetDir;
1199 pDir->setFileList(pMergedInfo);
1200 return pDir;
1216 AssetDir* pDir = NULL; local
1227 pDir = new AssetDir;
1253 pDir->setFileList(pMergedInfo);
1254 return pDir;

Completed in 237 milliseconds