Lines Matching defs:h2
56 Handle h2(h0);
57 EXPECT_EQ(static_cast<MojoHandle>(789), h2.value());
59 h2 = h1;
60 EXPECT_EQ(static_cast<MojoHandle>(456), h2.value());
65 h2 = Handle(static_cast<MojoHandle>(321));
70 handle_to_int[h2] = 2;
78 EXPECT_FALSE(handle_to_int.find(h2) == handle_to_int.end());
79 EXPECT_EQ(2, handle_to_int[h2]);
302 ScopedMessagePipeHandle h2;
304 CreateMessagePipe(NULL, &h2, &h3);
306 // Write a message to |h2|, before we send |h3|.
310 WriteMessageRaw(h2.get(),
338 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h2.release().value()));
349 ScopedMessagePipeHandle h2;
351 CreateMessagePipe(NULL, &h2, &h3);
353 // Write a message to |h2|, before we send |h3|.
357 WriteMessageRaw(h2.get(),
383 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h2.release().value()));