Home
last modified time | relevance | path

Searched refs:wLen (Results 1 – 9 of 9) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/dnld/
DphDnldNfc.c81 (gpphDnldContext->tRspBuffInfo.wLen) = 0; in phDnldNfc_Reset()
83 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_Reset()
141 if((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) in phDnldNfc_GetVersion()
144 (gpphDnldContext->tRspBuffInfo.wLen) = pVersionInfo->wLen; in phDnldNfc_GetVersion()
148 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetVersion()
211 if((NULL != pSession->pBuff) && (0 != pSession->wLen)) in phDnldNfc_GetSessionState()
214 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen; in phDnldNfc_GetSessionState()
218 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetSessionState()
295 if((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) in phDnldNfc_CheckIntegrity()
298 (gpphDnldContext->tRspBuffInfo.wLen) = pCRCData->wLen; in phDnldNfc_CheckIntegrity()
[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()
74 for (i = 0; i < wLen; i++) in phDnldNfc_CalcCrc16()
DphDnldNfc_Internal.c604 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_BuildFramePkt()
613 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt()
620 if((0 == (pDlContext->tRspBuffInfo.wLen)) || (NULL == (pDlContext->tRspBuffInfo.pBuff))) in phDnldNfc_BuildFramePkt()
630 wFrameLen = (pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; in phDnldNfc_BuildFramePkt()
633 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt()
647 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) in phDnldNfc_BuildFramePkt()
849 (pDlContext->tUserData.pBuff),(pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
851 (pDlContext->tCmdRspFrameInfo.dwSendlength) += (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 …]
DphNxpNciHal_Dnld.c409 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_normal()
488 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_force()
562 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) in phNxpNciHal_fw_dnld_get_version_cb()
591 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) in phNxpNciHal_fw_dnld_get_version_cb()
699 tDnldBuff.wLen = sizeof(bGetVerRes); in phNxpNciHal_fw_dnld_get_version()
754 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) in phNxpNciHal_fw_dnld_get_sessn_state_cb()
842 tDnldBuff.wLen = sizeof(bGSnStateRes); in phNxpNciHal_fw_dnld_get_sessn_state()
939 (Data.wLen) = sizeof(phLibNfc_EELogParams_t); in phNxpNciHal_fw_dnld_log_read()
1139 if ((31 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) in phNxpNciHal_fw_dnld_chk_integrity_cb()
1201 tDnldBuff.wLen = sizeof(bChkIntgRes); in phNxpNciHal_fw_dnld_chk_integrity()
[all …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphDnldNfc.h82 uint16_t wLen; /*Buffer length*/ member
/external/tpm2/
DRSAKeySieve.c245 int wLen; in MillerRabin() local
264 wLen = BN_num_bits(bnW); in MillerRabin()
265 pAssert((wLen & 7) == 0); in MillerRabin()
267 b.b.size = (UINT16)(wLen + 7)/8; in MillerRabin()
Dpart4.txt30889 165 int wLen;
30913 189 wLen = BN_num_bits(bnW);
30914 190 pAssert((wLen & 7) == 0);
30917 193 b.b.size = (UINT16)(wLen + 7)/8;
30925 201 // In the reference implementation, wLen is always a multiple of 8
/external/libxml2/
DxmlIO.c228 int wLen = in __xmlIOWin32UTF8ToWChar() local
231 if (wLen) { in __xmlIOWin32UTF8ToWChar()
232 wString = xmlMalloc(wLen * sizeof(wchar_t)); in __xmlIOWin32UTF8ToWChar()
235 (CP_UTF8, 0, u8String, -1, wString, wLen) == 0) { in __xmlIOWin32UTF8ToWChar()