Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Support/Windows/
H A DWindowsSupport.h70 class ScopedHandle {
74 ScopedHandle(const ScopedHandle &other) = delete;
75 void operator=(const ScopedHandle &other) = delete;
77 ScopedHandle() in ScopedHandle() function
80 explicit ScopedHandle(handle_type h) in ScopedHandle() function
83 ~ScopedHandle() { in ~ScopedHandle()
94 ScopedHandle &operator=(handle_type h) {
174 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle;
176 typedef ScopedHandle<RegTraits> ScopedRegHandle;
177 typedef ScopedHandle<FindHandleTraits> ScopedFindHandle;
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cc180 struct ScopedHandle { struct
181 ScopedHandle() : h_(nullptr) {} in ScopedHandle() argument
182 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() function
183 ~ScopedHandle() { in ~ScopedHandle() argument
200 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess()
201 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp216 struct ScopedHandle { in CrashHandler() struct
217 ~ScopedHandle() { _zx_handle_close(Handle); } in CrashHandler() argument
225 ScopedHandle Port; in CrashHandler()
246 ScopedHandle Thread; in CrashHandler()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DRandomNumberGenerator.cpp68 ScopedCryptContext ScopedHandle(hProvider); in getRandomBytes() local