Lines Matching refs:count
142 int* count = (int*) arg->data; in test_event_simple_handler() local
145 (*count)++; in test_event_simple_handler()
147 (*count) += *((int*) event_data); in test_event_simple_handler()
215 int* count = (int*) arg->data; in test_handler_post_w_task() local
217 (*count)++; in test_handler_post_w_task()
219 if (*count <= 2) { in test_handler_post_w_task()
240 int* count = (int*) arg->data; in test_handler_post_wo_task() local
242 (*count)++; in test_handler_post_wo_task()
244 if (*count <= 2) { in test_handler_post_wo_task()
277 int *count = (int*) unregister_data->data; in test_handler_instance_unregister_itself() local
279 (*count)++; in test_handler_instance_unregister_itself()
401 int count = 0; variable
404 .data = &count,
421 TEST_ASSERT_EQUAL(0, count);
428 TEST_ASSERT_EQUAL(1, count);
486 int count = 0; variable
489 .data = &count,
503 TEST_ASSERT_EQUAL(0, count);
517 int count = 0; variable
521 .data = &count,
535 TEST_ASSERT_EQUAL(0, count);
549 int count = 0; variable
552 .data = &count,
567 TEST_ASSERT_EQUAL(0, count);
573 TEST_ASSERT_EQUAL(2, count);
587 int count = 0; variable
590 .data = &count,
607 TEST_ASSERT_EQUAL(0, count);
613 TEST_ASSERT_EQUAL(2, count);
627 int count = 0; variable
630 .data = &count,
645 TEST_ASSERT_EQUAL(0, count);
650 TEST_ASSERT_EQUAL(0, count);
655 TEST_ASSERT_EQUAL(1, count);
669 int count = 0; variable
672 .data = &count,
689 TEST_ASSERT_EQUAL(0, count);
694 TEST_ASSERT_EQUAL(0, count);
699 TEST_ASSERT_EQUAL(1, count);
713 int count = 0; variable
716 .data = &count,
732 TEST_ASSERT_EQUAL(0, count);
738 TEST_ASSERT_EQUAL(0, count);
752 int count = 0; variable
755 .data = &count,
773 TEST_ASSERT_EQUAL(0, count);
779 TEST_ASSERT_EQUAL(0, count);
797 int count = 0; variable
800 .data = &count,
834 TEST_ASSERT_EQUAL(9, count); // 3 + 3 + 2 + 1
855 int count = 0; variable
858 .data = &count,
870 TEST_ASSERT_EQUAL(2, count);
879 TEST_ASSERT_EQUAL(3, count);
900 int count = 0; variable
903 .data = &count,
915 TEST_ASSERT_EQUAL(1, count);
923 TEST_ASSERT_EQUAL(1, count);
1001 int count = 0; variable
1005 .data = &count
1012 TEST_ASSERT_EQUAL(1, count);
1018 TEST_ASSERT_EQUAL(1, count);
1221 int count = 0; variable
1224 .data = &count,
1239 TEST_ASSERT_EQUAL(0, count);
1264 int count = 0; variable
1267 .data = &count,
1306 TEST_ASSERT_EQUAL(TEST_CONFIG_TASKS_TO_SPAWN * TEST_CONFIG_ITEMS_TO_REGISTER, count);
1340 int count = 0; variable
1343 .data = &count,
1384 TEST_ASSERT_EQUAL(TEST_CONFIG_TASKS_TO_SPAWN * TEST_CONFIG_ITEMS_TO_REGISTER, count);
1552 int count; variable
1555 .data = &count,
1561 count = 0;
1571 TEST_ASSERT_EQUAL(2, count);
1574 count = 100;
1604 int count; variable
1607 .data = &count,
1613 count = 0;
1626 TEST_ASSERT_EQUAL(2, count);
1629 count = 100;
1659 int count; variable
1662 .data = &count,
1666 count = 0;
1684 TEST_ASSERT_EQUAL(2, count);
1686 count = 100;
1717 int count; variable
1720 .data = &count,
1724 count = 0;
1745 TEST_ASSERT_EQUAL(2, count);
1747 count = 100;
1772 int* count = (int*) handler_arg; in test_event_simple_handler_template() local
1773 (*count)++; in test_event_simple_handler_template()
1818 int count = 0; variable
1820 …ister_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_registration_from_handler_hdlr, &count));
1821 …ter_with(loop, s_test_base2, TEST_EVENT_BASE2_EV1, test_unregistration_from_handler_hdlr, &count));
1829 TEST_ASSERT_EQUAL(3, count);
1837 TEST_ASSERT_EQUAL(3, count);