/ndk/sources/host-tools/make-3.81/w32/compat/ |
dirent.c | 31 DIR* pDir;
50 pDir = (DIR *) malloc(sizeof (DIR));
52 if (!pDir)
59 strcpy(pDir->dir_pDirectoryName, pDirName);
62 pEndDirName = &pDir->dir_pDirectoryName[nBufferLen - 1];
77 pDir->dir_nNumFiles = 0;
78 pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
79 pDir->dir_ulCookie = __DIRENT_COOKIE;
81 return pDir;
85 closedir(DIR *pDir)
[all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
smc_properties.c | 108 char *pDir = pPath; 121 pDir = malloc(sizeof(char) * nSlashIndex); 122 if (pDir == NULL) 127 strncpy(pDir, pPath, nSlashIndex); 128 pDir[nSlashIndex] = '\0'; 132 result = stat(pDir, &buf); 136 if (SymbianCheckFSDirectory(pDir) == -1) 138 printf("Cannot create directory : %s\n.", pDir); 142 printf("Unknown path : %s\n.", pDir); 151 printf("Path %s doesn't point on a directory.\n", pDir); [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
smc_properties.c | 108 char *pDir = pPath; 121 pDir = malloc(sizeof(char) * nSlashIndex); 122 if (pDir == NULL) 127 strncpy(pDir, pPath, nSlashIndex); 128 pDir[nSlashIndex] = '\0'; 132 result = stat(pDir, &buf); 136 if (SymbianCheckFSDirectory(pDir) == -1) 138 printf("Cannot create directory : %s\n.", pDir); 142 printf("Unknown path : %s\n.", pDir); 151 printf("Path %s doesn't point on a directory.\n", pDir); [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
filetools.cpp | 52 DIR *pDir = NULL; 53 if ((pDir= opendir(checkAgainst)) != NULL) { 57 while ((dirEntry = readdir(pDir)) != NULL) { 81 closedir(pDir);
|
/frameworks/av/drm/libdrmframework/include/ |
PlugInManager.h | 204 DIR* pDir = opendir(rsDirPath.string()); 207 while (NULL != pDir && NULL != (pEntry = readdir(pDir))) { 219 if (NULL != pDir) { 220 closedir(pDir);
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXDccDataSave.cpp | 137 FILE * OMXCameraAdapter::parseDCCsubDir(DIR *pDir, char *path) 147 while ((dirEntry = readdir(pDir)) != NULL) 218 DIR *pDir; 225 pDir = opendir(dccPath); 226 if (!pDir) { 232 pFile = parseDCCsubDir(pDir, dccPath); 233 closedir(pDir);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
Directory.h | 34 friend void detail::open_dir(Directory& pDir); 35 friend void detail::close_dir(Directory& pDir);
|
FileSystem.h | 90 void open_dir(Directory& pDir); 91 void close_dir(Directory& pDir);
|
/frameworks/av/drm/libmediadrm/ |
Crypto.cpp | 108 DIR* pDir = opendir(dirPath.string()); 109 if (pDir) { 111 while ((pEntry = readdir(pDir))) { 120 closedir(pDir); 126 closedir(pDir);
|
Drm.cpp | 224 DIR* pDir = opendir(dirPath.string()); 226 if (pDir == NULL) { 234 while ((pEntry = readdir(pDir))) { 243 closedir(pDir); 249 closedir(pDir);
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 59 void cleanUpDirectory(File pDir, String dirName) { 60 File testDir = new File(pDir, dirName); 700 void verifyUserDataCleared(File pDir) { 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]);
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
filetransfermsg.c | 255 DIR* pDir = NULL; 267 if((pDir = opendir(path)) == NULL) { 273 while((pDirent = readdir(pDir))) { 314 if(closedir(pDir) < 0) {
|
/frameworks/base/libs/androidfw/ |
AssetManager.cpp | [all...] |
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/ |
OMXCameraAdapter.h | 788 FILE * parseDCCsubDir(DIR *pDir, char *path); [all...] |