Searched refs:pList (Results 1 – 6 of 6) sorted by relevance
/hardware/nxp/nfc/pn8x/halimpl/utils/ |
D | phNxpNciHal_utils.cc | 37 int listInit(struct listHead* pList) { in listInit() argument 38 pList->pFirst = NULL; in listInit() 39 if (pthread_mutex_init(&pList->mutex, NULL) != 0) { in listInit() 56 int listDestroy(struct listHead* pList) { in listDestroy() argument 59 bListNotEmpty = listGetAndRemoveNext(pList, NULL); in listDestroy() 62 if (pthread_mutex_destroy(&pList->mutex) != 0) { in listDestroy() 79 int listAdd(struct listHead* pList, void* pData) { in listAdd() argument 93 pthread_mutex_lock(&pList->mutex); in listAdd() 96 if (pList->pFirst == NULL) { in listAdd() 98 pList->pFirst = pNode; in listAdd() [all …]
|
D | phNxpNciHal_utils.h | 72 int listInit(struct listHead* pList); 73 int listDestroy(struct listHead* pList); 74 int listAdd(struct listHead* pList, void* pData); 75 int listRemove(struct listHead* pList, void* pData); 76 int listGetAndRemoveNext(struct listHead* pList, void** ppData); 77 void listDump(struct listHead* pList);
|
/hardware/nxp/nfc/snxxx/halimpl/utils/ |
D | phNxpNciHal_utils.cc | 39 int listInit(struct listHead* pList) { in listInit() argument 40 pList->pFirst = NULL; in listInit() 41 if (pthread_mutex_init(&pList->mutex, NULL) != 0) { in listInit() 58 int listDestroy(struct listHead* pList) { in listDestroy() argument 61 bListNotEmpty = listGetAndRemoveNext(pList, NULL); in listDestroy() 64 if (pthread_mutex_destroy(&pList->mutex) == -1) { in listDestroy() 81 int listAdd(struct listHead* pList, void* pData) { in listAdd() argument 95 pthread_mutex_lock(&pList->mutex); in listAdd() 98 if (pList->pFirst == NULL) { in listAdd() 100 pList->pFirst = pNode; in listAdd() [all …]
|
D | phNxpNciHal_utils.h | 84 int listInit(struct listHead* pList); 85 int listDestroy(struct listHead* pList); 86 int listAdd(struct listHead* pList, void* pData); 87 int listRemove(struct listHead* pList, void* pData); 88 int listGetAndRemoveNext(struct listHead* pList, void** ppData); 89 void listDump(struct listHead* pList);
|
/hardware/nxp/uwb/halimpl/utils/ |
D | phNxpUciHal_utils.cc | 39 int listInit(struct listHead* pList) { in listInit() argument 40 pList->pFirst = NULL; in listInit() 41 if (pthread_mutex_init(&pList->mutex, NULL) == -1) { in listInit() 58 int listDestroy(struct listHead* pList) { in listDestroy() argument 61 bListNotEmpty = listGetAndRemoveNext(pList, NULL); in listDestroy() 64 if (pthread_mutex_destroy(&pList->mutex) == -1) { in listDestroy() 81 int listAdd(struct listHead* pList, void* pData) { in listAdd() argument 95 pthread_mutex_lock(&pList->mutex); in listAdd() 98 if (pList->pFirst == NULL) { in listAdd() 100 pList->pFirst = pNode; in listAdd() [all …]
|
D | phNxpUciHal_utils.h | 98 int listInit(struct listHead* pList); 99 int listDestroy(struct listHead* pList); 100 int listAdd(struct listHead* pList, void* pData); 101 int listRemove(struct listHead* pList, void* pData); 102 int listGetAndRemoveNext(struct listHead* pList, void** ppData); 103 void listDump(struct listHead* pList);
|