Searched refs:AutoHandle (Results 1 – 5 of 5) sorted by relevance
275 AutoHandle::AutoHandle() : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle() function in testing::internal::AutoHandle277 AutoHandle::AutoHandle(Handle handle) : handle_(handle) {} in AutoHandle() function in testing::internal::AutoHandle279 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()
689 AutoHandle write_handle_;691 AutoHandle child_handle_;696 AutoHandle event_handle_;1472 AutoHandle parent_process_handle(::OpenProcess(PROCESS_DUP_HANDLE, in GetStatusFileDescriptor()
1198 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_;
1189 testing::internal::AutoHandle auto_handle(handle); in TEST()1205 testing::internal::AutoHandle auto_handle2; in TEST()
1184 AutoHandle wait_event_;