Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googletest/src/
H A Dgtest-port.cc275 AutoHandle::AutoHandle() : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle() function in testing::internal::AutoHandle
277 AutoHandle::AutoHandle(Handle handle) : handle_(handle) {} in AutoHandle() function in testing::internal::AutoHandle
279 AutoHandle::~AutoHandle() { Reset(); } in ~AutoHandle()
281 AutoHandle::Handle AutoHandle::Get() const { return handle_; } in Get()
283 void AutoHandle::Reset() { Reset(INVALID_HANDLE_VALUE); } in Reset()
285 void AutoHandle::Reset(HANDLE handle) { in Reset()
299 bool AutoHandle::IsCloseable() const { in IsCloseable()
H A Dgtest-death-test.cc691 AutoHandle write_handle_;
693 AutoHandle child_handle_;
698 AutoHandle event_handle_;
1474 AutoHandle parent_process_handle(::OpenProcess(PROCESS_DUP_HANDLE, in GetStatusFileDescriptor()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1238 class GTEST_API_ AutoHandle {
1246 AutoHandle();
1247 explicit AutoHandle(Handle handle);
1249 ~AutoHandle();
1262 AutoHandle(const AutoHandle&) = delete;
1263 AutoHandle& operator=(const AutoHandle&) = delete;
1541 AutoHandle thread_;
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc1193 testing::internal::AutoHandle auto_handle(handle); in TEST()
1209 testing::internal::AutoHandle auto_handle2; in TEST()
H A Dgoogletest-port-test.cc1184 AutoHandle wait_event_;