Home
last modified time | relevance | path

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

/system/nfc/src/gki/common/
Dgki_time.cc589 p_timer_listq->p_last = nullptr; in GKI_init_timer_list()
769 if (p_timer_listq->p_last != nullptr) 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 = nullptr; 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 != nullptr) p_timer_listq->p_last->p_next = nullptr; in GKI_remove_from_timer_list()
892 if (p_timer_listq->p_first == nullptr && p_timer_listq->p_last == nullptr) { in GKI_remove_from_timer_list()
Dgki_buffer.cc88 p_cb->freeq[id].p_last = hdr; in gki_init_free_queue()
140 p_cb->freeq[tt].p_last = nullptr; in gki_buffer_init()
234 p_q->p_first = p_q->p_last = nullptr; in GKI_init_q()
356 if (!Q->p_first) Q->p_last = nullptr; in GKI_getbuf()
444 if (!Q->p_first) Q->p_last = nullptr; in GKI_getpoolbuf()
516 if (Q->p_last) in GKI_freebuf()
517 Q->p_last->p_next = p_hdr; in GKI_freebuf()
521 Q->p_last = p_hdr; in GKI_freebuf()
715 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()
720 p_q->p_last = p_buf; in GKI_enqueue()
[all …]
Dgki.h316 TIMER_LIST_ENT* p_last; member
325 void* p_last; member
Dgki_common.h64 BUFFER_HDR_T* p_last; /* last buffer in the queue */ member
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc1897 NFC_HDR* p_last; in nfc_ncif_proc_data() local
1918 p_last = (NFC_HDR*)GKI_getlast(&p_cb->rx_q); in nfc_ncif_proc_data()
1919 if (p_last && (p_last->layer_specific & NFC_RAS_FRAGMENTED)) { in nfc_ncif_proc_data()
1922 size = GKI_get_buf_size(p_last); in nfc_ncif_proc_data()
1923 if (size < (NFC_HDR_SIZE + p_last->len + p_last->offset + len)) { in nfc_ncif_proc_data()
1931 memcpy(p_max, p_last, NFC_HDR_SIZE); in nfc_ncif_proc_data()
1933 ps = (uint8_t*)(p_last + 1) + p_last->offset; in nfc_ncif_proc_data()
1934 memcpy(pd, ps, p_last->len); in nfc_ncif_proc_data()
1937 GKI_remove_from_queue(&p_cb->rx_q, p_last); in nfc_ncif_proc_data()
1938 GKI_freebuf(p_last); in nfc_ncif_proc_data()
[all …]
/system/bt/stack/a2dp/
Da2dp_sbc.cc118 bool* p_last, uint8_t* p_num);
278 bool* p_start, bool* p_last, in A2DP_ParseMplHeaderSbc() argument
280 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()
283 *p_last = (*p_src & A2DP_SBC_HDR_L_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()