Home
last modified time | relevance | path

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

/system/nfc/src/gki/common/
Dgki_buffer.cc86 p_cb->freeq[id].p_last = hdr; in gki_init_free_queue()
138 p_cb->freeq[tt].p_last = 0; in gki_buffer_init()
232 p_q->p_first = p_q->p_last = NULL; in GKI_init_q()
302 if (!Q->p_first) Q->p_last = NULL; in GKI_getbuf()
363 if (!Q->p_first) Q->p_last = NULL; in GKI_getpoolbuf()
426 if (Q->p_last) in GKI_freebuf()
427 Q->p_last->p_next = p_hdr; in GKI_freebuf()
431 Q->p_last = p_hdr; in GKI_freebuf()
621 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()
626 p_q->p_last = p_buf; in GKI_enqueue()
[all …]
Dgki_time.cc589 p_timer_listq->p_last = NULL; in GKI_init_timer_list()
769 if (p_timer_listq->p_last != NULL) in GKI_add_to_timer_list()
770 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list()
772 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list()
776 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list()
864 if (p_timer_listq->p_last == p_tle) p_timer_listq->p_last = NULL; in GKI_remove_from_timer_list()
866 if (p_timer_listq->p_last == p_tle) { in GKI_remove_from_timer_list()
867 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list()
869 if (p_timer_listq->p_last != NULL) p_timer_listq->p_last->p_next = NULL; in GKI_remove_from_timer_list()
892 if (p_timer_listq->p_first == NULL && p_timer_listq->p_last == NULL) { in GKI_remove_from_timer_list()
Dgki.h316 TIMER_LIST_ENT* p_last; member
325 void* p_last; member
Dgki_common.h61 BUFFER_HDR_T* p_last; /* last buffer in the queue */ member
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc1559 NFC_HDR* p_last; in nfc_ncif_proc_data() local
1579 p_last = (NFC_HDR*)GKI_getlast(&p_cb->rx_q); in nfc_ncif_proc_data()
1580 if (p_last && (p_last->layer_specific & NFC_RAS_FRAGMENTED)) { in nfc_ncif_proc_data()
1583 size = GKI_get_buf_size(p_last); in nfc_ncif_proc_data()
1584 if (size < (NFC_HDR_SIZE + p_last->len + p_last->offset + len)) { in nfc_ncif_proc_data()
1592 memcpy(p_max, p_last, NFC_HDR_SIZE); in nfc_ncif_proc_data()
1594 ps = (uint8_t*)(p_last + 1) + p_last->offset; in nfc_ncif_proc_data()
1595 memcpy(pd, ps, p_last->len); in nfc_ncif_proc_data()
1598 GKI_remove_from_queue(&p_cb->rx_q, p_last); in nfc_ncif_proc_data()
1599 GKI_freebuf(p_last); in nfc_ncif_proc_data()
[all …]
/system/bt/stack/a2dp/
Da2dp_sbc.cc114 bool* p_last, uint8_t* p_num);
259 bool* p_start, bool* p_last, in A2DP_ParseMplHeaderSbc() argument
261 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()
264 *p_last = (*p_src & A2DP_SBC_HDR_L_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()