Searched refs:list_is_empty (Results 1 – 16 of 16) sorted by relevance
25 EXPECT_TRUE(list_is_empty(list)); in TEST_F()38 EXPECT_FALSE(list_is_empty(list)); in TEST_F()46 EXPECT_FALSE(list_is_empty(list)); in TEST_F()55 EXPECT_TRUE(list_is_empty(list)); in TEST_F()65 EXPECT_FALSE(list_is_empty(list)); in TEST_F()102 EXPECT_TRUE(list_is_empty(list)); in TEST_F()
182 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel()272 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()282 if (list_is_empty(alarms) || ((alarm_t *)list_front(alarms))->deadline >= alarm->deadline) in schedule_next_instance()294 …if (force_reschedule || needs_reschedule || (!list_is_empty(alarms) && list_front(alarms) == alarm… in schedule_next_instance()307 if (list_is_empty(alarms)) in reschedule_root_alarm()376 if (list_is_empty(alarms) || (alarm = list_front(alarms))->deadline > now()) { in callback_dispatch()
46 bool list_is_empty(const list_t *list) { in list_is_empty() function70 assert(!list_is_empty(list)); in list_front()77 assert(!list_is_empty(list)); in list_back()140 if (list_is_empty(list)) in list_remove()
92 bool is_empty = list_is_empty(queue->list); in fixed_queue_is_empty()168 void *ret = list_is_empty(queue->list) ? NULL : list_front(queue->list); in fixed_queue_try_peek()
91 if (connect_queue && !list_is_empty(connect_queue)) in queue_int_advance()149 if (!connect_queue || list_is_empty(connect_queue)) in btif_queue_connect_next()
744 while (!list_is_empty(slot->incoming_queue)) { in flush_incoming_que_on_wr_signal()823 if (list_is_empty(slot->incoming_queue)) { in bta_co_rfc_data_incoming()
4814 if (list_is_empty(soc_queue)) in btif_hl_select_monitor_callback()
29 bool list_is_empty(const list_t *list);
436 while (!list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_hci_disc_comp()816 && (!list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_adjust_allocation()1062 if (list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_check_power_mode()1181 if (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_send_pkts()1232 if (list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_check_send_pkts()1263 …if ( (!list_is_empty(p_lcb->link_xmit_data_q)) && (p_lcb->sent_not_acked < p_lcb->link_xmit_quota)… in l2c_link_check_send_pkts()
814 if (list_is_empty(l2cb.rcv_pending_q)) in l2c_process_held_packets()836 if (!list_is_empty(l2cb.rcv_pending_q)) in l2c_process_held_packets()
405 while (!list_is_empty(client->outbound_fragments)) { in dispatch_fragments()
934 && (!list_is_empty(p_lcb->link_xmit_data_q)) in l2c_ble_link_adjust_allocation()
207 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2cu_release_lcb()
470 … non_repeating_timer_restart_if(command_response_timer, !list_is_empty(commands_pending_response)); in event_command_ready()509 if (list_is_empty(commands_pending_response)) { in command_timed_out()675 non_repeating_timer_restart_if(command_response_timer, !list_is_empty(commands_pending_response)); in filter_incoming_event()
2073 while (!list_is_empty(p_scb->a2d_list)) in bta_av_str_stopped()2236 if (!list_is_empty(p_scb->a2d_list)) { in bta_av_data_path()
2003 while (!list_is_empty(p_scb->a2d_list)) { in bta_av_dereg_comp()