Lines Matching refs:base1
1155 struct event_base *base1, *base2; in test_signal_pipeloss() local
1158 base1 = event_init(); in test_signal_pipeloss()
1159 pipe1 = base1->sig.ev_signal_pair[0]; in test_signal_pipeloss()
1162 event_base_free(base1); in test_signal_pipeloss()
1182 struct event_base *base1, *base2; in test_signal_switchbase() local
1185 base1 = event_init(); in test_signal_switchbase()
1190 if (event_base_set(base1, &ev1) || in test_signal_switchbase()
1198 tt_ptr_op(event_get_base(&ev1), ==, base1); in test_signal_switchbase()
1210 event_base_loop(base1, EVLOOP_NONBLOCK); in test_signal_switchbase()
1215 event_base_loop(base1, EVLOOP_NONBLOCK); in test_signal_switchbase()
1217 event_base_loop(base1, EVLOOP_NONBLOCK); in test_signal_switchbase()
1221 event_base_free(base1); in test_signal_switchbase()
1350 struct event_base *base1; in test_free_active_base() local
1353 base1 = event_init(); in test_free_active_base()
1354 if (base1) { in test_free_active_base()
1355 event_assign(&ev1, base1, data->pair[1], EV_READ, in test_free_active_base()
1358 event_base_free(base1); /* should not crash */ in test_free_active_base()
1363 base1 = event_init(); in test_free_active_base()
1364 tt_assert(base1); in test_free_active_base()
1365 event_assign(&ev1, base1, 0, 0, dummy_read_cb, NULL); in test_free_active_base()
1367 event_base_free(base1); in test_free_active_base()