Lines Matching refs:ApduBuffIndex
644 NdefMap->ApduBuffIndex = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazDynamicMap_RdNdef()
774 NdefMap->ApduBuffIndex = 0; in phFriNfc_TopazDynamicMap_WrNdef()
1473 else if (write_len == psNdefMap->ApduBuffIndex) in phFriNfc_Tpz_H_ProWrResp()
1476 *psNdefMap->WrNdefPacketLength = psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrResp()
1608 psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrResp()
1610 psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrResp()
2483 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) >= in phFriNfc_Tpz_H_RemainingReadDataCopy()
2487 (void)memcpy ((void *)(psNdefMap->ApduBuffer + psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_RemainingReadDataCopy()
2493 psNdefMap->ApduBuffIndex); in phFriNfc_Tpz_H_RemainingReadDataCopy()
2499 (void)memcpy ((void *)(psNdefMap->ApduBuffer + psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_RemainingReadDataCopy()
2513 psNdefMap->ApduBuffIndex = (uint16_t)(psNdefMap->ApduBuffIndex + in phFriNfc_Tpz_H_RemainingReadDataCopy()
2525 *psNdefMap->NumOfBytesRead = psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_RemainingReadDataCopy()
2529 else if (psNdefMap->ApduBuffIndex == psNdefMap->ApduBufferSize) in phFriNfc_Tpz_H_RemainingReadDataCopy()
2532 *psNdefMap->NumOfBytesRead = psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_RemainingReadDataCopy()
2580 psNdefMap->ApduBuffIndex); in phFriNfc_Tpz_H_CopyReadData()
2683 (exact_copy_length - psNdefMap->ApduBuffIndex)) && in phFriNfc_Tpz_H_CopyReadData()
2684 (exact_copy_length != psNdefMap->ApduBuffIndex)) in phFriNfc_Tpz_H_CopyReadData()
2687 psNdefMap->ApduBuffIndex); in phFriNfc_Tpz_H_CopyReadData()
2690 if (exact_copy_length != psNdefMap->ApduBuffIndex) in phFriNfc_Tpz_H_CopyReadData()
2693 psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_CopyReadData()
2700 (exact_copy_length - psNdefMap->ApduBuffIndex)) in phFriNfc_Tpz_H_CopyReadData()
2725 psNdefMap->ApduBuffIndex = (uint16_t)(psNdefMap->ApduBuffIndex + in phFriNfc_Tpz_H_CopyReadData()
2738 if (actual_ndef_length > (psNdefMap->ApduBuffIndex + in phFriNfc_Tpz_H_CopyReadData()
2743 psNdefMap->ApduBuffIndex)) ? in phFriNfc_Tpz_H_CopyReadData()
2745 psNdefMap->ApduBuffIndex) : in phFriNfc_Tpz_H_CopyReadData()
2782 if (exact_copy_length != psNdefMap->ApduBuffIndex) in phFriNfc_Tpz_H_CopyReadData()
2799 *psNdefMap->NumOfBytesRead = psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_CopyReadData()
2800 if (psNdefMap->ApduBuffIndex == actual_ndef_length) in phFriNfc_Tpz_H_CopyReadData()
2808 psNdefMap->ApduBuffIndex); in phFriNfc_Tpz_H_CopyReadData()
3250 (write_len != psNdefMap->ApduBuffIndex)) in phFriNfc_Tpz_H_CopyReadDataAndWrite()
3260 psNdefMap->ApduBuffer[psNdefMap->ApduBuffIndex]; in phFriNfc_Tpz_H_CopyReadDataAndWrite()
3263 psNdefMap->ApduBuffIndex = (uint16_t) in phFriNfc_Tpz_H_CopyReadDataAndWrite()
3264 (psNdefMap->ApduBuffIndex + 1); in phFriNfc_Tpz_H_CopyReadDataAndWrite()
3287 if (psNdefMap->ApduBuffIndex == write_len) in phFriNfc_Tpz_H_CopyReadDataAndWrite()
3393 psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_UpdateLenFieldValuesAfterRead()
3409 (psNdefMap->ApduBuffIndex >> BYTE_SIZE); in phFriNfc_Tpz_H_UpdateLenFieldValuesAfterRead()
3417 (psNdefMap->ApduBuffIndex & in phFriNfc_Tpz_H_UpdateLenFieldValuesAfterRead()
3517 prev_apdu_index = psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3545 (write_len != psNdefMap->ApduBuffIndex)) in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3595 psNdefMap->ApduBuffer[psNdefMap->ApduBuffIndex]; in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3598 psNdefMap->ApduBuffIndex = (uint16_t) in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3599 (psNdefMap->ApduBuffIndex + 1); in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3630 if (psNdefMap->ApduBuffIndex == write_len) in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3637 psNdefMap->ApduBuffIndex)) in phFriNfc_Tpz_H_UpdateLenFieldZeroAfterRead()
3854 if ((write_len - psNdefMap->ApduBuffIndex) >= (uint16_t)TOPAZ_WRITE_8_DATA_LENGTH) in phFriNfc_Tpz_H_CopySendWrData()
3858 (void *)(psNdefMap->ApduBuffer + psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_CopySendWrData()
3861 psNdefMap->ApduBuffIndex = (uint16_t)(psNdefMap->ApduBuffIndex + in phFriNfc_Tpz_H_CopySendWrData()
3866 copy_length = (uint8_t)(write_len - psNdefMap->ApduBuffIndex); in phFriNfc_Tpz_H_CopySendWrData()
3869 (void *)(psNdefMap->ApduBuffer + psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_CopySendWrData()
3872 psNdefMap->ApduBuffIndex = (uint16_t)(psNdefMap->ApduBuffIndex + in phFriNfc_Tpz_H_CopySendWrData()