Home | History | Annotate | Download | only in unittest

Lines Matching defs:h2

539          h2 = CreateSemaphore(NULL, 0, 15, NAME);
541 ASSERT_TRUE(h2 != NULL);
543 // h1 and h2 refer to the same semaphore but are not equal.
544 EXPECT_NE(h1, h2);
551 tp.Add(NewCallback(Poster, &VAR, h2));
555 CloseHandle(h2);
577 HANDLE h2 = NULL;
579 GetCurrentProcess(), &h2,
581 ASSERT_TRUE(h2 != NULL);
583 // h1 and h2 refer to the same Event but are not equal.
584 EXPECT_NE(h1, h2);
591 tp.Add(NewCallback(Waker, &VAR, h2));
595 CloseHandle(h2);