Lines Matching refs:callback_func
38 int test_level_four(int one, int two, int three, int four, void (*callback_func)(void*), in test_level_four()
40 if (callback_func != NULL) { in test_level_four()
41 callback_func(data); in test_level_four()
49 int test_level_three(int one, int two, int three, int four, void (*callback_func)(void*), in test_level_three()
51 return test_level_four(one + 3, two + 6, three + 9, four + 12, callback_func, data) + 3; in test_level_three()
54 int test_level_two(int one, int two, int three, int four, void (*callback_func)(void*), void* data)… in test_level_two()
55 return test_level_three(one + 2, two + 4, three + 6, four + 8, callback_func, data) + 2; in test_level_two()
58 int test_level_one(int one, int two, int three, int four, void (*callback_func)(void*), void* data)… in test_level_one()
59 return test_level_two(one + 1, two + 2, three + 3, four + 4, callback_func, data) + 1; in test_level_one()
62 int test_recursive_call(int level, void (*callback_func)(void*), void* data) { in test_recursive_call()
64 return test_recursive_call(level - 1, callback_func, data) + level; in test_recursive_call()
65 } else if (callback_func != NULL) { in test_recursive_call()
66 callback_func(data); in test_recursive_call()