Searched refs:list_is_empty (Results 1 – 18 of 18) 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()99 EXPECT_TRUE(list_is_empty(list)); in TEST_F()
46 bool list_is_empty(const list_t* list) { in list_is_empty() function70 CHECK(!list_is_empty(list)); in list_front()77 CHECK(!list_is_empty(list)); in list_back()84 CHECK(!list_is_empty(list)); in list_back_node()142 if (list_is_empty(list)) return false; in list_remove()
100 return list_is_empty(queue->list); in fixed_queue_is_empty()183 return list_is_empty(queue->list) ? NULL : list_front(queue->list); in fixed_queue_try_peek_first()190 return list_is_empty(queue->list) ? NULL : list_back(queue->list); in fixed_queue_try_peek_last()
236 (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel_internal()387 (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()398 if (list_is_empty(alarms) || in schedule_next_instance()416 (!list_is_empty(alarms) && list_front(alarms) == alarm)) { in schedule_next_instance()433 if (list_is_empty(alarms)) goto done; in reschedule_root_alarm()599 if (list_is_empty(alarms) || in callback_dispatch()
92 if (connect_queue && !list_is_empty(connect_queue)) in queue_int_advance()151 if (!connect_queue || list_is_empty(connect_queue)) return BT_STATUS_FAIL; in btif_queue_connect_next()
785 while (!list_is_empty(slot->incoming_queue)) { in flush_incoming_que_on_wr_signal()868 if (list_is_empty(slot->incoming_queue)) { in bta_co_rfc_data_incoming()
4436 if (list_is_empty(soc_queue)) in btif_hl_select_monitor_callback()
322 list_is_empty(service->characteristics)) { in bta_gattc_add_attr_to_cache()935 list_is_empty(p_clcb->p_srcb->p_srvc_cache)) in bta_gattc_search_service()963 if (!p_srcb || !p_srcb->p_srvc_cache || list_is_empty(p_srcb->p_srvc_cache)) in bta_gattc_get_services_srcb()981 if (!services || list_is_empty(services)) return NULL; in bta_gattc_find_matching_service()1096 if (!services || list_is_empty(services)) return 0; in bta_gattc_get_db_size()1110 list_is_empty(p_cur_srvc->characteristics)) in bta_gattc_get_db_size()1152 if (!p_srvc_cb->p_srvc_cache || list_is_empty(p_srvc_cb->p_srvc_cache)) { in bta_gattc_get_gatt_db_impl()1180 list_is_empty(p_cur_srvc->characteristics)) in bta_gattc_get_gatt_db_impl()1194 if (!p_char->descriptors || list_is_empty(p_char->descriptors)) continue; in bta_gattc_get_gatt_db_impl()1208 if (!p_cur_srvc->included_svc || list_is_empty(p_cur_srvc->included_svc)) in bta_gattc_get_gatt_db_impl()[all …]
52 bool list_is_empty(const list_t* list);
401 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_hci_disc_comp()757 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_adjust_allocation()918 if (list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_power_mode()1013 if (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_send_pkts()1054 if (list_is_empty(p_lcb->link_xmit_data_q)) break; in l2c_link_check_send_pkts()1078 if ((!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_check_send_pkts()
727 if (list_is_empty(l2cb.rcv_pending_q)) return; in l2c_process_held_packets()749 if (!list_is_empty(l2cb.rcv_pending_q)) { in l2c_process_held_packets()
429 while (!list_is_empty(client->outbound_fragments)) { in dispatch_fragments()
1086 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_ble_link_adjust_allocation()
187 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2cu_release_lcb()
664 if (list_is_empty(commands_pending_response)) { in update_command_response_timer()
1965 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_str_stopped()2116 if (!list_is_empty(p_scb->a2dp_list)) { in bta_av_data_path()
2072 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_dereg_comp()
595 if (!p_char->descriptors || list_is_empty(p_char->descriptors)) return NULL; in find_descriptor_by_short_uuid()