Lines Matching refs:count
11 volatile int *count; in timer_callback() local
12 count = (volatile int *)pvTimerGetTimerID( timer ); in timer_callback()
13 (*count)++; in timer_callback()
14 printf("Callback timer %p count %p = %d\n", timer, count, *count); in timer_callback()
19 volatile int count = 0; variable
21 (void *)&count, timer_callback);
24 TEST_ASSERT_EQUAL(0, count);
30 TEST_ASSERT_EQUAL(0, count);
34 TEST_ASSERT_EQUAL(1, count);
43 volatile int count = 0; variable
45 (void *)&count, timer_callback);
48 TEST_ASSERT_EQUAL(0, count);
54 TEST_ASSERT_EQUAL(0, count);
58 TEST_ASSERT_EQUAL(2, count);
63 TEST_ASSERT_EQUAL(2, count);
66 TEST_ASSERT_EQUAL(2, count); // hasn't gone up
76 volatile int count = 0; variable
80 (void *)&count,