Searched refs:cb_called (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/test/core/iomgr/ |
D | timer_list_test.cc | 40 static int cb_called[MAX_CB][2]; variable 45 cb_called[(intptr_t)arg][error == GRPC_ERROR_NONE]++; in cb() 58 memset(cb_called, 0, sizeof(cb_called)); in add_test() 81 GPR_ASSERT(cb_called[i][1] == (i < 10)); in add_test() 82 GPR_ASSERT(cb_called[i][0] == 0); in add_test() 89 GPR_ASSERT(cb_called[i][1] == (i < 10)); in add_test() 90 GPR_ASSERT(cb_called[i][0] == 0); in add_test() 98 GPR_ASSERT(cb_called[i][1] == (i < 20)); in add_test() 99 GPR_ASSERT(cb_called[i][0] == 0); in add_test() 105 GPR_ASSERT(cb_called[i][1] == (i < 20)); in add_test() [all …]
|
/external/libevent/test/ |
D | regress_finalize.c | 81 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()
|
/external/tpm2-tss/test/integration/ |
D | fapi-key-create-policy-or-sign.int.c | 30 static bool cb_called = false; variable 59 cb_called = true; in branch_callback() 151 if (!cb_called) { in test_fapi_key_create_policy_or_sign()
|
D | fapi-key-create-policy-authorize-sign.int.c | 27 static bool cb_called = false; variable 56 cb_called = true; in branch_callback() 303 if (!cb_called) { in test_fapi_key_create_policy_authorize_sign()
|