Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport.c62 if((psTransport->pCachedServiceNames[i].sServiceName.length > 0) && in phFriNfc_LlcpTransport_GetFreeSap()
63 …(memcmp(psTransport->pCachedServiceNames[i].sServiceName.buffer, psServiceName->buffer, psServiceN… in phFriNfc_LlcpTransport_GetFreeSap()
208 (pServiceName->length == pSocket->sServiceName.length) in phFriNfc_LlcpTransport_ServiceNameLoockup()
209 && !memcmp(pServiceName->buffer, pSocket->sServiceName.buffer, pServiceName->length)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
215 if (pCachedServiceName->sServiceName.buffer != NULL) in phFriNfc_LlcpTransport_ServiceNameLoockup()
217 if ((pCachedServiceName->sServiceName.length == pServiceName->length) && in phFriNfc_LlcpTransport_ServiceNameLoockup()
218 …(memcmp(pCachedServiceName->sServiceName.buffer, pServiceName->buffer, pServiceName->length) == 0)) in phFriNfc_LlcpTransport_ServiceNameLoockup()
230 pCachedServiceName->sServiceName.buffer = phOsalNfc_GetMemory(pServiceName->length); in phFriNfc_LlcpTransport_ServiceNameLoockup()
231 if (pCachedServiceName->sServiceName.buffer == NULL) in phFriNfc_LlcpTransport_ServiceNameLoockup()
236 … memcpy(pCachedServiceName->sServiceName.buffer, pServiceName->buffer, pServiceName->length); in phFriNfc_LlcpTransport_ServiceNameLoockup()
[all …]
DphFriNfc_LlcpTransport_Connectionless.c205 if (pLlcpSocket->sServiceName.buffer != NULL) { in phFriNfc_LlcpTransport_Connectionless_Close()
206 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer); in phFriNfc_LlcpTransport_Connectionless_Close()
208 pLlcpSocket->sServiceName.buffer = NULL; in phFriNfc_LlcpTransport_Connectionless_Close()
209 pLlcpSocket->sServiceName.length = 0; in phFriNfc_LlcpTransport_Connectionless_Close()
DphFriNfc_LlcpTransport_Connection.c480 phNfc_sData_t sServiceName; in Handle_ConnectionFrame() local
485 &sServiceName, in Handle_ConnectionFrame()
516 && (sServiceName.length == psTransport->pSocketTable[index].sServiceName.length) in Handle_ConnectionFrame()
517 …&& !memcmp(sServiceName.buffer,psTransport->pSocketTable[index].sServiceName.buffer,sServiceName.l… in Handle_ConnectionFrame()
2113 if (pLlcpSocket->sServiceName.buffer != NULL) { in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2114 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer); in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2116 pLlcpSocket->sServiceName.buffer = NULL; in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2117 pLlcpSocket->sServiceName.length = 0; in phFriNfc_LlcpTransport_ConnectionOriented_DisconnectClose_CB()
2177 if (pLlcpSocket->sServiceName.buffer != NULL) { in phFriNfc_LlcpTransport_ConnectionOriented_Close()
2178 phOsalNfc_FreeMemory(pLlcpSocket->sServiceName.buffer); in phFriNfc_LlcpTransport_ConnectionOriented_Close()
[all …]
DphFriNfc_LlcpTransport.h166 phNfc_sData_t sServiceName; member
239 phNfc_sData_t sServiceName; member