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.cc689 AutoHandle write_handle_;
691 AutoHandle child_handle_;
696 AutoHandle event_handle_;
1472 AutoHandle parent_process_handle(::OpenProcess(PROCESS_DUP_HANDLE, in GetStatusFileDescriptor()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1198 class GTEST_API_ AutoHandle {
1206 AutoHandle();
1207 explicit AutoHandle(Handle handle);
1209 ~AutoHandle();
1222 AutoHandle(const AutoHandle&) = delete;
1223 AutoHandle& operator=(const AutoHandle&) = delete;
1501 AutoHandle thread_;
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc1189 testing::internal::AutoHandle auto_handle(handle); in TEST()
1205 testing::internal::AutoHandle auto_handle2; in TEST()
H A Dgoogletest-port-test.cc1184 AutoHandle wait_event_;