Home
last modified time | relevance | path

Searched refs:pBuff (Results 1 – 13 of 13) 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/fpdfxfa/
Dfpdfxfa_app.cpp202 char* pBuff = new char[nLength]; in Response() local
204 wsDefaultAnswer.GetPtr(), NULL, bMark, pBuff, in Response()
208 pBuff[nLength] = 0; in Response()
209 pBuff[nLength + 1] = 0; in Response()
211 reinterpret_cast<const unsigned short*>(pBuff), in Response()
214 delete[] pBuff; in Response()
/external/pdfium/fpdfsdk/src/
Dfsdk_mgr.cpp288 std::unique_ptr<char[]> pBuff(new char[nRequiredLen]); in JS_fieldBrowse() local
289 memset(pBuff.get(), 0, nRequiredLen); in JS_fieldBrowse()
291 m_pInfo->m_pJsPlatform, pBuff.get(), nRequiredLen); in JS_fieldBrowse()
295 CFX_ByteString bsRet = CFX_ByteString(pBuff.get(), nActualLen); in JS_fieldBrowse()
311 std::unique_ptr<char[]> pBuff(new char[nRequiredLen]); in JS_docGetFilePath() local
312 memset(pBuff.get(), 0, nRequiredLen); in JS_docGetFilePath()
314 m_pInfo->m_pJsPlatform, pBuff.get(), nRequiredLen); in JS_docGetFilePath()
318 CFX_ByteString bsRet = CFX_ByteString(pBuff.get(), nActualLen); in JS_docGetFilePath()
/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/pdfium/fpdfsdk/src/javascript/
Dapp.cpp807 std::unique_ptr<char[]> pBuff(new char[MAX_INPUT_BYTES + 2]); in response() local
808 memset(pBuff.get(), 0, MAX_INPUT_BYTES + 2); in response()
811 bPassWord, pBuff.get(), MAX_INPUT_BYTES); in response()
819 (unsigned short*)pBuff.get(), nLengthBytes / sizeof(unsigned short)); in response()
/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal.c888 nxpncihal_ctrl.p_rx_data = pInfo->pBuff; in phNxpNciHal_read_complete()