Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/pn54x/dnld/
DphDnldNfc.c77 (gpphDnldContext->tRspBuffInfo.pBuff) = NULL; in phDnldNfc_Reset()
79 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_Reset()
138 if((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) in phDnldNfc_GetVersion()
140 (gpphDnldContext->tRspBuffInfo.pBuff) = pVersionInfo->pBuff; in phDnldNfc_GetVersion()
144 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetVersion()
208 if((NULL != pSession->pBuff) && (0 != pSession->wLen)) in phDnldNfc_GetSessionState()
210 (gpphDnldContext->tRspBuffInfo.pBuff) = pSession->pBuff; in phDnldNfc_GetSessionState()
214 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetSessionState()
292 if((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) in phDnldNfc_CheckIntegrity()
294 (gpphDnldContext->tRspBuffInfo.pBuff) = pCRCData->pBuff; in phDnldNfc_CheckIntegrity()
[all …]
DphDnldNfc_Internal.c600 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_BuildFramePkt()
616 if((0 == (pDlContext->tRspBuffInfo.wLen)) || (NULL == (pDlContext->tRspBuffInfo.pBuff))) in phDnldNfc_BuildFramePkt()
643 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_BuildFramePkt()
778 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld()
780 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld()
806 … &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
814 … &(pDlContext->tUserData.pBuff[wBuffIdx]),(pDlContext->tRWInfo.wBytesToSendRecv)); in phDnldNfc_CreateFramePld()
845 (pDlContext->tUserData.pBuff),(pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
856 (pDlContext->tUserData.pBuff),(pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
860 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.c392 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_normal()
471 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_force()
546 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) in phNxpNciHal_fw_dnld_get_version_cb()
548 bHwVer = (pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_get_version_cb()
576 && (NULL != pRespBuff->pBuff)) in phNxpNciHal_fw_dnld_get_version_cb()
581 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), in phNxpNciHal_fw_dnld_get_version_cb()
590 if ((pRespBuff->pBuff[1] == 0x07) &&(bNewVer[1] !=0x01)) in phNxpNciHal_fw_dnld_get_version_cb()
682 tDnldBuff.pBuff = bGetVerRes; in phNxpNciHal_fw_dnld_get_version()
738 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) in phNxpNciHal_fw_dnld_get_sessn_state_cb()
742 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.c859 nxpncihal_ctrl.p_rx_data = pInfo->pBuff; in phNxpNciHal_read_complete()