Searched refs:b_trap (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 1143 MojoHandle b_trap; in TEST_F() local 1146 EXPECT_EQ(MOJO_RESULT_OK, helper.CreateTrap(&b_trap)); in TEST_F() 1187 MojoAddTrigger(b_trap, b, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() 1199 EXPECT_EQ(MOJO_RESULT_OK, MojoArmTrap(b_trap, nullptr, nullptr, nullptr)); in TEST_F() 1206 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b_trap)); in TEST_F() 1429 MojoHandle b_trap; in TEST_F() local 1432 EXPECT_EQ(MOJO_RESULT_OK, helper.CreateTrap(&b_trap)); in TEST_F() 1449 MojoRemoveTrigger(b_trap, readable_b_context, nullptr)); in TEST_F() 1450 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b_trap)); in TEST_F() 1480 MojoAddTrigger(b_trap, b, MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() [all …]
|
/external/libchrome/mojo/public/c/system/ |
D | README.md | 891 MojoHandle a_trap, b_trap; 893 MojoCreateTrap(&OnNotification, NULL, &b_trap) 901 b_state->trap = b_trap; 908 MojoAddTrigger(b_trap, b, MOJO_HANDLE_SIGNAL_READABLE, 913 MojoArmTrap(b_trap, NULL, NULL, NULL);
|