Home | History | Annotate | Download | only in src

Lines Matching full:remainingbytes

1306     uint16_t                    RemainingBytes = 0,
1326 RemainingBytes = (((uint16_t)(NdefMap->ApduBufferSize -
1345 if(RemainingBytes >= ( MIFARE_MAX_SEND_BUF_TO_WRITE -
1363 RemainingBytes);
1366 NdefMap->NumOfBytesWritten = RemainingBytes;
1367 Temp16Bytes += (uint8_t)(RemainingBytes);
1385 if(RemainingBytes >= (MIFARE_MAX_SEND_BUF_TO_WRITE - Temp16Bytes))
1407 RemainingBytes);
1410 NdefMap->NumOfBytesWritten = RemainingBytes;
1411 Temp16Bytes += (uint8_t)(RemainingBytes);
2272 uint16_t RemainingBytes = 0;
2276 RemainingBytes = ((uint16_t)NdefMap->ApduBufferSize -
2282 RemainingBytes)
2287 RemainingBytes = ((( NdefMap->StdMifareContainer.NoOfNdefCompBlocks -
2401 (RemainingBytes <=
2409 RemainingBytes);
2410 NdefMap->ApduBuffIndex += RemainingBytes;
2411 *Temp16Bytes += ((uint8_t)RemainingBytes);
2412 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2437 (RemainingBytes >
2477 (RemainingBytes <=
2485 RemainingBytes);
2486 NdefMap->ApduBuffIndex += RemainingBytes;
2487 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2488 if(RemainingBytes == (PH_FRINFC_MIFARESTD_BYTES_READ - *Temp16Bytes))
2505 &(NdefMap->SendRecvBuf[((*Temp16Bytes) + RemainingBytes)]),
2507 (*Temp16Bytes + RemainingBytes)));
2512 (*Temp16Bytes + RemainingBytes));
2514 *Temp16Bytes += ((uint8_t)RemainingBytes);
2522 (RemainingBytes >
2573 uint16_t RemainingBytes = 0;
2575 RemainingBytes = ((uint16_t)NdefMap->ApduBufferSize -
2579 RemainingBytes)
2584 RemainingBytes = NdefMap->StdMifareContainer.remainingSize;
2590 (RemainingBytes <= NdefMap->TLVStruct.BytesRemainLinTLV))
2597 RemainingBytes);
2598 NdefMap->ApduBuffIndex += RemainingBytes;
2599 NdefMap->StdMifareContainer.remainingSize -= RemainingBytes;
2603 if(RemainingBytes != NdefMap->TLVStruct.BytesRemainLinTLV)
2607 &(NdefMap->SendRecvBuf[((*Temp16Bytes) + RemainingBytes)]),
2609 &(NdefMap->SendRecvBuf[RemainingBytes]),
2612 (*Temp16Bytes)) - RemainingBytes));
2617 (*Temp16Bytes)) - RemainingBytes);
2619 *Temp16Bytes += ((uint8_t)RemainingBytes);
2621 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2650 (RemainingBytes > NdefMap->TLVStruct.BytesRemainLinTLV))
2702 (RemainingBytes <= (PH_FRINFC_MIFARESTD_BYTES_READ - (*Temp16Bytes))))
2709 RemainingBytes);
2710 NdefMap->ApduBuffIndex += RemainingBytes;
2711 NdefMap->StdMifareContainer.remainingSize -= RemainingBytes;
2714 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2731 &(NdefMap->SendRecvBuf[(RemainingBytes + (*Temp16Bytes))]),
2733 - RemainingBytes));
2737 ((PH_FRINFC_MIFARESTD_BYTES_READ - (*Temp16Bytes)) - RemainingBytes);
2742 &(NdefMap->SendRecvBuf[RemainingBytes]),
2744 - RemainingBytes));
2748 ((PH_FRINFC_MIFARESTD_BYTES_READ - (*Temp16Bytes)) - RemainingBytes);
2751 if(RemainingBytes == (PH_FRINFC_MIFARESTD_BYTES_READ - (*Temp16Bytes)))
2763 *Temp16Bytes += ((uint8_t)RemainingBytes);
2772 (RemainingBytes > (PH_FRINFC_MIFARESTD_BYTES_READ - (*Temp16Bytes))))
2851 uint16_t RemainingBytes = 0;
2853 RemainingBytes = ((uint16_t)NdefMap->ApduBufferSize -
2857 RemainingBytes)
2862 RemainingBytes = NdefMap->StdMifareContainer.remainingSize;
2868 (RemainingBytes <= NdefMap->TLVStruct.BytesRemainLinTLV))
2874 RemainingBytes);
2875 NdefMap->ApduBuffIndex += RemainingBytes;
2876 NdefMap->StdMifareContainer.remainingSize -= RemainingBytes;
2877 *TempintBytes += ((uint8_t)RemainingBytes);
2882 &(NdefMap->StdMifareContainer.internalBuf[RemainingBytes]),
2883 (NdefMap->StdMifareContainer.internalLength - RemainingBytes));
2886 NdefMap->StdMifareContainer.internalLength -= RemainingBytes;
2888 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2917 (RemainingBytes > NdefMap->TLVStruct.BytesRemainLinTLV))
2980 (RemainingBytes <= NdefMap->StdMifareContainer.internalLength))
2984 RemainingBytes);
2986 NdefMap->ApduBuffIndex += RemainingBytes;
2988 RemainingBytes;
2989 *TempintBytes += ((uint8_t)RemainingBytes);
2991 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
2996 &(NdefMap->StdMifareContainer.internalBuf[RemainingBytes]),
2997 (NdefMap->StdMifareContainer.internalLength - RemainingBytes));
3000 NdefMap->StdMifareContainer.internalLength -= RemainingBytes;
3022 (RemainingBytes > NdefMap->StdMifareContainer.internalLength))
3069 uint16_t RemainingBytes = 0;
3074 RemainingBytes = (uint16_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex);
3078 RemainingBytes = ((uint16_t)NdefMap->ApduBufferSize -
3085 RemainingBytes)
3090 RemainingBytes = ((( NdefMap->StdMifareContainer.NoOfNdefCompBlocks -
3203 (RemainingBytes <= NdefMap->TLVStruct.BytesRemainLinTLV))
3210 RemainingBytes);
3212 NdefMap->ApduBuffIndex += RemainingBytes;
3213 *TempintBytes += ((uint8_t)RemainingBytes);
3214 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
3223 RemainingBytes);
3225 RemainingBytes);
3232 (RemainingBytes > NdefMap->TLVStruct.BytesRemainLinTLV))
3266 (RemainingBytes <= (NdefMap->StdMifareContainer.internalLength -
3274 RemainingBytes);
3275 NdefMap->ApduBuffIndex += RemainingBytes;
3276 *TempintBytes += ((uint8_t)RemainingBytes);
3277 NdefMap->TLVStruct.BytesRemainLinTLV -= RemainingBytes;
3294 (RemainingBytes > (NdefMap->StdMifareContainer.internalLength -
4859 uint16_t RemainingBytes = PH_FRINFC_MIFARESTD_VAL0,
4865 RemainingBytes = (uint16_t)((NdefMap->StdMifareContainer.remainingSize
4876 BytesToWrite = ((RemainingBytes <
4879 RemainingBytes: