Home
last modified time | relevance | path

Searched refs:actual_sect_index (Results 1 – 1 of 1) sorted by relevance

/external/libnfc-nxp/src/
DphFriNfc_NdefMap.c1243 uint8_t actual_sect_index = 0; in phFriNfc_NdefMap_GetContainerSize() local
1330 actual_sect_index++; in phFriNfc_NdefMap_GetContainerSize()
1352 if (actual_sect_index > 32) in phFriNfc_NdefMap_GetContainerSize()
1354 sect_index = (actual_sect_index - 32); in phFriNfc_NdefMap_GetContainerSize()
1367 else if (actual_sect_index <= 16) in phFriNfc_NdefMap_GetContainerSize()
1369 *maxSize = (((actual_sect_index - 1) * (16 * 3)) - 4); in phFriNfc_NdefMap_GetContainerSize()
1373 *maxSize = (((actual_sect_index - 2) * (16 * 3)) - 4); in phFriNfc_NdefMap_GetContainerSize()
1380 if (actual_sect_index > NdefMap->StdMifareContainer.SectorIndex) in phFriNfc_NdefMap_GetContainerSize()
1382 actual_sect_index = NdefMap->StdMifareContainer.SectorIndex; in phFriNfc_NdefMap_GetContainerSize()
1384 *maxSize = (((actual_sect_index - 1) * (16 * 3)) - 4); in phFriNfc_NdefMap_GetContainerSize()