/external/bluetooth/bluedroid/hci/src/ |
D | utils.c | 81 p_q->p_first = p_q->p_last = NULL; in utils_queue_init() 102 if (p_q->p_last) in utils_enqueue() 105 (HC_BUFFER_HDR_T *)((uint8_t *)p_q->p_last - BT_HC_BUFFER_HDR_SIZE); in utils_enqueue() 112 p_q->p_last = p_buf; in utils_enqueue() 162 p_q->p_last = NULL; in utils_dequeue_unlocked() 241 if (p_buf == p_q->p_last) in utils_remove_from_queue_unlocked() 242 p_q->p_last = p_prev + 1; in utils_remove_from_queue_unlocked()
|
/external/bluetooth/bluedroid/stack/a2dp/ |
D | a2d_sbc.c | 148 tA2D_SBC_FR_CB *p_cur, *p_last; in A2D_SbcDescramble() local 154 p_last = &a2d_sbc_ds_cb.fr[A2D_SBC_LIDX]; in A2D_SbcDescramble() 156 p_last->idx = p_cur->idx; in A2D_SbcDescramble() 157 p_last->use = p_cur->use; in A2D_SbcDescramble() 390 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_n… in A2D_ParsSbcMplHdr() argument 392 if(p_src && p_frag && p_start && p_last && p_num) in A2D_ParsSbcMplHdr() 396 *p_last = (*p_src & A2D_SBC_HDR_L_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_ncif.c | 1458 BT_HDR *p_last; in nfc_ncif_proc_data() local 1477 p_last = (BT_HDR *)GKI_getlast (&p_cb->rx_q); in nfc_ncif_proc_data() 1478 if (p_last && (p_last->layer_specific & NFC_RAS_FRAGMENTED)) in nfc_ncif_proc_data() 1481 size = GKI_get_buf_size(p_last); in nfc_ncif_proc_data() 1482 if (size < (BT_HDR_SIZE + p_last->len + p_last->offset + len)) in nfc_ncif_proc_data() 1492 memcpy(p_max, p_last, BT_HDR_SIZE); in nfc_ncif_proc_data() 1494 ps = (UINT8 *)(p_last + 1) + p_last->offset; in nfc_ncif_proc_data() 1495 memcpy(pd, ps, p_last->len); in nfc_ncif_proc_data() 1498 GKI_remove_from_queue (&p_cb->rx_q, p_last); in nfc_ncif_proc_data() 1499 GKI_freebuf (p_last); in nfc_ncif_proc_data() [all …]
|
/external/bluetooth/bluedroid/gki/common/ |
D | gki_buffer.c | 86 p_cb->freeq[id].p_last = hdr1; in gki_init_free_queue() 133 p_cb->freeq[i].p_last = NULL; in gki_dealloc_free_queue() 177 p_cb->freeq[tt].p_last = 0; in gki_buffer_init() 345 p_q->p_first = p_q->p_last = NULL; in GKI_init_q() 418 Q->p_last = NULL; in GKI_getbuf() 485 Q->p_last = NULL; in GKI_getpoolbuf() 554 if (Q->p_last) in GKI_freebuf() 555 Q->p_last->p_next = p_hdr; in GKI_freebuf() 559 Q->p_last = p_hdr; in GKI_freebuf() 766 if (p_q->p_last) in GKI_enqueue() [all …]
|
D | gki_time.c | 646 p_timer_listq->p_last = NULL; in GKI_init_timer_list() 829 if (p_timer_listq->p_last != NULL) in GKI_add_to_timer_list() 830 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list() 832 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list() 836 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list() 940 if (p_timer_listq->p_last == p_tle) in GKI_remove_from_timer_list() 941 p_timer_listq->p_last = NULL; in GKI_remove_from_timer_list() 945 if (p_timer_listq->p_last == p_tle) in GKI_remove_from_timer_list() 947 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list() 949 if (p_timer_listq->p_last != NULL) in GKI_remove_from_timer_list() [all …]
|
D | gki.h | 336 TIMER_LIST_ENT *p_last; member 347 void *p_last; member
|
D | gki_common.h | 73 BUFFER_HDR_T *p_last; /* last buffer in the queue */ member
|
/external/libnfc-nci/src/gki/common/ |
D | gki_time.c | 635 p_timer_listq->p_last = NULL; in GKI_init_timer_list() 823 if (p_timer_listq->p_last != NULL) in GKI_add_to_timer_list() 824 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list() 826 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list() 830 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list() 934 if (p_timer_listq->p_last == p_tle) in GKI_remove_from_timer_list() 935 p_timer_listq->p_last = NULL; in GKI_remove_from_timer_list() 939 if (p_timer_listq->p_last == p_tle) in GKI_remove_from_timer_list() 941 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list() 943 if (p_timer_listq->p_last != NULL) in GKI_remove_from_timer_list() [all …]
|
D | gki_buffer.c | 95 p_cb->freeq[id].p_last = hdr1; in gki_init_free_queue() 167 p_cb->freeq[tt].p_last = 0; in gki_buffer_init() 333 p_q->p_first = p_q->p_last = NULL; in GKI_init_q() 425 Q->p_last = NULL; in GKI_getbuf_debug() 537 Q->p_last = NULL; in GKI_getpoolbuf_debug() 621 if (Q->p_last) in GKI_freebuf() 622 Q->p_last->p_next = p_hdr; in GKI_freebuf() 626 Q->p_last = p_hdr; in GKI_freebuf() 835 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue() 841 p_q->p_last = p_buf; in GKI_enqueue() [all …]
|
D | gki.h | 354 TIMER_LIST_ENT *p_last; member 365 void *p_last; member
|
D | gki_common.h | 83 BUFFER_HDR_T *p_last; /* last buffer in the queue */ member
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
D | gki_time.c | 635 p_timer_listq->p_last = NULL; in GKI_init_timer_list() 823 if (p_timer_listq->p_last != NULL) in GKI_add_to_timer_list() 824 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list() 826 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list() 830 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list() 934 if (p_timer_listq->p_last == p_tle) in GKI_remove_from_timer_list() 935 p_timer_listq->p_last = NULL; in GKI_remove_from_timer_list() 939 if (p_timer_listq->p_last == p_tle) in GKI_remove_from_timer_list() 941 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list() 943 if (p_timer_listq->p_last != NULL) in GKI_remove_from_timer_list() [all …]
|
D | gki_buffer.c | 95 p_cb->freeq[id].p_last = hdr1; in gki_init_free_queue() 167 p_cb->freeq[tt].p_last = 0; in gki_buffer_init() 333 p_q->p_first = p_q->p_last = NULL; in GKI_init_q() 425 Q->p_last = NULL; in GKI_getbuf_debug() 537 Q->p_last = NULL; in GKI_getpoolbuf_debug() 621 if (Q->p_last) in GKI_freebuf() 622 Q->p_last->p_next = p_hdr; in GKI_freebuf() 626 Q->p_last = p_hdr; in GKI_freebuf() 835 BUFFER_HDR_T *p_last_hdr = (BUFFER_HDR_T *)((UINT8 *)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue() 841 p_q->p_last = p_buf; in GKI_enqueue() [all …]
|
D | gki.h | 351 TIMER_LIST_ENT *p_last; member 362 void *p_last; member
|
D | gki_common.h | 83 BUFFER_HDR_T *p_last; /* last buffer in the queue */ member
|
/external/bluetooth/bluedroid/embdrv/sbc/encoder/srce/ |
D | sbc_encoder.c | 102 #define SBC_PRTC_C2L() {p_last=&sbc_prtc_cb.fr[SBC_PRTC_LIDX]; p_cur=&sbc_prtc_cb.fr[SBC_PRTC_CIDX]… 103 p_last->idx = p_cur->idx; p_last->use = p_cur->use;} 133 tSBC_FR_CB *p_cur, *p_last; in SBC_Encoder() local
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_db.c | 884 tGATT_ATTR16 *p_attr16 = NULL, *p_last; in allocate_attr_in_db() local 940 p_last = (tGATT_ATTR16 *)p_db->p_attr_list; in allocate_attr_in_db() 942 while (p_last != NULL && p_last->p_next != NULL) in allocate_attr_in_db() 943 p_last = (tGATT_ATTR16 *)p_last->p_next; in allocate_attr_in_db() 945 p_last->p_next = p_attr16; in allocate_attr_in_db()
|
D | gatt_utils.c | 511 p_list->p_last = p_new; in gatt_add_a_srv_to_list() 522 p_list->p_last->p_next = p_new; in gatt_add_a_srv_to_list() 523 p_new->p_prev = p_list->p_last; in gatt_add_a_srv_to_list() 525 p_list->p_last = p_new; in gatt_add_a_srv_to_list() 579 p_list->p_last = p_remove->p_prev; in gatt_remove_a_srv_from_list() 616 p_list->p_last = p_new; in gatt_add_an_item_to_list() 627 p_list->p_last->p_next = p_new; in gatt_add_an_item_to_list() 628 p_new->p_prev = p_list->p_last; in gatt_add_an_item_to_list() 630 p_list->p_last = p_new; in gatt_add_an_item_to_list() 683 p_list->p_last = p_remove->p_prev; in gatt_remove_an_item_from_list()
|
D | gatt_int.h | 312 tGATT_HDL_LIST_ELEM *p_last; member 332 tGATT_SRV_LIST_ELEM *p_last; member
|
D | gatt_sr.c | 576 p_list->p_last_primary == p_list->p_last) in gatt_build_primary_service_rsp()
|
/external/bluetooth/bluedroid/hci/include/ |
D | utils.h | 45 void *p_last; member
|
/external/bluetooth/bluedroid/stack/include/ |
D | a2d_sbc.h | 206 BOOLEAN *p_start, BOOLEAN *p_last,
|
/external/icu4c/test/intltest/ |
D | wbnf.cpp | 590 char * p_last; member in Morph 601 if (*p_last) { in copy_last() 602 str.append(*p_last); in copy_last() 603 p_last++; in copy_last() 645 p_last = last; in morph() 648 for (; str.content_size()<len && *p_curr && *p_last;){ in morph() 665 if (*p_last) { in morph()
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
D | port_api.c | 1450 if (((p_buf = (BT_HDR *)p_port->tx.queue.p_last) != NULL) in PORT_WriteDataCO() 1595 if (((p_buf = (BT_HDR *)p_port->tx.queue.p_last) != NULL) in PORT_WriteData()
|
/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_fcr.c | 1168 …next_srej = (((BT_HDR *)p_fcrb->srej_rcv_hold_q.p_last)->layer_specific + 1) & L2CAP_FCR_SEQ_MODUL… in process_i_frame()
|