Home | History | Annotate | Download | only in test

Lines Matching refs:HANDLE

1045   HANDLE handle = ::CreateEvent(NULL, FALSE, FALSE, NULL);
1046 ASSERT_NE(INVALID_HANDLE_VALUE, handle);
1048 // Tests that the AutoHandle is correctly initialized with a handle.
1049 handle);
1050 EXPECT_EQ(handle, auto_handle.Get());
1053 // Note that this cannot verify whether the original handle is closed.
1057 // Tests that Reset assigns the new handle.
1058 // Note that this cannot verify whether the original handle is closed.
1059 handle = ::CreateEvent(NULL, FALSE, FALSE, NULL);
1060 ASSERT_NE(INVALID_HANDLE_VALUE, handle);
1061 auto_handle.Reset(handle);
1062 EXPECT_EQ(handle, auto_handle.Get());
1173 ASSERT_TRUE(sizeof(HANDLE) <= sizeof(size_t));