Lines Matching refs:alarms
266 alarm_t* alarms[100]; in TEST_F() local
271 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()
275 alarm_set(alarms[i], 100, ordered_cb, INT_TO_PTR(i)); in TEST_F()
285 for (int i = 0; i < 100; i++) alarm_free(alarms[i]); in TEST_F()
293 alarm_t* alarms[100]; in TEST_F() local
303 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()
307 alarm_set_on_queue(alarms[i], 100, ordered_cb, INT_TO_PTR(i), queue); in TEST_F()
317 for (int i = 0; i < 100; i++) alarm_free(alarms[i]); in TEST_F()
329 alarm_t* alarms[100]; in TEST_F() local
340 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()
345 alarm_set_on_queue(alarms[i], 100, ordered_cb, INT_TO_PTR(i), queue); in TEST_F()
348 alarm_set_on_queue(alarms[i], 1000 * 1000, ordered_cb, INT_TO_PTR(i), in TEST_F()
362 EXPECT_FALSE(alarm_is_scheduled(alarms[i])); in TEST_F()
365 EXPECT_TRUE(alarm_is_scheduled(alarms[i])); in TEST_F()
372 EXPECT_FALSE(alarm_is_scheduled(alarms[i])); in TEST_F()
376 alarm_free(alarms[i]); in TEST_F()
388 alarm_t* alarms[5]; in TEST_F() local
399 alarms[i] = alarm_new_periodic(alarm_name.c_str()); in TEST_F()
404 alarm_set_on_queue(alarms[i], 20 + i, cb, INT_TO_PTR(i), queue); in TEST_F()
417 EXPECT_TRUE(alarm_is_scheduled(alarms[i])); in TEST_F()
426 EXPECT_FALSE(alarm_is_scheduled(alarms[i])); in TEST_F()
434 alarm_free(alarms[i]); in TEST_F()