Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_utils.c586 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
588 if (!p_remove || !p_list->p_first) in gatt_remove_a_srv_from_list()
594 if (p_remove->p_prev == NULL) in gatt_remove_a_srv_from_list()
596 p_list->p_first = p_remove->p_next; in gatt_remove_a_srv_from_list()
597 if (p_remove->p_next) in gatt_remove_a_srv_from_list()
598 p_remove->p_next->p_prev = NULL; in gatt_remove_a_srv_from_list()
600 else if (p_remove->p_next == NULL) in gatt_remove_a_srv_from_list()
602 p_list->p_last = p_remove->p_prev; in gatt_remove_a_srv_from_list()
603 p_remove->p_prev->p_next = NULL; in gatt_remove_a_srv_from_list()
607 p_remove->p_next->p_prev = p_remove->p_prev; in gatt_remove_a_srv_from_list()
[all …]
Dgatt_int.h599 …rn BOOLEAN gatt_remove_a_srv_from_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_remove);
601 … BOOLEAN gatt_remove_an_item_from_list(tGATT_HDL_LIST_INFO *p_list, tGATT_HDL_LIST_ELEM *p_remove);