Home
last modified time | relevance | path

Searched refs:list_is_empty (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/osi/test/
Dlist_test.cpp26 EXPECT_TRUE(list_is_empty(list)); in TEST()
39 EXPECT_FALSE(list_is_empty(list)); in TEST()
47 EXPECT_FALSE(list_is_empty(list)); in TEST()
56 EXPECT_TRUE(list_is_empty(list)); in TEST()
66 EXPECT_FALSE(list_is_empty(list)); in TEST()
103 EXPECT_TRUE(list_is_empty(list)); in TEST()
/external/bluetooth/bluedroid/osi/src/
Dalarm.c123 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_set()
132 if (list_is_empty(alarms)) in alarm_set()
144 if (needs_reschedule || (!list_is_empty(alarms) && list_front(alarms) == alarm)) in alarm_set()
156 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel()
243 if (list_is_empty(alarms)) { in reschedule()
Dlist.c45 bool list_is_empty(const list_t *list) { in list_is_empty() function
60 assert(!list_is_empty(list)); in list_front()
69 assert(!list_is_empty(list)); in list_back()
145 if (list_is_empty(list)) in list_remove()
/external/bluetooth/bluedroid/btif/src/
Dbtif_profile_queue.c76 if (connect_queue && !list_is_empty(connect_queue)) in queue_int_advance()
81 if (!connect_queue || list_is_empty(connect_queue)) in queue_int_connect_next()
Dbtif_sock_rfc.c860 while(!list_is_empty(rs->incoming_queue)) in flush_incoming_que_on_wr_signal()
961 if(!list_is_empty(rs->incoming_queue)) in bta_co_rfc_data_incoming()
/external/bluetooth/bluedroid/osi/include/
Dlist.h20 bool list_is_empty(const list_t *list);