Home
last modified time | relevance | path

Searched refs:pBuff (Results 1 – 11 of 11) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/dnld/
DphDnldNfc.c80 (gpphDnldContext->tRspBuffInfo.pBuff) = NULL; in phDnldNfc_Reset()
82 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_Reset()
141 if((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) in phDnldNfc_GetVersion()
143 (gpphDnldContext->tRspBuffInfo.pBuff) = pVersionInfo->pBuff; in phDnldNfc_GetVersion()
147 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetVersion()
211 if((NULL != pSession->pBuff) && (0 != pSession->wLen)) in phDnldNfc_GetSessionState()
213 (gpphDnldContext->tRspBuffInfo.pBuff) = pSession->pBuff; in phDnldNfc_GetSessionState()
217 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetSessionState()
295 if((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) in phDnldNfc_CheckIntegrity()
297 (gpphDnldContext->tRspBuffInfo.pBuff) = pCRCData->pBuff; in phDnldNfc_CheckIntegrity()
[all …]
DphDnldNfc_Internal.c604 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_BuildFramePkt()
620 if((0 == (pDlContext->tRspBuffInfo.wLen)) || (NULL == (pDlContext->tRspBuffInfo.pBuff))) in phDnldNfc_BuildFramePkt()
647 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_BuildFramePkt()
782 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld()
784 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld()
810 … &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
818 … &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
849 (pDlContext->tUserData.pBuff),(pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
860 (pDlContext->tUserData.pBuff),(pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
864 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_CreateFramePld()
[all …]
DphDnldNfc_Utils.c59 uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen) in phDnldNfc_CalcCrc16() argument
67 if((NULL == pBuff) || (0 == wLen)) in phDnldNfc_CalcCrc16()
76 wValue = 0x00ffU & (uint16_t) pBuff[i]; in phDnldNfc_CalcCrc16()
DphNxpNciHal_Dnld.c408 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_normal()
487 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_force()
562 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) in phNxpNciHal_fw_dnld_get_version_cb()
564 bHwVer = (pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_get_version_cb()
592 && (NULL != pRespBuff->pBuff)) in phNxpNciHal_fw_dnld_get_version_cb()
597 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), in phNxpNciHal_fw_dnld_get_version_cb()
606 if ((pRespBuff->pBuff[1] == 0x07) &&(bNewVer[1] !=0x01)) in phNxpNciHal_fw_dnld_get_version_cb()
698 tDnldBuff.pBuff = bGetVerRes; in phNxpNciHal_fw_dnld_get_version()
754 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) in phNxpNciHal_fw_dnld_get_sessn_state_cb()
758 if (phDnldNfc_LCOper == pRespBuff->pBuff[2]) in phNxpNciHal_fw_dnld_get_sessn_state_cb()
[all …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphDnldNfc.h81 uint8_t *pBuff; /*pointer to the buffer where user payload shall be stored*/ member
/external/libnfc-nci/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c698 (memcmp(exp->p_data,act->pBuff,exp->len) == 0)) in st_validator_testSWP1_vltg()
700 if(act->pBuff[4] == 0x01 || act->pBuff[4] == 0x02) in st_validator_testSWP1_vltg()
730 NXPLOG_NCIHAL_D("st_validator_testAntenna_Txldo = 0x%x", act->pBuff[3]); in st_validator_testAntenna_Txldo()
731 if (0x05 == act->pBuff[2]) in st_validator_testAntenna_Txldo()
733 if (NFCSTATUS_SUCCESS == act->pBuff[3]) in st_validator_testAntenna_Txldo()
736 … NXPLOG_NCIHAL_D("Antenna: TxLDO current measured raw value in mA : 0x%x", act->pBuff[4]); in st_validator_testAntenna_Txldo()
737 if(0x00 == act->pBuff[5]) in st_validator_testAntenna_Txldo()
740 measured_val = ((0.40 * act->pBuff[4]) + 50); in st_validator_testAntenna_Txldo()
746 measured_val = ((0.40 * act->pBuff[4]) + 20); in st_validator_testAntenna_Txldo()
809 if (0x05 == act->pBuff[2]) in st_validator_testAntenna_AgcVal()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
Dapp.cpp898 char* pBuff = new char[MAX_INPUT_BYTES + 2]; in response() local
899 if (!pBuff) in response()
902 memset(pBuff, 0, MAX_INPUT_BYTES + 2); in response()
904 swLabel.c_str(), bPassWord, pBuff, MAX_INPUT_BYTES); in response()
908 delete[] pBuff; in response()
914 …vRet = CFX_WideString::FromUTF16LE((unsigned short*)pBuff, nLengthBytes / sizeof(unsigned short)).… in response()
915 delete[] pBuff; in response()
/external/libnfc-nci/halimpl/pn54x/tml/
DphTmlNfc.h70 uint8_t *pBuff; /* Response Data of the Transaction*/ member
DphTmlNfc.c401 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
512 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal.c888 nxpncihal_ctrl.p_rx_data = pInfo->pBuff; in phNxpNciHal_read_complete()