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

/frameworks/compile/mclinker/lib/Support/Unix/
H A 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
[all...]
/frameworks/compile/mclinker/lib/Support/Windows/
H A 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/
H A DPluginLoader.h38 DIR* pDir = opendir(pluginDir.string()); local
39 if (pDir == NULL) {
43 while ((pEntry = readdir(pDir))) {
53 closedir(pDir);
/frameworks/av/media/libmedia/include/media/
H A DPluginLoader.h38 DIR* pDir = opendir(pluginDir.string()); local
39 if (pDir == NULL) {
43 while ((pEntry = readdir(pDir))) {
53 closedir(pDir);
/frameworks/av/services/mediadrm/
H A DFactoryLoader.h92 DIR* pDir = opendir(dirPath.string()); local
94 if (pDir == NULL) {
100 while ((pEntry = readdir(pDir))) {
106 closedir(pDir);
113 closedir(pDir);
127 DIR* pDir = opendir(dirPath.string()); local
129 if (pDir == NULL) {
137 while ((pEntry = readdir(pDir))) {
/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/drm/libmediadrm/
H A DCrypto.cpp109 DIR* pDir = opendir(dirPath.string()); local
110 if (pDir) {
112 while ((pEntry = readdir(pDir))) {
121 closedir(pDir);
127 closedir(pDir);
H A DDrm.cpp225 DIR* pDir = opendir(dirPath.string()); local
227 if (pDir == NULL) {
235 while ((pEntry = readdir(pDir))) {
244 closedir(pDir);
250 closedir(pDir);
/frameworks/compile/mclinker/include/mcld/Support/
H A DDirectory.h34 friend void detail::open_dir(Directory& pDir);
35 friend void detail::close_dir(Directory& pDir);
H A DFileSystem.h90 void open_dir(Directory& pDir);
91 void close_dir(Directory& pDir);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java59 void cleanUpDirectory(File pDir, String dirName) { argument
60 File testDir = new File(pDir, dirName);
700 void verifyUserDataCleared(File pDir) { argument
701 if(localLOGV) Log.i(TAG, "Verifying "+pDir);
702 if(pDir == null) {
705 String fileList[] = pDir.list();
712 if(localLOGV) Log.i(TAG, "Found entry "+fileList[i]+ "in "+pDir);
717 fail(pDir+" should be empty or contain only lib subdirectory. Found "+fileList[i]);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp910 AssetDir* pDir = NULL; local
918 pDir = new AssetDir;
953 pDir->setFileList(pMergedInfo);
954 return pDir;
968 AssetDir* pDir = NULL; local
976 pDir = new AssetDir;
1002 pDir->setFileList(pMergedInfo);
1003 return pDir;

Completed in 229 milliseconds