/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/core/io/ |
H A D | Dir.cpp | 54 hDir = NULL; in Dir() 65 if (!check_closed(hDir)) in open() 78 if (!check_closed(hDir)) in open() 138 hDir = dh; in open() 145 if (!check_closed(hDir)) in open() 154 if (check_closed(hDir)) in rewind() 189 ::FindClose(hDir); in rewind() 192 hDir = dh; in rewind() 195 ::rewinddir(hDir); in rewind() 204 if (check_closed(hDir)) in read() [all …]
|
/dports/audio/linuxsampler/linuxsampler-2.2.0/src/common/ |
H A D | DynamicLibraries.cpp | 36 HANDLE hDir = FindFirstFile(dllpattern.c_str(), &win32FindData); in DynamicLibrariesSearch() local 37 if (hDir == INVALID_HANDLE_VALUE) { in DynamicLibrariesSearch() 72 } while (FindNextFile(hDir, &win32FindData)); in DynamicLibrariesSearch() 74 if (hDir != INVALID_HANDLE_VALUE) FindClose(hDir); in DynamicLibrariesSearch() 82 DIR* hDir = opendir(dir.c_str()); in DynamicLibrariesSearch() local 83 if (!hDir) { in DynamicLibrariesSearch() 86 for (dirent* pEntry = readdir(hDir); pEntry; pEntry = readdir(hDir)) { in DynamicLibrariesSearch() 122 closedir(hDir); in DynamicLibrariesSearch()
|
/dports/devel/upp/upp/bazaar/FSMon/ |
H A D | FSMonWin.cpp | 70 CancelIo(monitoredInfo[i].hDir); in ~FSMon() 148 HANDLE hDir = CreateFile( in Add() local 159 if (hDir == INVALID_HANDLE_VALUE) in Add() 165 hDir, in Add() 177 CloseHandle(hDir); in Add() 194 info.hDir = hDir; in Add() 211 info.hDir, in Add() 267 CancelIo(info.hDir); in Remove() 283 CloseHandle(info.hDir); in Remove() 473 CancelIo(info.hDir); in monitorCb() [all …]
|
/dports/audio/linuxsampler/linuxsampler-2.2.0/src/plugins/ |
H A D | InstrumentEditorFactory.cpp | 161 HANDLE hDir = FindFirstFile(pluginpattern.c_str(), &win32FindData); in LoadPlugins() local 162 if (hDir == INVALID_HANDLE_VALUE) { in LoadPlugins() 218 } while (FindNextFile(hDir, &win32FindData)); in LoadPlugins() 220 if (hDir != INVALID_HANDLE_VALUE) FindClose(hDir); in LoadPlugins() 228 DIR* hDir = opendir(plugindir.c_str()); in LoadPlugins() 229 if (!hDir) { in LoadPlugins() 232 for (dirent* pEntry = readdir(hDir); pEntry; pEntry = readdir(hDir)) { in LoadPlugins() 253 closedir(hDir); in LoadPlugins()
|
/dports/games/openclonk/openclonk-release-8.1-src/src/platform/ |
H A D | C4FileMonitor.cpp | 124 CloseHandle(pWatches->hDir); in ~C4FileMonitor() 145 …HANDLE hDir = CreateFileW(GetWideChar(szDir), FILE_LIST_DIRECTORY, FILE_SHARE_READ | FILE_SHARE_WR… in AddDirectory() local 146 if (hDir == INVALID_HANDLE_VALUE) return; in AddDirectory() 149 pWatch->hDir = hDir; in AddDirectory() 158 …if (!ReadDirectoryChangesW(hDir, pWatch->Buffer, sizeof(pWatch->Buffer), false, C4FileMonitorNotif… in AddDirectory() 176 if (GetOverlappedResult(pWatch->hDir, &pWatch->ov, &dwBytes, false)) in Execute() 193 …ReadDirectoryChangesW(pWatch->hDir, pWatch->Buffer, sizeof(pWatch->Buffer), false, C4FileMonitorNo… in Execute() 195 while (GetOverlappedResult(pWatch->hDir, &pWatch->ov, &dwBytes, false)) in Execute() 197 …ReadDirectoryChangesW(pWatch->hDir, pWatch->Buffer, sizeof(pWatch->Buffer), false, C4FileMonitorNo… in Execute()
|
/dports/devel/commoncpp/commoncpp2-1.8.1/src/ |
H A D | dir.cpp | 57 hDir(INVALID_HANDLE_VALUE), name(NULL) in Dir() 171 hDir = FindFirstFile(path, &fdata); in open() 172 if(hDir != INVALID_HANDLE_VALUE) in open() 198 if(hDir != INVALID_HANDLE_VALUE) in close() 199 FindClose(hDir); in close() 200 hDir = INVALID_HANDLE_VALUE; in close() 227 if(hDir == INVALID_HANDLE_VALUE) in isValid() 256 if(hDir == INVALID_HANDLE_VALUE) in getName() 261 if(FindNextFile(hDir, &data)) in getName()
|
/dports/devel/ucommon/ucommon-7.0.0/commoncpp/ |
H A D | dir.cpp | 77 hDir(INVALID_HANDLE_VALUE), name(NULL) in Dir() 196 hDir = FindFirstFile(path, &fdata); in open() 197 if(hDir != INVALID_HANDLE_VALUE) in open() 223 if(hDir != INVALID_HANDLE_VALUE) in close() 224 FindClose(hDir); in close() 225 hDir = INVALID_HANDLE_VALUE; in close() 252 if(hDir == INVALID_HANDLE_VALUE) in isValid() 281 if(hDir == INVALID_HANDLE_VALUE) in getName() 287 if(FindNextFile(hDir, &data)) in getName()
|
/dports/devel/avce00/avce00-2.0.0/ |
H A D | cpl_dir.c | 136 DIR *hDir; in CPLReadDir() local 143 if ( (hDir = opendir(pszPath)) != NULL ) in CPLReadDir() 145 while( (psDirEntry = readdir(hDir)) != NULL ) in CPLReadDir() 150 closedir( hDir ); in CPLReadDir()
|
/dports/games/wolfpack/empire-4.4.1/src/lib/commands/ |
H A D | info.c | 307 HANDLE hDir; in c_info() local 310 hDir = FindFirstFile(filename, &fData); in c_info() 311 if (hDir == INVALID_HANDLE_VALUE) { in c_info() 351 } while (FindNextFile(hDir, &fData)); in c_info() 352 FindClose(hDir); in c_info() 391 HANDLE hDir; in c_apropos() local 415 hDir = FindFirstFile(filename, &fData); in c_apropos() 416 if (hDir == INVALID_HANDLE_VALUE) { in c_apropos() 481 } while (FindNextFile(hDir, &fData)); in c_apropos() 482 FindClose(hDir); in c_apropos()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ |
H A D | TestLocalCacheDirectoryManager.java | 42 LocalCacheDirectoryManager hDir = new LocalCacheDirectoryManager(conf); in testHierarchicalSubDirectoryCreation() local 44 Assert.assertTrue(hDir.getRelativePathForLocalization().isEmpty()); in testHierarchicalSubDirectoryCreation() 59 Assert.assertEquals(sb.toString(), hDir.getRelativePathForLocalization()); in testHierarchicalSubDirectoryCreation() 69 hDir.decrementFileCountForPath(testPath1); in testHierarchicalSubDirectoryCreation() 70 hDir.decrementFileCountForPath(testPath2); in testHierarchicalSubDirectoryCreation() 72 Assert.assertEquals(testPath1, hDir.getRelativePathForLocalization()); in testHierarchicalSubDirectoryCreation() 73 Assert.assertEquals(testPath2, hDir.getRelativePathForLocalization()); in testHierarchicalSubDirectoryCreation()
|
/dports/devel/premake/Premake-3.7/Src/ |
H A D | platform_windows.c | 167 HANDLE hDir; in platform_rmdir() local 172 hDir = FindFirstFile(buffer, &data); in platform_rmdir() 173 if (hDir == INVALID_HANDLE_VALUE) in platform_rmdir() 201 } while (FindNextFile(hDir, &data)); in platform_rmdir() 202 FindClose(hDir); in platform_rmdir()
|
/dports/devel/wxformbuilder/source/sdk/premake/src/ |
H A D | platform_windows.c | 167 HANDLE hDir; in platform_rmdir() local 172 hDir = FindFirstFile(buffer, &data); in platform_rmdir() 173 if (hDir == INVALID_HANDLE_VALUE) in platform_rmdir() 201 } while (FindNextFile(hDir, &data)); in platform_rmdir() 202 FindClose(hDir); in platform_rmdir()
|
/dports/devel/kBuild/kBuild-0.1.9998/src/lib/nt/ |
H A D | ntdir.c | 50 HANDLE hDir = birdOpenFile(pszPath, in birdDirOpen() local 57 if (hDir != INVALID_HANDLE_VALUE) in birdDirOpen() 59 BirdDir_T *pDir = birdDirOpenFromHandle((void *)hDir, NULL, BIRDDIR_F_CLOSE_HANDLE); in birdDirOpen() 62 birdCloseFile(hDir); in birdDirOpen() 73 HANDLE hDir = birdOpenFile(pszPath, in birdDirOpenExtraInfo() local 80 if (hDir != INVALID_HANDLE_VALUE) in birdDirOpenExtraInfo() 85 birdCloseFile(hDir); in birdDirOpenExtraInfo() 93 HANDLE hDir = birdOpenFileExW((HANDLE)hRoot, in birdDirOpenExW() local 101 if (hDir != INVALID_HANDLE_VALUE) in birdDirOpenExW() 103 …BirdDir_T *pDir = birdDirOpenFromHandle((void *)hDir, pwszFilter, fFlags | BIRDDIR_F_CLOSE_HANDLE); in birdDirOpenExW() [all …]
|
/dports/www/itop/web/setup/ |
H A D | modulediscovery.class.inc.php | 137 if ($hDir = opendir($sDir)) 139 while (($sFile = readdir($hDir)) !== false) 147 closedir($hDir); 425 if ($hDir = opendir($sDirectory)) 428 while (($sFile = readdir($hDir)) !== false) 480 closedir($hDir);
|
/dports/sysutils/glogg/glogg-1.1.4/src/ |
H A D | winwatchtowerdriver.cpp | 251 HANDLE hDir = CreateFile( in serialisedAddDir() local 264 if ( hDir == INVALID_HANDLE_VALUE ) { in serialisedAddDir() 268 dir_record->handle_ = hDir; in serialisedAddDir() 272 hCompPort_ = CreateIoCompletionPort( hDir, in serialisedAddDir() 283 inserted = ReadDirectoryChangesW( hDir, in serialisedAddDir() 294 CloseHandle( hDir ); in serialisedAddDir()
|
/dports/lang/gcc48/gcc-4.8.5/gcc/ada/ |
H A D | initialize.c | 188 HANDLE hDir = FindFirstFile (wargv[k], &FileData); in __gnat_initialize() local 195 if (hDir == INVALID_HANDLE_VALUE) in __gnat_initialize() 220 } while (FindNextFile (hDir, &FileData)); in __gnat_initialize() 222 FindClose (hDir); in __gnat_initialize()
|
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/ada/ |
H A D | initialize.c | 188 HANDLE hDir = FindFirstFile (wargv[k], &FileData); in __gnat_initialize() local 195 if (hDir == INVALID_HANDLE_VALUE) in __gnat_initialize() 220 } while (FindNextFile (hDir, &FileData)); in __gnat_initialize() 222 FindClose (hDir); in __gnat_initialize()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/ada/ |
H A D | initialize.c | 188 HANDLE hDir = FindFirstFile (wargv[k], &FileData); in __gnat_initialize() local 195 if (hDir == INVALID_HANDLE_VALUE) in __gnat_initialize() 220 } while (FindNextFile (hDir, &FileData)); in __gnat_initialize() 222 FindClose (hDir); in __gnat_initialize()
|
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/port/ |
H A D | cpl_vsil_unix_stdio_64.cpp | 318 DIR *hDir; in ReadDir() local 325 if ( (hDir = opendir(pszPath)) != NULL ) in ReadDir() 331 while( (psDirEntry = readdir(hDir)) != NULL ) in ReadDir() 351 closedir( hDir ); in ReadDir()
|
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/diskpoll/src/ |
H A D | findfile.cc | 537 DIR *hDir; in findfile() local 542 hDir=opendir(s); in findfile() 545 hDir=opendir((*dirs)[ndir]); in findfile() 550 hDir=opendir(s); in findfile() 553 if (hDir==NULL) in findfile() 556 while ((dirent=readdir(hDir))!=NULL) in findfile() 567 closedir(hDir); in findfile()
|
/dports/news/husky/husky-1.9.20191207/diskpoll/src/ |
H A D | findfile.cc | 537 DIR *hDir; in findfile() local 542 hDir=opendir(s); in findfile() 545 hDir=opendir((*dirs)[ndir]); in findfile() 550 hDir=opendir(s); in findfile() 553 if (hDir==NULL) in findfile() 556 while ((dirent=readdir(hDir))!=NULL) in findfile() 567 closedir(hDir); in findfile()
|
/dports/news/husky-hpt/husky-hpt-1.9.20191207/diskpoll/src/ |
H A D | findfile.cc | 537 DIR *hDir; in findfile() local 542 hDir=opendir(s); in findfile() 545 hDir=opendir((*dirs)[ndir]); in findfile() 550 hDir=opendir(s); in findfile() 553 if (hDir==NULL) in findfile() 556 while ((dirent=readdir(hDir))!=NULL) in findfile() 567 closedir(hDir); in findfile()
|
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/diskpoll/src/ |
H A D | findfile.cc | 537 DIR *hDir; in findfile() local 542 hDir=opendir(s); in findfile() 545 hDir=opendir((*dirs)[ndir]); in findfile() 550 hDir=opendir(s); in findfile() 553 if (hDir==NULL) in findfile() 556 while ((dirent=readdir(hDir))!=NULL) in findfile() 567 closedir(hDir); in findfile()
|
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/diskpoll/src/ |
H A D | findfile.cc | 537 DIR *hDir; in findfile() local 542 hDir=opendir(s); in findfile() 545 hDir=opendir((*dirs)[ndir]); in findfile() 550 hDir=opendir(s); in findfile() 553 if (hDir==NULL) in findfile() 556 while ((dirent=readdir(hDir))!=NULL) in findfile() 567 closedir(hDir); in findfile()
|
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/diskpoll/src/ |
H A D | findfile.cc | 537 DIR *hDir; in findfile() local 542 hDir=opendir(s); in findfile() 545 hDir=opendir((*dirs)[ndir]); in findfile() 550 hDir=opendir(s); in findfile() 553 if (hDir==NULL) in findfile() 556 while ((dirent=readdir(hDir))!=NULL) in findfile() 567 closedir(hDir); in findfile()
|