Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport.c63 if((psTransport->pCachedServiceNames[i].sServiceName.length > 0) && in phFriNfc_LlcpTransport_GetFreeSap()
64 …(memcmp(psTransport->pCachedServiceNames[i].sServiceName.buffer, psServiceName->buffer, psServiceN… in phFriNfc_LlcpTransport_GetFreeSap()
209 (pServiceName->length == pSocket->sServiceName.length) in phFriNfc_LlcpTransport_ServiceNameLoockup()
210 && !memcmp(pServiceName->buffer, pSocket->sServiceName.buffer, pServiceName->length)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
216 if (pCachedServiceName->sServiceName.buffer != NULL) in phFriNfc_LlcpTransport_ServiceNameLoockup()
218 if ((pCachedServiceName->sServiceName.length == pServiceName->length) && in phFriNfc_LlcpTransport_ServiceNameLoockup()
219 …(memcmp(pCachedServiceName->sServiceName.buffer, pServiceName->buffer, pServiceName->length) == 0)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
231 pCachedServiceName->sServiceName.buffer = phOsalNfc_GetMemory(pServiceName->length); in phFriNfc_LlcpTransport_ServiceNameLoockup()
232 if (pCachedServiceName->sServiceName.buffer == NULL) in phFriNfc_LlcpTransport_ServiceNameLoockup()
237 … memcpy(pCachedServiceName->sServiceName.buffer, pServiceName->buffer, pServiceName->length); in phFriNfc_LlcpTransport_ServiceNameLoockup()
[all …]
DphFriNfc_LlcpTransport_Connectionless.c208 if (pLlcpSocket->sServiceName.buffer != NULL) { in phFriNfc_LlcpTransport_Connectionless_Close()
209 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer); in phFriNfc_LlcpTransport_Connectionless_Close()
211 pLlcpSocket->sServiceName.buffer = NULL; in phFriNfc_LlcpTransport_Connectionless_Close()
212 pLlcpSocket->sServiceName.length = 0; in phFriNfc_LlcpTransport_Connectionless_Close()
DphFriNfc_LlcpTransport_Connection.c477 phNfc_sData_t sServiceName; in Handle_ConnectionFrame() local
482 &sServiceName, in Handle_ConnectionFrame()
513 && (sServiceName.length == psTransport->pSocketTable[index].sServiceName.length) in Handle_ConnectionFrame()
514 …&& !memcmp(sServiceName.buffer,psTransport->pSocketTable[index].sServiceName.buffer,sServiceName.l… in Handle_ConnectionFrame()
2117 if (pLlcpSocket->sServiceName.buffer != NULL) { in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2118 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer); in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2120 pLlcpSocket->sServiceName.buffer = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2121 pLlcpSocket->sServiceName.length = 0; in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2181 if (pLlcpSocket->sServiceName.buffer != NULL) { in phFriNfc_LlcpTransport_ConnectionOriented_Close()
2182 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer); in phFriNfc_LlcpTransport_ConnectionOriented_Close()
[all …]
DphFriNfc_LlcpTransport.h167 phNfc_sData_t sServiceName; member
240 phNfc_sData_t sServiceName; member