Lines Matching refs:parse_index
180 #define TOPAZ_BYTE_ADR_FROM_SEG(seg, parse_index) \
181 (((seg) * TOPAZ_SEGMENT_READ_LENGTH) + (parse_index))
2287 uint16_t parse_index = 0;
2289 parse_index = (uint16_t)(parse_index + TOPAZ_UID_BYTES_LENGTH);
2292 (void *)(p_recv_buf + parse_index),
2296 parse_index = 0;
2300 if ((PH_FRINFC_TOPAZ_CC_BYTE0 == p_recv_buf[parse_index])
2302 || (0 == p_recv_buf[parse_index])
2307 parse_index = (uint16_t)(parse_index + 1);
2309 result = phFriNfc_Tpz_H_ChkSpcVer (psNdefMap, p_recv_buf[parse_index]);
2321 parse_index = (uint16_t)(parse_index + 1);
2323 if (PH_FRINFC_TOPAZ_DYNAMIC_CC_BYTE2_MMSIZE == p_recv_buf[parse_index])
2326 psNdefMap->CardMemSize = (uint16_t)((p_recv_buf[parse_index] *
2824 uint16_t parse_index = 0;
2861 parse_index = (uint16_t)(TOPAZ_UID_BYTES_LENGTH +
2869 while ((parse_index < recv_length) && (NFCSTATUS_SUCCESS == result) &&
2876 byte_addr = TOPAZ_BYTE_ADR_FROM_SEG (ps_tpz_info->CurrentSeg, parse_index);
2883 if ((recv_length - parse_index) >= skip_size)
2885 parse_index = (uint16_t)(parse_index + skip_size);
2890 parse_index = (uint16_t)(parse_index + (recv_length -
2891 parse_index));
2893 parse_index));
2905 &parse_index, recv_length, &expected_seq);
2914 if (TOPAZ_MEM_LOCK_TLV_LENGTH != p_recv_buf[parse_index])
2921 parse_index = (uint16_t)(parse_index + 1);
2930 lock_mem_buf[lock_mem_ndef_index] = p_recv_buf[parse_index];
2931 parse_index = (uint16_t)(parse_index + 1);
2955 &parse_index, recv_length, &expected_seq);
2963 if (TOPAZ_MEM_LOCK_TLV_LENGTH != p_recv_buf[parse_index])
2970 parse_index = (uint16_t)(parse_index + 1);
2980 lock_mem_buf[lock_mem_ndef_index] = p_recv_buf[parse_index];
2981 parse_index = (uint16_t)(parse_index + 1);
2989 ps_tpz_info->CurrentSeg , parse_index);
3003 &parse_index, recv_length, &expected_seq);
3017 (parse_index - 1));
3024 lock_mem_buf[lock_mem_ndef_index] = p_recv_buf[parse_index];
3025 parse_index = (uint16_t)(parse_index + 1);
3037 else if (p_recv_buf[parse_index] <=
3038 (ps_tpz_info->RemainingSize - (parse_index + 1)))
3042 if (0xFF == p_recv_buf[parse_index])
3045 p_recv_buf[parse_index];
3054 p_recv_buf[parse_index];
3058 parse_index = (uint16_t)(parse_index + 1);
3077 } /* while ((parse_index < recv_length) && (NFCSTATUS_SUCCESS != result) &&
3087 (parse_index + TOPAZ_STATIC_LOCK_RES_BYTES));
3093 parse_index);
3961 uint16_t parse_index = *p_parse_index;
3967 switch (p_parse_data[parse_index])
3972 parse_index = (parse_index + 1);
3979 parse_index = (parse_index + 1);
3993 *p_parse_index = parse_index;
4007 uint16_t parse_index = *p_parse_index;
4013 switch (p_parse_data[parse_index])
4018 parse_index = (parse_index + 1);
4025 parse_index = (parse_index + 1);
4032 parse_index = (parse_index + 1);
4045 *p_parse_index = parse_index;
4059 uint16_t parse_index = *p_parse_index;
4065 switch (p_parse_data[parse_index])
4073 parse_index = (parse_index + 1);
4081 parse_index = (parse_index + 1);
4090 parse_index = (parse_index + 1);
4105 *p_parse_index = parse_index;