Home
last modified time | relevance | path

Searched refs:cb_called (Results 1 – 1 of 1) sorted by relevance

/external/libevent/test/
Dregress_finalize.c81 int cb_called = 0; in test_fin_cb_invoked() local
86 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
94 tt_int_op(cb_called, ==, 100); in test_fin_cb_invoked()
97 ev_called = cb_called = 0; in test_fin_cb_invoked()
103 event_deferred_cb_init_(&evcb, 0, simple_callback, &cb_called); in test_fin_cb_invoked()
109 tt_int_op(cb_called, ==, 1); in test_fin_cb_invoked()
112 ev_called = cb_called = 0; in test_fin_cb_invoked()
123 tt_int_op(cb_called, ==, 100); in test_fin_cb_invoked()