Lines Matching refs:BytesToRead
1225 uint32_t BytesToRead = 0; in phFriNfc_Desfire_ReadBinary() local
1271 BytesToRead = phFriNfc_Desfire_HGetLeBytes(NdefMap); in phFriNfc_Desfire_ReadBinary()
1281 …if( ((BytesToRead == 1) || (BytesToRead == 2)) && (NdefMap->DesfireCapContainer.SkipNlenBytesFlag … in phFriNfc_Desfire_ReadBinary()
1283 BytesToRead += BufIndex; in phFriNfc_Desfire_ReadBinary()
1289 NdefMap->SendRecvBuf[4]=(uint8_t) BytesToRead ; in phFriNfc_Desfire_ReadBinary()
1305 …status = phFriNfc_Desfire_HSendTransCmd(NdefMap,(uint8_t)(BytesToRead +PH_FRINFC_NDEFMAP_DESF_RESP… in phFriNfc_Desfire_ReadBinary()
1693 uint16_t BytesToRead =0; in phFriNfc_Desfire_HGetLeBytes() local
1697 BytesToRead = PH_FRINFC_NDEFMAP_DESF_NLEN_SIZE_IN_BYTES; in phFriNfc_Desfire_HGetLeBytes()
1711 BytesToRead = (((NdefMap->DesfireCapContainer.NdefDataLen - *NdefMap->DataCount) >= in phFriNfc_Desfire_HGetLeBytes()
1720 BytesToRead = (uint16_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex); in phFriNfc_Desfire_HGetLeBytes()
1721 … if(BytesToRead >= (uint16_t)(NdefMap->DesfireCapContainer.NdefDataLen - *NdefMap->DataCount)) in phFriNfc_Desfire_HGetLeBytes()
1723 BytesToRead = (NdefMap->DesfireCapContainer.NdefDataLen - *NdefMap->DataCount); in phFriNfc_Desfire_HGetLeBytes()
1732 return (BytesToRead); in phFriNfc_Desfire_HGetLeBytes()