Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/Windows/
H A DWindowsSupport.h79 class ScopedHandle {
83 ScopedHandle(const ScopedHandle &other) = delete;
84 void operator=(const ScopedHandle &other) = delete;
86 ScopedHandle() in ScopedHandle() function
89 explicit ScopedHandle(handle_type h) in ScopedHandle() function
92 ~ScopedHandle() { in ~ScopedHandle()
103 ScopedHandle &operator=(handle_type h) {
182 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle;
183 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle;
184 typedef ScopedHandle<CryptContextTraits> ScopedCryptContext;
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cpp182 struct ScopedHandle { struct
183 ScopedHandle() : h_(nullptr) {} in ScopedHandle() argument
184 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() function
185 ~ScopedHandle() { in ~ScopedHandle() argument
202 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess()
203 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp270 struct ScopedHandle { in CrashHandler() struct
271 ~ScopedHandle() { _zx_handle_close(Handle); } in CrashHandler() argument
279 ScopedHandle Channel; in CrashHandler()
311 ScopedHandle Exception; in CrashHandler()
330 ScopedHandle Thread; in CrashHandler()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DRandomNumberGenerator.cpp75 ScopedCryptContext ScopedHandle(hProvider); in getRandomBytes() local