/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | NonVolatileStore.cpp | 50 ** Parameters p_buf - buffer to read the data into. 63 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block) argument 82 size_t actualReadData = read (fileStream, p_buf, nbytes); 110 ** Parameters p_buf - buffer to read the data from. 121 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block) argument 139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); 141 size_t actualWrittenData = write (fileStream, p_buf, nbytes);
|
H A D | android_logmsg.cpp | 199 void DispHciCmd (BT_HDR *p_buf) argument 201 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; 202 UINT8* data = (UINT8*) p_buf; 203 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len; 217 void DispHciEvt (BT_HDR *p_buf) argument 219 UINT32 nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; 220 UINT8* data = (UINT8*) p_buf; 243 DispLLCP(BT_HDR *p_buf, BOOLEAN is_recv) argument 288 DispSNEP(UINT8 local_sap, UINT8 remote_sap, BT_HDR *p_buf, BOOLEAN is_first, BOOLEAN is_rx) argument 291 DispRWT4Tags(BT_HDR *p_buf, BOOLEAN is_rx) argument 292 DispCET4Tags(BT_HDR *p_buf, BOOLEAN is_rx) argument 293 DispRWI93Tag(BT_HDR *p_buf, BOOLEAN is_rx, UINT8 command_to_respond) argument [all...] |
H A D | userial_linux.c | 745 extern BOOLEAN gki_chk_buf_damage(void *p_buf); 765 BT_HDR *p_buf = NULL; local 774 BT_HDR *p_buf; local 777 if ((p_buf = (BT_HDR *) GKI_getpoolbuf( USERIAL_POOL_ID ) )!= NULL) 779 p_buf->offset = 0; 780 p_buf->layer_specific = 0; 782 current_packet = (UINT8 *) (p_buf + 1); 788 ALOGE( "userial_read_thread(): unable to get buffer from GKI p_buf = %p poolid = %d\n", p_buf, USERIAL_POOL_ID); 800 p_buf 1204 USERIAL_ReadBuf(tUSERIAL_PORT port, BT_HDR **p_buf) argument 1226 USERIAL_WriteBuf(tUSERIAL_PORT port, BT_HDR *p_buf) argument 1500 BT_HDR *p_buf = NULL; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
H A D | gki_buffer.c | 581 ** Parameters p_buf - (input) address of the beginning of a buffer. 586 void GKI_freebuf (void *p_buf) argument 592 if (!p_buf || gki_chk_buf_damage(p_buf)) 599 p_hdr = (BUFFER_HDR_T *) ((UINT8 *)p_buf - BUFFER_HDR_SIZE); 602 LOGD("GKI_freebuf() freeing, %x, %x, func:%s(line=%d)", p_buf, p_hdr, p_hdr->_function, p_hdr->_line); 647 ** Parameters p_buf - (input) address of the beginning of a buffer. 652 UINT16 GKI_get_buf_size (void *p_buf) argument 656 p_hdr = (BUFFER_HDR_T *)((UINT8 *) p_buf - BUFFER_HDR_SIZE); 678 BOOLEAN gki_chk_buf_damage(void *p_buf) argument 774 void *p_buf = NULL; local 812 GKI_enqueue(BUFFER_Q *p_q, void *p_buf) argument 867 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument 968 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument 1054 GKI_getnext(void *p_buf) argument 1329 GKI_change_buf_owner(void *p_buf, UINT8 task_id) argument [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_dm.c | 781 NFC_HDR *p_buf; local 792 if ((p_buf = (NFC_HDR *)GKI_getpoolbuf (NFC_HAL_NCI_POOL_ID)) != NULL) 796 p_buf->offset = NFC_HAL_NCI_MSG_OFFSET_SIZE; 797 p_buf->event = NFC_HAL_EVT_TO_NFC_NCI; 798 p_buf->len = len; 800 memcpy ((UINT8*) (p_buf + 1) + p_buf->offset, p_data, len); 805 ps = (UINT8 *)(p_buf + 1) + p_buf->offset; 812 nfc_hal_nci_send_cmd (p_buf); 831 NFC_HDR *p_buf = nfc_hal_cb.ncit_cb.p_pend_cmd; local 883 NFC_HDR *p_buf; local [all...] |
H A D | nfc_hal_nci.c | 723 void nfc_hal_nci_send_cmd (NFC_HDR *p_buf) argument 737 nci_brcm_check_cmd_create_hcp_connection ((NFC_HDR*) p_buf); 746 nfc_hal_cb.ncit_cb.p_pend_cmd = p_buf; 751 buf_len = p_buf->len; 752 offset = p_buf->offset; 757 DISP_NCI ((UINT8 *) (p_buf + 1) + p_buf->offset, p_buf->len, FALSE); 760 ps = (UINT8 *) (p_buf + 1) + p_buf [all...] |
/external/libnfc-nci/src/gki/common/ |
H A D | gki_buffer.c | 581 ** Parameters p_buf - (input) address of the beginning of a buffer. 586 void GKI_freebuf (void *p_buf) argument 592 if (!p_buf || gki_chk_buf_damage(p_buf)) 599 p_hdr = (BUFFER_HDR_T *) ((UINT8 *)p_buf - BUFFER_HDR_SIZE); 602 LOGD("GKI_freebuf() freeing, %x, %x, func:%s(line=%d)", p_buf, p_hdr, p_hdr->_function, p_hdr->_line); 647 ** Parameters p_buf - (input) address of the beginning of a buffer. 652 UINT16 GKI_get_buf_size (void *p_buf) argument 656 p_hdr = (BUFFER_HDR_T *)((UINT8 *) p_buf - BUFFER_HDR_SIZE); 678 BOOLEAN gki_chk_buf_damage(void *p_buf) argument 774 void *p_buf = NULL; local 812 GKI_enqueue(BUFFER_Q *p_q, void *p_buf) argument 867 GKI_enqueue_head(BUFFER_Q *p_q, void *p_buf) argument 968 GKI_remove_from_queue(BUFFER_Q *p_q, void *p_buf) argument 1054 GKI_getnext(void *p_buf) argument 1329 GKI_change_buf_owner(void *p_buf, UINT8 task_id) argument [all...] |
/external/libnfc-nci/src/nfa/hci/ |
H A D | nfa_hci_utils.c | 37 static void handle_debug_loopback (BT_HDR *p_buf, UINT8 pipe, UINT8 type, UINT8 instruction); 318 BT_HDR *p_buf; local 340 if ((p_buf = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID)) != NULL) 342 p_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; 347 p_data = (UINT8 *) (p_buf + 1) + p_buf->offset; 360 p_buf->len = 1; 367 p_buf->len++; 374 p_buf->len += data_len; 381 DispHcp (((UINT8 *) (p_buf 1417 handle_debug_loopback(BT_HDR *p_buf, UINT8 pipe, UINT8 type, UINT8 instruction) argument [all...] |
/external/libnfc-nci/src/nfa/include/ |
H A D | nfa_ee_api.h | 184 UINT8 *p_buf; /* Data buffer */ member in struct:__anon24026
|
/external/libnfc-nci/src/nfc/int/ |
H A D | ce_int.h | 54 UINT8 *p_buf; /* Current contents for READs */ member in struct:__anon24340
|
/external/libnfc-nci/src/nfc/llcp/ |
H A D | llcp_api.c | 675 BT_HDR *p_buf) 700 if (p_buf->len <= llcp_cb.lcb.peer_miu) 702 if (p_buf->offset >= LLCP_MIN_OFFSET) 704 status = llcp_util_send_ui (ssap, dsap, p_app_cb, p_buf); 709 p_buf->offset, LLCP_MIN_OFFSET ); 724 GKI_freebuf (p_buf); 751 BT_HDR *p_buf; local 767 p_buf = (BT_HDR *) p_app_cb->ui_rx_q.p_first; 768 p_ui_pdu = (UINT8*) (p_buf + 1) + p_buf 673 LLCP_SendUI(UINT8 ssap, UINT8 dsap, BT_HDR *p_buf) argument 843 BT_HDR *p_buf; local 1139 LLCP_SendData(UINT8 local_sap, UINT8 remote_sap, BT_HDR *p_buf) argument 1205 BT_HDR *p_buf; local 1309 BT_HDR *p_buf; local [all...] |
/external/libnfc-nci/src/nfc/nfc/ |
H A D | nfc_main.c | 1130 void *p_buf; local 1135 while ((p_buf = GKI_dequeue (&p_cb->tx_q)) != NULL) 1136 GKI_freebuf (p_buf);
|
H A D | nfc_ncif.c | 256 void nfc_ncif_check_cmd_queue (BT_HDR *p_buf) argument 261 if (p_buf) 265 GKI_enqueue (&nfc_cb.nci_cmd_xmit_q, p_buf); 266 p_buf = NULL; 274 if (!p_buf) 275 p_buf = (BT_HDR *)GKI_dequeue (&nfc_cb.nci_cmd_xmit_q); 277 if (p_buf) 280 ps = (UINT8 *)(p_buf + 1) + p_buf->offset; 283 if (p_buf 348 nfc_ncif_send_cmd(BT_HDR *p_buf) argument [all...] |
H A D | nfc_utils.c | 167 void *p_buf; local 172 while ((p_buf = GKI_dequeue (&p_cb->rx_q)) != NULL) 173 GKI_freebuf (p_buf); 175 while ((p_buf = GKI_dequeue (&p_cb->tx_q)) != NULL) 176 GKI_freebuf (p_buf);
|
/external/libnfc-nci/src/nfc/tags/ |
H A D | ce_t3t.c | 516 ARRAY_TO_STREAM (p_dst, (&p_cb->ndef_info.p_buf[(block_number-1) * T3T_MSG_BLOCKSIZE]), T3T_MSG_BLOCKSIZE); 914 UINT8 *p_buf, 929 if (!p_buf) 942 p_cb->ndef_info.p_buf = p_buf; 950 memcpy (p_scratch_buf, p_buf, p_cb->ndef_info.ln); 911 CE_T3tSetLocalNDEFMsg(BOOLEAN read_only, UINT32 size_max, UINT32 size_current, UINT8 *p_buf, UINT8 *p_scratch_buf) argument
|
H A D | rw_i93.c | 2991 BT_HDR *p_buf; local 3004 p_buf = rw_cb.tcb.i93.p_retry_cmd; 3007 if (rw_i93_send_to_lower (p_buf))
|
/external/libnfc-nci/src/static-lib-adapt/ |
H A D | ProtoDispBluetoothHci.c | 136 void ProtoDispBluetoothHciCmd (BT_HDR *p_buf) argument 140 UINT8 * p = (UINT8 *)(p_buf + 1) + p_buf->offset;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_crc32.c | 59 * p_buf - the packet buffer where crc computations are being performed 60 * length - the length of p_buf in bytes 62 * aligning p_buf to multiples of 4 bytes 532 const unsigned char *p_buf, 545 crc = sctp_crc_tableil8_o32[(crc ^ *p_buf++) & 0x000000FF] ^ 549 crc ^= *p_buf++; 550 crc ^= (*p_buf++) << 8; 551 crc ^= (*p_buf++) << 16; 552 crc ^= (*p_buf++) << 24; 554 crc ^= *(const uint32_t *) p_buf; 531 sctp_crc32c_sb8_64_bit(uint32_t crc, const unsigned char *p_buf, uint32_t length, uint32_t init_bytes) argument [all...] |
/external/chromium_org/third_party/openmax_dl/dl/sp/src/mips/ |
H A D | mips_FFTFwd_RToCCS_F32_complex.c | 29 OMX_FC32* p_buf = (OMX_FC32*)pFFTSpec->pBuf; local 50 OMX_FC32* p_tmp = p_buf + offset; 83 OMX_FC32* p_tmp = p_buf + offset; 143 OMX_FC32* p_tmp = p_buf + offset; 204 tmp1 = p_buf[i].Re; 205 tmp2 = p_buf[i].Im; 206 tmp3 = p_buf[fft_size / 2 - i].Re; 207 tmp4 = p_buf[fft_size / 2 - i].Im; 214 tmp1 = p_buf[i + fft_size / 4].Re; 215 tmp2 = p_buf[ [all...] |
H A D | mips_FFTFwd_RToCCS_F32_real.c | 22 OMX_FC32* p_buf = (OMX_FC32*)pFFTSpec->pBuf; local 54 OMX_FC32* p_tmp = p_buf + offset; 82 OMX_FC32* p_tmp = p_buf; 114 OMX_FC32* p_tmp = p_buf + offset; 149 tmp1 = p_buf[8].Re + p_buf[12].Re; 150 tmp2 = p_buf[8].Re - p_buf[12].Re; 151 tmp3 = p_buf[8].Im + p_buf[1 [all...] |
H A D | mips_FFTInv_CCSToR_F32_complex.c | 26 OMX_FC32* p_buf = (OMX_FC32*)pFFTSpec->pBuf; local 54 p_buf[p_bitrev[n]].Re = 0.5f * (tmp5 - w_re * tmp7 - w_im * tmp6); 55 p_buf[p_bitrev[n]].Im = 0.5f * (tmp8 + w_re * tmp6 - w_im * tmp7); 56 p_buf[p_bitrev[fft_size / 2 - n]].Re = 58 p_buf[p_bitrev[fft_size / 2 - n]].Im = 71 p_buf[p_bitrev[n + fft_size / 4]].Re = 73 p_buf[p_bitrev[n + fft_size / 4]].Im = 75 p_buf[p_bitrev[fft_size / 4 - n]].Re = 77 p_buf[p_bitrev[fft_size / 4 - n]].Im = 96 p_buf[p_bitre [all...] |
H A D | mips_FFTInv_CCSToR_F32_real.c | 21 OMX_FC32* p_buf = (OMX_FC32*)pFFTSpec->pBuf; local 30 p_buf[pFFTSpec->pBitRevInv[n]] = p_src[n]; 31 p_buf[pFFTSpec->pBitRevInv[fft_size - n]].Re = p_src[n].Re; 32 p_buf[pFFTSpec->pBitRevInv[fft_size - n]].Im = -p_src[n].Im; 34 p_buf[0] = p_src[0]; 35 p_buf[pFFTSpec->pBitRevInv[fft_size / 2]] = p_src[fft_size / 2]; 43 tmp1 = p_buf[0].Re + p_buf[1].Re; 44 tmp2 = p_buf[2].Re + p_buf[ [all...] |
H A D | omxSP_FFTInit_R_F32.c | 53 OMX_F32* p_buf; local 100 p_buf = 103 p_buf = (OMX_F32*)((OMX_S8*)p_twiddle + sizeof(OMX_F32)); 106 tmp = ((uintptr_t)p_buf) & 31; 108 p_buf = (OMX_F32*)((OMX_S8*)p_buf + (32 - tmp)); 197 pFFTStruct->pBuf = p_buf;
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
H A D | buffer_unittest.cc | 15 bool IsZero(void* p_buf, size_t size) { argument 16 char* buf = reinterpret_cast<char*>(p_buf);
|
/external/bluetooth/bluedroid/bta/ag/ |
H A D | bta_ag_api.c | 60 tBTA_AG_API_ENABLE *p_buf; local 76 if ((p_buf = (tBTA_AG_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AG_API_ENABLE))) != NULL) 78 p_buf->hdr.event = BTA_AG_API_ENABLE_EVT; 79 p_buf->parse_mode = parse_mode; 80 p_buf->p_cback = p_cback; 81 bta_sys_sendmsg(p_buf); 100 BT_HDR *p_buf; local 102 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 104 p_buf->event = BTA_AG_API_DISABLE_EVT; 105 bta_sys_sendmsg(p_buf); 122 tBTA_AG_API_REGISTER *p_buf; local 160 BT_HDR *p_buf; local 185 tBTA_AG_API_OPEN *p_buf; local 211 BT_HDR *p_buf; local 234 BT_HDR *p_buf; local 257 BT_HDR *p_buf; local 282 tBTA_AG_API_RESULT *p_buf; local 311 tBTA_AG_API_SETCODEC *p_buf; local [all...] |