Lines Matching refs:BytesRemainLinTLV
515 NdefMap->TLVStruct.BytesRemainLinTLV = PH_FRINFC_MIFARESTD_VAL0; in phFriNfc_MifareStdMap_H_Reset()
929 if(NdefMap->TLVStruct.BytesRemainLinTLV != 0) in phFriNfc_MifareStdMap_Process()
1211 … Status = phFriNfc_MapTool_SetCardState(NdefMap, NdefMap->TLVStruct.BytesRemainLinTLV); in phFriNfc_MifareStdMap_Process()
2220 NdefMap->TLVStruct.BytesRemainLinTLV = *TempBuffer;
2221 NdefMap->TLVStruct.BytesRemainLinTLV =
2222 ((NdefMap->TLVStruct.BytesRemainLinTLV
2226 *CRFlag = (uint8_t)((NdefMap->TLVStruct.BytesRemainLinTLV <
2230 NdefMap->TLVStruct.BytesRemainLinTLV = ((*CRFlag ==
2233 NdefMap->TLVStruct.BytesRemainLinTLV);
2240 NdefMap->TLVStruct.BytesRemainLinTLV =
2243 NdefMap->TLVStruct.BytesRemainLinTLV =
2244 ((NdefMap->TLVStruct.BytesRemainLinTLV
2246 *CRFlag = (uint8_t)((NdefMap->TLVStruct.BytesRemainLinTLV <
2251 NdefMap->TLVStruct.BytesRemainLinTLV = ((*CRFlag ==
2254 NdefMap->TLVStruct.BytesRemainLinTLV);
2269 NdefMap->TLVStruct.BytesRemainLinTLV =
2327 NdefMap->TLVStruct.BytesRemainLinTLV =
2331 NdefMap->TLVStruct.BytesRemainLinTLV =
2332 ((NdefMap->TLVStruct.BytesRemainLinTLV
2336 *CRFlag = (uint8_t)((NdefMap->TLVStruct.BytesRemainLinTLV <
2480 if((NdefMap->TLVStruct.BytesRemainLinTLV <=
2483 NdefMap->TLVStruct.BytesRemainLinTLV))
2493 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2495 if(NdefMap->TLVStruct.BytesRemainLinTLV == 0)
2516 else if((NdefMap->TLVStruct.BytesRemainLinTLV <=
2519 NdefMap->TLVStruct.BytesRemainLinTLV))
2526 NdefMap->TLVStruct.BytesRemainLinTLV);
2528 NdefMap->ApduBuffIndex += NdefMap->TLVStruct.BytesRemainLinTLV;
2529 *Temp16Bytes += ((uint8_t)NdefMap->TLVStruct.BytesRemainLinTLV);
2530 NdefMap->TLVStruct.BytesRemainLinTLV = 0;
2556 else if((NdefMap->TLVStruct.BytesRemainLinTLV >
2568 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2573 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))?
2601 if((NdefMap->TLVStruct.BytesRemainLinTLV >
2613 NdefMap->TLVStruct.BytesRemainLinTLV -=
2669 if((NdefMap->TLVStruct.BytesRemainLinTLV <= in phFriNfc_MifStd_H_RemainTLV()
2671 (RemainingBytes <= NdefMap->TLVStruct.BytesRemainLinTLV)) in phFriNfc_MifStd_H_RemainTLV()
2684 if(RemainingBytes != NdefMap->TLVStruct.BytesRemainLinTLV) in phFriNfc_MifStd_H_RemainTLV()
2702 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes; in phFriNfc_MifStd_H_RemainTLV()
2708 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_RemainTLV()
2717 if(NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0) in phFriNfc_MifStd_H_RemainTLV()
2729 else if((NdefMap->TLVStruct.BytesRemainLinTLV <= in phFriNfc_MifStd_H_RemainTLV()
2731 (RemainingBytes > NdefMap->TLVStruct.BytesRemainLinTLV)) in phFriNfc_MifStd_H_RemainTLV()
2738 NdefMap->TLVStruct.BytesRemainLinTLV); in phFriNfc_MifStd_H_RemainTLV()
2739 NdefMap->ApduBuffIndex += NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_MifStd_H_RemainTLV()
2741 NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_MifStd_H_RemainTLV()
2743 *Temp16Bytes += ((uint8_t)NdefMap->TLVStruct.BytesRemainLinTLV); in phFriNfc_MifStd_H_RemainTLV()
2744 NdefMap->TLVStruct.BytesRemainLinTLV = PH_FRINFC_MIFARESTD_VAL0; in phFriNfc_MifStd_H_RemainTLV()
2751 if(NdefMap->TLVStruct.BytesRemainLinTLV == in phFriNfc_MifStd_H_RemainTLV()
2755 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_RemainTLV()
2774 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_RemainTLV()
2781 else if((NdefMap->TLVStruct.BytesRemainLinTLV > in phFriNfc_MifStd_H_RemainTLV()
2795 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes; in phFriNfc_MifStd_H_RemainTLV()
2836 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_RemainTLV()
2851 if((NdefMap->TLVStruct.BytesRemainLinTLV > in phFriNfc_MifStd_H_RemainTLV()
2865 … NdefMap->TLVStruct.BytesRemainLinTLV -= (PH_FRINFC_MIFARESTD_BYTES_READ - (*Temp16Bytes)); in phFriNfc_MifStd_H_RemainTLV()
2867 if(NdefMap->TLVStruct.BytesRemainLinTLV != PH_FRINFC_MIFARESTD_NDEFTLV_LBYTES0) in phFriNfc_MifStd_H_RemainTLV()
2890 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_RemainTLV()
2904 if(NdefMap->TLVStruct.BytesRemainLinTLV != 0) in phFriNfc_MifStd_H_ChkIntLen()
2947 if((NdefMap->TLVStruct.BytesRemainLinTLV <= in phFriNfc_MifStd_H_IntLenWioutNdef()
2949 (RemainingBytes <= NdefMap->TLVStruct.BytesRemainLinTLV)) in phFriNfc_MifStd_H_IntLenWioutNdef()
2969 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes; in phFriNfc_MifStd_H_IntLenWioutNdef()
2974 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_IntLenWioutNdef()
2984 if(NdefMap->TLVStruct.BytesRemainLinTLV == 0) in phFriNfc_MifStd_H_IntLenWioutNdef()
2996 else if((NdefMap->TLVStruct.BytesRemainLinTLV <= in phFriNfc_MifStd_H_IntLenWioutNdef()
2998 (RemainingBytes > NdefMap->TLVStruct.BytesRemainLinTLV)) in phFriNfc_MifStd_H_IntLenWioutNdef()
3002 NdefMap->TLVStruct.BytesRemainLinTLV); in phFriNfc_MifStd_H_IntLenWioutNdef()
3004 NdefMap->ApduBuffIndex += NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_MifStd_H_IntLenWioutNdef()
3006 NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_MifStd_H_IntLenWioutNdef()
3009 *TempintBytes += ((uint8_t)NdefMap->TLVStruct.BytesRemainLinTLV); in phFriNfc_MifStd_H_IntLenWioutNdef()
3015 NdefMap->TLVStruct.BytesRemainLinTLV = PH_FRINFC_MIFARESTD_VAL0; in phFriNfc_MifStd_H_IntLenWioutNdef()
3018 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_IntLenWioutNdef()
3031 if( NdefMap->TLVStruct.BytesRemainLinTLV == in phFriNfc_MifStd_H_IntLenWioutNdef()
3035 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_IntLenWioutNdef()
3054 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_IntLenWioutNdef()
3059 else if((NdefMap->TLVStruct.BytesRemainLinTLV > in phFriNfc_MifStd_H_IntLenWioutNdef()
3072 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes; in phFriNfc_MifStd_H_IntLenWioutNdef()
3086 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_IntLenWioutNdef()
3101 if((NdefMap->TLVStruct.BytesRemainLinTLV > in phFriNfc_MifStd_H_IntLenWioutNdef()
3112 NdefMap->TLVStruct.BytesRemainLinTLV -= NdefMap->StdMifareContainer.internalLength; in phFriNfc_MifStd_H_IntLenWioutNdef()
3114 if(NdefMap->TLVStruct.BytesRemainLinTLV != PH_FRINFC_MIFARESTD_NDEFTLV_LBYTES0) in phFriNfc_MifStd_H_IntLenWioutNdef()
3138 (NdefMap->TLVStruct.BytesRemainLinTLV == PH_FRINFC_MIFARESTD_VAL0))? in phFriNfc_MifStd_H_IntLenWioutNdef()
3282 if( (NdefMap->TLVStruct.BytesRemainLinTLV <=
3284 (RemainingBytes <= NdefMap->TLVStruct.BytesRemainLinTLV))
3295 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
3296 if(NdefMap->TLVStruct.BytesRemainLinTLV == 0)
3311 else if((NdefMap->TLVStruct.BytesRemainLinTLV <=
3313 (RemainingBytes > NdefMap->TLVStruct.BytesRemainLinTLV))
3320 NdefMap->TLVStruct.BytesRemainLinTLV);
3323 NdefMap->ApduBuffIndex += NdefMap->TLVStruct.BytesRemainLinTLV;
3324 *TempintBytes += ((uint8_t)NdefMap->TLVStruct.BytesRemainLinTLV);
3325 NdefMap->TLVStruct.BytesRemainLinTLV = PH_FRINFC_MIFARESTD_VAL0;
3345 else if((NdefMap->TLVStruct.BytesRemainLinTLV >
3358 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
3373 if((NdefMap->TLVStruct.BytesRemainLinTLV >
3387 NdefMap->TLVStruct.BytesRemainLinTLV -=
3536 NdefMap->TLVStruct.BytesRemainLinTLV = PH_FRINFC_MIFARESTD_VAL0; in phFriNfc_MifStd_H_RdWrReset()
3635 NdefMap->TLVStruct.BytesRemainLinTLV = 0; in phFriNfc_MifStd_H_ChkTLVs()
3728 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_ChkTLVs()
3853 NdefMap->TLVStruct.BytesRemainLinTLV = ShiftLength; in phFriNfc_MifStd_H_ChkTLVs()
3929 if(NdefMap->TLVStruct.BytesRemainLinTLV > in phFriNfc_MifStd_H_ChkTLVs()
4098 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_ChkRemainTLVs()
4144 NdefMap->TLVStruct.BytesRemainLinTLV = in phFriNfc_MifStd_H_ChkRemainTLVs()
4207 NdefMap->TLVStruct.BytesRemainLinTLV = ShiftLength; in phFriNfc_MifStd_H_ChkRemainTLVs()
4208 if(NdefMap->TLVStruct.BytesRemainLinTLV > in phFriNfc_MifStd_H_ChkRemainTLVs()
5738 TempLength = (uint8_t)((NdefMap->TLVStruct.BytesRemainLinTLV <= 0xFE)? in phFriNfc_MifStd_H_ProRdTLV()
5749 if(NdefMap->TLVStruct.BytesRemainLinTLV != 0) in phFriNfc_MifStd_H_ProRdTLV()