Home
last modified time | relevance | path

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

/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_list.cpp26 bool listInit(listHead* pList) in listInit() argument
28 pList->pFirst = NULL; in listInit()
29 if(pthread_mutex_init(&pList->mutex, NULL) == -1) in listInit()
38 bool listDestroy(listHead* pList) in listDestroy() argument
42 bListNotEmpty = listGetAndRemoveNext(pList, NULL); in listDestroy()
45 if(pthread_mutex_destroy(&pList->mutex) == -1) in listDestroy()
54 bool listAdd(listHead* pList, void* pData) in listAdd() argument
72 pthread_mutex_lock(&pList->mutex); in listAdd()
75 if (pList->pFirst == NULL) in listAdd()
78 pList->pFirst = pNode; in listAdd()
[all …]
Dcom_android_nfc_list.h38 bool listInit(listHead* pList);
39 bool listDestroy(listHead* pList);
40 bool listAdd(listHead* pList, void* pData);
41 bool listRemove(listHead* pList, void* pData);
42 bool listGetAndRemoveNext(listHead* pList, void** ppData);
43 void listDump(listHead* pList);