Home
last modified time | relevance | path

Searched defs:ScopedHandle (Results 1 – 15 of 15) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_win.cc152 struct ScopedHandle { struct
153 ScopedHandle() : h_(nullptr) {} in ScopedHandle() function
154 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() function
155 ~ScopedHandle() { in ~ScopedHandle()
159 HANDLE get() { return h_; } in get()
160 HANDLE *receive() { return &h_; } in receive()
161 HANDLE release() { in release()
166 HANDLE h_;
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/threading/
Dplatform_thread_win_for_testing.cc28 class ScopedHandle { class
30 ScopedHandle() : handle_(INVALID_HANDLE_VALUE) {} in ScopedHandle() function in partition_alloc::internal::base::__anond2ba7a650111::ScopedHandle
/external/webrtc/modules/audio_device/win/
Dcore_audio_utility_win.h219 ScopedHandle() : handle_(nullptr) {} in ScopedHandle() function
220 explicit ScopedHandle(HANDLE h) : handle_(nullptr) { Set(h); } in ScopedHandle() function
/external/cronet/base/
Dsync_socket.h30 using ScopedHandle = ScopedPlatformFile; variable
/external/cronet/base/win/
Dscoped_handle.h199 using ScopedHandle = CheckedScopedHandle; variable
201 using ScopedHandle = UncheckedScopedHandle; variable
Dscoped_handle_unittest.cc47 TEST_F(ScopedHandleTest, ScopedHandle) { in TEST_F() argument
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilFuchsia.cpp223 struct ScopedHandle { in CrashHandler() struct
224 ~ScopedHandle() { _zx_handle_close(Handle); } in CrashHandler()
225 zx_handle_t Handle = ZX_HANDLE_INVALID; in CrashHandler()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp79 class ScopedHandle { class
85 ScopedHandle() in ScopedHandle() function in __anon96fe42700111::ScopedHandle
88 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon96fe42700111::ScopedHandle
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRandomNumberGenerator.cpp63 ScopedCryptContext ScopedHandle(hProvider); in getRandomBytes() local
/external/llvm/lib/Support/Windows/
DWindowsSupport.h98 ScopedHandle() in ScopedHandle() function
101 explicit ScopedHandle(handle_type h) in ScopedHandle() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Windows/
DWindowsSupport.h85 ScopedHandle() in ScopedHandle() function
88 explicit ScopedHandle(handle_type h) in ScopedHandle() function
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DWindowsSupport.h99 ScopedHandle() in ScopedHandle() function
102 explicit ScopedHandle(handle_type h) in ScopedHandle() function
/external/libchrome/mojo/public/cpp/system/
Dhandle.h200 typedef ScopedHandleBase<Handle> ScopedHandle; typedef
/external/leveldb/util/
Denv_windows.cc70 class ScopedHandle { class
72 ScopedHandle(HANDLE handle) : handle_(handle) {} in ScopedHandle() function in leveldb::__anon31f361970111::ScopedHandle
74 ScopedHandle(ScopedHandle&& other) noexcept : handle_(other.Release()) {} in ScopedHandle() function in leveldb::__anon31f361970111::ScopedHandle
/external/cronet/ipc/
Dipc_message_utils_unittest.cc271 TEST(IPCMessageUtilsTest, ScopedHandle) { in TEST() argument