Lines Matching defs:TempLength
225 uint16_t *TempLength,
233 uint16_t TempLength);
2192 uint16_t TempLength = 0;
2194 TempLength = ((NdefMap->StdMifareContainer.internalLength > 0)?
2202 TempLength);
2208 TempLength);
2509 /* TempLength of the internal buffer */
3620 uint16_t TempLength = PH_FRINFC_MIFARESTD_VAL0,
3624 TempLength = NdefMap->TLVStruct.NdefTLVByte;
3628 if((NdefMap->SendRecvBuf[TempLength] != PH_FRINFC_MIFARESTD_TERMTLV_T) &&
3629 (NdefMap->SendRecvBuf[TempLength] != PH_FRINFC_MIFARESTD_NULLTLV_T) &&
3630 (NdefMap->SendRecvBuf[TempLength] != PH_FRINFC_MIFARESTD_NDEFTLV_T) &&
3643 if((NdefMap->SendRecvBuf[TempLength] != PH_FRINFC_MIFARESTD_TERMTLV_T) &&
3644 (NdefMap->SendRecvBuf[TempLength] != PH_FRINFC_MIFARESTD_NULLTLV_T))
3646 if(NdefMap->SendRecvBuf[TempLength] == PH_FRINFC_MIFARESTD_NDEFTLV_T)
3650 NdefMap->TLVStruct.NdefTLVByte = (uint8_t)TempLength;
3652 ((NdefMap->SendRecvBuf[TempLength] ==
3667 TempLength++;
3668 if(TempLength == PH_FRINFC_MIFARESTD_BYTES_READ)
3676 TempLength);
3689 TempLength)) <
3690 NdefMap->SendRecvBuf[TempLength]) &&
3691 ((NdefMap->SendRecvBuf[TempLength] <
3707 TempLength)) <
3708 NdefMap->SendRecvBuf[TempLength]) &&
3709 ((NdefMap->SendRecvBuf[TempLength] ==
3723 (NdefMap->SendRecvBuf[TempLength] <
3727 NdefMap->SendRecvBuf[TempLength]);
3729 NdefMap->SendRecvBuf[TempLength];
3744 (( NdefMap->SendRecvBuf[TempLength] <
3746 (NdefMap->SendRecvBuf[TempLength]
3750 if(( NdefMap->SendRecvBuf[TempLength] ==
3762 ((NdefMap->SendRecvBuf[TempLength] <
3764 phFriNfc_MifStd_H_GetNxtTLV(NdefMap, &TempLength, &TL4bytesFlag):
3767 if((TempLength >= PH_FRINFC_MIFARESTD_BYTES_READ) &&
3786 Result = ((NdefMap->SendRecvBuf[TempLength] ==
3798 TempLength++;
3800 if(TempLength == PH_FRINFC_MIFARESTD_BYTES_READ)
3808 TempLength);
3814 ShiftLength = NdefMap->SendRecvBuf[TempLength];
3815 TempLength++;
3816 if(TempLength == PH_FRINFC_MIFARESTD_BYTES_READ)
3823 NdefMap->SendRecvBuf[(TempLength -
3827 TempLength);
3838 TempLength)) <
3840 << 8) + NdefMap->SendRecvBuf[TempLength]))
3852 NdefMap->SendRecvBuf[TempLength]);
3864 NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_MIFARESTD_VAL1)]);
3865 TempLength++;
3868 Result = phFriNfc_MifStd_H_GetNxtTLV(NdefMap, &TempLength, &TL4bytesFlag);
3870 if((TempLength >= PH_FRINFC_MIFARESTD_BYTES_READ) &&
3885 else if((NdefMap->SendRecvBuf[TempLength] == PH_FRINFC_MIFARESTD_TERMTLV_T) &&
3895 else if(NdefMap->SendRecvBuf[TempLength] == PH_FRINFC_MIFARESTD_NULLTLV_T)
3897 TempLength++;
3899 ShiftLength = NdefMap->SendRecvBuf[(TempLength - PH_FRINFC_MIFARESTD_VAL1)];
3902 (( ShiftLength << 8) + NdefMap->SendRecvBuf[TempLength]))
3909 TempLength);
3918 if((NdefMap->SendRecvBuf[TempLength] == PH_FRINFC_MIFARESTD_TERMTLV_T) &&
3921 TempLength++;
3951 uint16_t *TempLength,
3959 TempLen = (*TempLength);
3965 (*TempLength) += (NdefMap->SendRecvBuf[TempLen] +
3971 (((*TempLength) < PH_FRINFC_MIFARESTD_BYTES_READ)?
3979 (((*TempLength) < PH_FRINFC_MIFARESTD_BYTES_READ)?
3992 (*TempLength) += ((ShiftLength
4004 (*TempLength) += ((ShiftLength
4016 (uint8_t)(((*TempLength) < PH_FRINFC_MIFARESTD_BYTES_READ)?
4017 (*TempLength):
4042 uint16_t TempLength)
4045 if(TempLength == PH_FRINFC_MIFARESTD_BYTES_READ)
4064 uint16_t TempLength = PH_FRINFC_MIFARESTD_VAL0,
4075 NdefMap->SendRecvBuf[TempLength]):
4081 if((NdefMap->SendRecvBuf[TempLength] <
4088 Result = ((NdefMap->SendRecvBuf[TempLength] >
4099 NdefMap->SendRecvBuf[TempLength];
4105 TempLength++;
4107 &TempLength, &TL4bytesFlag);
4110 NdefMap->SendRecvBuf[TempLength];
4111 if((TempLength >= PH_FRINFC_MIFARESTD_BYTES_READ) &&
4124 else if((NdefMap->SendRecvBuf[TempLength] ==
4128 TempLength++;
4132 Result = (((((uint16_t)NdefMap->SendRecvBuf[TempLength] << 8) +
4133 NdefMap->SendRecvBuf[(TempLength +
4145 (((uint16_t)NdefMap->SendRecvBuf[TempLength] << 8) +
4146 NdefMap->SendRecvBuf[(TempLength +
4152 TempLength++;
4155 &TempLength, &TL4bytesFlag);
4157 (((uint16_t)NdefMap->SendRecvBuf[TempLength] << 8) +
4158 NdefMap->SendRecvBuf[(TempLength +
4184 NdefMap->SendRecvBuf[TempLength]):
4185 (((uint16_t)NdefMap->SendRecvBuf[TempLength] << 8) +
4186 NdefMap->SendRecvBuf[(TempLength +
4192 TempLength)) <
4222 TempLength += PH_FRINFC_MIFARESTD_VAL2;
4226 phFriNfc_MifStd_H_GetNxtTLV(NdefMap, &TempLength, &TL4bytesFlag));
4828 uint8_t TempLength = PH_FRINFC_MIFARESTD_VAL0;
4840 TempLength = ((NdefMap->StdMifareContainer.currentBlock ==
4853 Result = ((TempLength == PH_FRINFC_MIFARESTD_BLOCK_BYTES)?
4855 phFriNfc_MifStd_H_fillSendBuf(NdefMap, TempLength));
4868 uint8_t TempLength = PH_FRINFC_MIFARESTD_VAL0;
4869 TempLength = (uint8_t)(NdefMap->TLVStruct.NdefTLVByte + PH_FRINFC_MIFARESTD_VAL1);
4873 if((PH_FRINFC_MIFARESTD_BYTES_READ - TempLength) ==
4876 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
4880 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
4881 TempLength++;
4882 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L0;
4888 TempLength))
4891 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4895 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4896 TempLength++;
4898 (uint16_t)((NdefMap->SendRecvBuf[TempLength] >=
4901 NdefMap->SendRecvBuf[TempLength]);
4902 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4906 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4907 TempLength++;
4909 (uint16_t)((NdefMap->SendRecvBuf[TempLength] >=
4911 NdefMap->SendRecvBuf[(TempLength +
4913 NdefMap->SendRecvBuf[TempLength]);
4914 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4915 TempLength++;
4916 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
4921 NdefMap->SendRecvBuf[TempLength];
4922 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4923 TempLength++;
4924 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
4925 TempLength++;
4926 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
4927 TempLength++;
4928 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L0;
4933 return TempLength;
5194 uint8_t TempLength = PH_FRINFC_MIFARESTD_VAL1;
5198 NdefMap->TLVStruct.prevLenByteValue = NdefMap->SendRecvBuf[TempLength];
5199 NdefMap->SendRecvBuf[TempLength] =
5209 (((NdefMap->SendRecvBuf[TempLength] ==
5211 (((uint16_t)NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_MIFARESTD_VAL1)]
5213 NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_MIFARESTD_VAL2)]):
5214 NdefMap->SendRecvBuf[TempLength]);
5215 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5216 TempLength++;
5217 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5218 TempLength++;
5219 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L0;
5224 (((NdefMap->SendRecvBuf[TempLength] ==
5226 (((uint16_t)NdefMap->SendRecvBuf[TempLength] <<
5228 NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_MIFARESTD_VAL1)]):
5229 NdefMap->SendRecvBuf[TempLength]);
5230 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5231 TempLength++;
5232 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L0;
5240 + NdefMap->SendRecvBuf[TempLength]);
5241 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L0;
5245 return TempLength;
5250 uint8_t TempLength = (uint8_t)(NdefMap->TLVStruct.NdefTLVByte +
5266 NdefMap->SendRecvBuf[TempLength] =
5269 NdefMap->SendRecvBuf[(TempLength +
5275 NdefMap->SendRecvBuf[TempLength] =
5277 NdefMap->SendRecvBuf[(TempLength +
5290 NdefMap->SendRecvBuf[TempLength - PH_FRINFC_MIFARESTD_VAL1] =
5292 NdefMap->SendRecvBuf[TempLength] =
5295 NdefMap->SendRecvBuf[(TempLength +
5301 NdefMap->SendRecvBuf[TempLength] =
5303 NdefMap->SendRecvBuf[(TempLength +
5321 (TempLength - PH_FRINFC_MIFARESTD_VAL3);
5323 NdefMap->SendRecvBuf[(TempLength - PH_FRINFC_MIFARESTD_VAL2)] =
5325 NdefMap->SendRecvBuf[(TempLength - PH_FRINFC_MIFARESTD_VAL1)] =
5327 NdefMap->SendRecvBuf[TempLength] =
5333 NdefMap->SendRecvBuf[TempLength] =
5348 (TempLength - PH_FRINFC_MIFARESTD_VAL3);
5350 NdefMap->SendRecvBuf[(TempLength - PH_FRINFC_MIFARESTD_VAL2)] =
5352 NdefMap->SendRecvBuf[(TempLength - PH_FRINFC_MIFARESTD_VAL1)] =
5354 NdefMap->SendRecvBuf[TempLength] =
5357 NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_MIFARESTD_VAL1)] =
5362 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5363 NdefMap->SendRecvBuf[(TempLength + PH_FRINFC_MIFARESTD_VAL1)] =
5374 uint8_t TempLength = (uint8_t)(NdefMap->TLVStruct.NdefTLVByte +
5389 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5390 TempLength++;
5391 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L;
5392 TempLength++;
5393 NdefMap->SendRecvBuf[TempLength] = (uint8_t)(NdefMap->TLVStruct.prevLenByteValue >>
5398 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5399 TempLength++;
5400 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5401 TempLength++;
5408 (TempLength - PH_FRINFC_MIFARESTD_VAL1);
5410 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5418 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5419 TempLength++;
5420 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L;
5424 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5425 TempLength++;
5426 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5434 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5438 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5446 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5447 TempLength++;
5448 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_L;
5449 TempLength++;
5450 NdefMap->SendRecvBuf[TempLength] = (uint8_t)(NdefMap->TLVStruct.prevLenByteValue >>
5452 TempLength++;
5453 NdefMap->SendRecvBuf[TempLength] =
5458 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5459 TempLength++;
5460 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NULLTLV_T;
5461 TempLength++;
5468 (TempLength - PH_FRINFC_MIFARESTD_VAL1);
5470 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5471 TempLength++;
5472 NdefMap->SendRecvBuf[TempLength] =
5635 uint8_t TempLength = PH_FRINFC_MIFARESTD_VAL1;
5641 NdefMap->SendRecvBuf[TempLength] =
5651 NdefMap->SendRecvBuf[TempLength] =
5654 TempLength++;
5655 NdefMap->SendRecvBuf[TempLength] =
5664 (TempLength - PH_FRINFC_MIFARESTD_VAL1);
5665 NdefMap->SendRecvBuf[TempLength] = PH_FRINFC_MIFARESTD_NDEFTLV_T;
5666 TempLength++;
5667 NdefMap->SendRecvBuf[TempLength] =
5679 NdefMap->SendRecvBuf[TempLength] =
5681 TempLength++;
5682 NdefMap->SendRecvBuf[TempLength] =
5685 TempLength++;
5686 NdefMap->SendRecvBuf[TempLength] =
5691 NdefMap->SendRecvBuf[TempLength] =
5693 TempLength++;
5698 (TempLength - PH_FRINFC_MIFARESTD_VAL1);
5699 NdefMap->SendRecvBuf[TempLength] =
5701 TempLength++;
5702 NdefMap->SendRecvBuf[TempLength] =
5725 uint8_t TempLength = PH_FRINFC_MIFARESTD_VAL0,
5728 /*TempLength = (uint8_t)(((NdefMap->TLVStruct.NULLTLVCount >=
5738 TempLength = (uint8_t)((NdefMap->TLVStruct.BytesRemainLinTLV <= 0xFE)?
5753 Result = phFriNfc_MifStd_H_RemainTLV(NdefMap, &NDEFFlag, &TempLength);