Lines Matching refs:DataCount
252 (*NdefMap->DataCount == NdefMap->DesfireCapContainer.NdefDataLen)) in phFriNfc_Desfire_RdNdef()
317 if( *NdefMap->DataCount >= PH_NFCFRI_NDEFMAP_DESF_NDEF_FILE_SIZE) in phFriNfc_Desfire_WrNdef()
437 NdefMap->SendRecvBuf[5] = (uint8_t)(*NdefMap->DataCount >> PH_FRINFC_NDEFMAP_DESF_SHL8); in phFriNfc_Desfire_HSetGet_NLEN()
438 NdefMap->SendRecvBuf[6] = (uint8_t)(*NdefMap->DataCount & (0x00ff)); in phFriNfc_Desfire_HSetGet_NLEN()
474 NdefMap->DesfireCapContainer.NdefDataLen = ((*NdefMap->DataCount == 0)? in phFriNfc_Desfire_HProcReadData()
516 *NdefMap->DataCount = (uint16_t)(*NdefMap->DataCount + SizeToCpy); in phFriNfc_Desfire_HProcReadData()
534 *NdefMap->DataCount += \ in phFriNfc_Desfire_HProcReadData()
543 if (*NdefMap->DataCount < NdefMap->DesfireCapContainer.NdefDataLen ) in phFriNfc_Desfire_HProcReadData()
577 if (*NdefMap->DataCount == NdefMap->DesfireCapContainer.NdefDataLen ) in phFriNfc_Desfire_HProcReadData()
905 *NdefMap->DataCount = 0; in phFriNfc_Desfire_Process()
938 *NdefMap->DataCount = 0; in phFriNfc_Desfire_Process()
956 *NdefMap->DataCount = (uint16_t)(*NdefMap->DataCount + in phFriNfc_Desfire_Process()
1254 if( *NdefMap->DataCount == 0 ) in phFriNfc_Desfire_ReadBinary()
1265 DataCnt = *NdefMap->DataCount; in phFriNfc_Desfire_ReadBinary()
1329 if ( (*NdefMap->DataCount < PH_NFCFRI_NDEFMAP_DESF_NDEF_FILE_SIZE) && in phFriNfc_Desfire_UpdateBinary()
1336 (uint16_t)(PH_NFCFRI_NDEFMAP_DESF_NDEF_FILE_SIZE - *NdefMap->DataCount)) in phFriNfc_Desfire_UpdateBinary()
1338 …>ApduBufferSize =( (PH_NFCFRI_NDEFMAP_DESF_NDEF_FILE_SIZE) - (*NdefMap->DataCount + NdefMap->ApduB… in phFriNfc_Desfire_UpdateBinary()
1346 if( *NdefMap->DataCount == 0) in phFriNfc_Desfire_UpdateBinary()
1361 DataCnt = *NdefMap->DataCount; in phFriNfc_Desfire_UpdateBinary()
1432 if ( (*NdefMap->DataCount == PH_NFCFRI_NDEFMAP_DESF_NDEF_FILE_SIZE) || in phFriNfc_Desfire_UpdateBinary()
1711 BytesToRead = (((NdefMap->DesfireCapContainer.NdefDataLen - *NdefMap->DataCount) >= in phFriNfc_Desfire_HGetLeBytes()
1715 *NdefMap->DataCount)); 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()
1728 … (uint8_t)(((NdefMap->Offset == PH_FRINFC_NDEFMAP_SEEK_BEGIN )&&( *NdefMap->DataCount == 0 )) ? in phFriNfc_Desfire_HGetLeBytes()