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()
691 AutoHandle write_handle_;693 AutoHandle child_handle_;698 AutoHandle event_handle_;1474 AutoHandle parent_process_handle(::OpenProcess(PROCESS_DUP_HANDLE, in GetStatusFileDescriptor()
1238 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_;
1193 testing::internal::AutoHandle auto_handle(handle); in TEST()1209 testing::internal::AutoHandle auto_handle2; in TEST()
1184 AutoHandle wait_event_;