Home
last modified time | relevance | path

Searched refs:p_remove (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/gatt/
Dgatt_utils.c566 BOOLEAN gatt_remove_a_srv_from_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_remove) in gatt_remove_a_srv_from_list() argument
568 if (!p_remove || !p_list->p_first) in gatt_remove_a_srv_from_list()
574 if (p_remove->p_prev == NULL) in gatt_remove_a_srv_from_list()
576 p_list->p_first = p_remove->p_next; in gatt_remove_a_srv_from_list()
577 if (p_remove->p_next) in gatt_remove_a_srv_from_list()
578 p_remove->p_next->p_prev = NULL; in gatt_remove_a_srv_from_list()
580 else if (p_remove->p_next == NULL) in gatt_remove_a_srv_from_list()
582 p_list->p_last = p_remove->p_prev; in gatt_remove_a_srv_from_list()
583 p_remove->p_prev->p_next = NULL; in gatt_remove_a_srv_from_list()
587 p_remove->p_next->p_prev = p_remove->p_prev; in gatt_remove_a_srv_from_list()
[all …]
Dgatt_int.h617 …rn BOOLEAN gatt_remove_a_srv_from_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_remove);
619 … BOOLEAN gatt_remove_an_item_from_list(tGATT_HDL_LIST_INFO *p_list, tGATT_HDL_LIST_ELEM *p_remove);