Searched refs:alarms (Results 1 – 2 of 2) sorted by relevance
107 static list_t* alarms; variable153 if (!alarms && !lazy_initialize()) { in alarm_new_internal()203 CHECK(alarms != NULL); in alarm_set_internal()220 CHECK(alarms != NULL); in alarm_cancel()236 (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel_internal()251 if ((alarms == NULL) || (alarm == NULL)) return false; in alarm_is_scheduled()257 if (!alarms) return; in alarm_cleanup()276 list_free(alarms); in alarm_cleanup()277 alarms = NULL; in alarm_cleanup()281 CHECK(alarms == NULL); in lazy_initialize()[all …]
266 alarm_t* alarms[100]; in TEST_F() local271 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() local303 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() local340 alarms[i] = alarm_new(alarm_name.c_str()); in TEST_F()[all …]