Lines Matching refs:a
32 #define AdapterMalloc(a) malloc(a) argument
33 #define AdapterFree(a) \ argument
35 if ((a) != nullptr) { \
36 (void) free((void *)(a)); \
37 a = nullptr; \
42 #define MutexDelete(a) pthread_mutex_destroy(a) argument
43 #define MutexAcquire(a, b) pthread_mutex_lock(a) argument
44 #define MutexRelease(a) pthread_mutex_unlock(a) argument
52 #define AdapterMalloc(a) OhosMalloc(MEM_TYPE_APPFMK_LSRAM, a) argument
53 #define AdapterFree(a) \ argument
55 if (a != nullptr) { \
56 (void) OhosFree((void *)a); \
57 a = nullptr; \
61 #define UI_Malloc(a) OhosMalloc(MEM_TYPE_APPFMK, a) argument
62 #define UI_Free(a) \ argument
64 if (a != nullptr) { \
65 (void) OhosFree((void *)a); \
66 a = nullptr; \
70 #define Malloc(a) malloc(a) argument
71 #define Free(a) \ argument
73 if (a != nullptr) { \
74 (void) free((void *)a); \
75 a = nullptr; \
80 #define MutexDelete(a) osMutexDelete(a) argument
81 #define MutexAcquire(a, b) osMutexAcquire(a, b) argument
82 #define MutexRelease(a) osMutexRelease(a) argument