Home
last modified time | relevance | path

Searched refs:ScopedHandle (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h78 class ScopedHandle {
82 ScopedHandle(const ScopedHandle &other) = delete;
83 void operator=(const ScopedHandle &other) = delete;
85 ScopedHandle() in ScopedHandle() function
88 explicit ScopedHandle(handle_type h) in ScopedHandle() function
91 ~ScopedHandle() { in ~ScopedHandle()
102 ScopedHandle &operator=(handle_type h) {
182 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle;
184 typedef ScopedHandle<RegTraits> ScopedRegHandle;
185 typedef ScopedHandle<FindHandleTraits> ScopedFindHandle;
[all …]
/llvm-project-15.0.7/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp78 class ScopedHandle { class
84 ScopedHandle() in ScopedHandle() function in __anon594f3b190111::ScopedHandle
87 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon594f3b190111::ScopedHandle
90 ~ScopedHandle() { in ~ScopedHandle()
94 ScopedHandle& operator=(handle_type handle) { in operator =()
165 typedef ScopedHandle<FileMappingHandle> FileMappingScopedHandle;
166 typedef ScopedHandle<MappedViewOfFileHandle> MappedViewOfFileScopedHandle;
167 typedef ScopedHandle<ProcessHandle> ProcessScopedHandle;
168 typedef ScopedHandle<ThreadHandle> ThreadScopedHandle;
169 typedef ScopedHandle<TokenHandle> TokenScopedHandle;
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cpp183 struct ScopedHandle { struct
184 ScopedHandle() : h_(nullptr) {} in ScopedHandle() function
185 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() argument
186 ~ScopedHandle() { in ~ScopedHandle() argument
203 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess()
204 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp223 struct ScopedHandle { in CrashHandler() struct
224 ~ScopedHandle() { _zx_handle_close(Handle); } in CrashHandler() argument
232 ScopedHandle Channel; in CrashHandler()
264 ScopedHandle Exception; in CrashHandler()
283 ScopedHandle Thread; in CrashHandler()
/llvm-project-15.0.7/llvm/lib/Support/
H A DRandomNumberGenerator.cpp73 ScopedCryptContext ScopedHandle(hProvider); in getRandomBytes() local