Searched refs:AutoHandle (Results 1 – 7 of 7) sorted by relevance
16 class AutoHandle {18 AutoHandle(HANDLE handle, HANDLE invalid_value = INVALID_HANDLE_VALUE)21 ~AutoHandle() { in ~AutoHandle()
69 static bool GetExecutableForProcess(const AutoHandle &handle, in GetExecutableForProcess()80 static void GetProcessExecutableAndTriple(const AutoHandle &handle, in GetProcessExecutableAndTriple()138 AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)); in FindProcessesImpl()146 AutoHandle handle(::OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, in FindProcessesImpl()168 AutoHandle handle( in GetProcessInfo()179 AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0)); in GetProcessInfo()
285 AutoHandle::AutoHandle() in AutoHandle() function in testing::internal::AutoHandle288 AutoHandle::AutoHandle(Handle handle) in AutoHandle() function in testing::internal::AutoHandle291 AutoHandle::~AutoHandle() { in ~AutoHandle()295 AutoHandle::Handle AutoHandle::Get() const { in Get()299 void AutoHandle::Reset() { in Reset()303 void AutoHandle::Reset(HANDLE handle) { in Reset()317 bool AutoHandle::IsCloseable() const { in IsCloseable()
667 AutoHandle write_handle_;669 AutoHandle child_handle_;674 AutoHandle event_handle_;1533 AutoHandle parent_process_handle(::OpenProcess(PROCESS_DUP_HANDLE, in GetStatusFileDescriptor()
1219 class GTEST_API_ AutoHandle {1227 AutoHandle();1228 explicit AutoHandle(Handle handle);1230 ~AutoHandle();1243 GTEST_DISALLOW_COPY_AND_ASSIGN_(AutoHandle);1259 AutoHandle event_;1491 AutoHandle thread_;
422 AutoHandle filemap( in GetFileNameFromHandleFallback()
342 AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, GetID())); in CacheLoadedModules()