HomeSort by relevance Sort by last modified time
    Searched full:pmutex (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/net/third_party/nss/ssl/
sslmutex.c 12 static SECStatus single_process_sslMutex_Init(sslMutex* pMutex)
14 PR_ASSERT(pMutex != 0 && pMutex->u.sslLock == 0 );
16 pMutex->u.sslLock = PR_NewLock();
17 if (!pMutex->u.sslLock) {
23 static SECStatus single_process_sslMutex_Destroy(sslMutex* pMutex)
25 PR_ASSERT(pMutex != 0);
26 PR_ASSERT(pMutex->u.sslLock!= 0);
27 if (!pMutex->u.sslLock) {
31 PR_DestroyLock(pMutex->u.sslLock)
    [all...]
  /hardware/ti/omap4xxx/security/tf_crypto_sst/
lib_mutex_linux.c 37 void libMutexInit(LIB_MUTEX* pMutex)
39 pthread_mutex_init(pMutex, NULL);
43 void libMutexLock(LIB_MUTEX* pMutex)
45 pthread_mutex_lock(pMutex);
48 void libMutexUnlock(LIB_MUTEX* pMutex)
50 pthread_mutex_unlock(pMutex);
53 void libMutexDestroy(LIB_MUTEX* pMutex)
55 pthread_mutex_destroy(pMutex);
lib_mutex.h 80 void libMutexInit(LIB_MUTEX* pMutex);
85 void libMutexLock(LIB_MUTEX* pMutex);
90 void libMutexUnlock(LIB_MUTEX* pMutex);
95 void libMutexDestroy(LIB_MUTEX* pMutex);
  /hardware/ti/omap4xxx/domx/mm_osal/src/
timm_osal_mutex.c 73 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexCreate(TIMM_OSAL_PTR * pMutex)
94 /**pMutex = (TIMM_OSAL_PTR *)plMutex;*/
95 *pMutex = (TIMM_OSAL_PTR) plMutex;
110 /*return TIMM_OSAL_SemaphoreCreate(pMutex, 1);*/
121 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexDelete(TIMM_OSAL_PTR pMutex)
124 pthread_mutex_t *plMutex = (pthread_mutex_t *) pMutex;
142 /*return TIMM_OSAL_SemaphoreDelete(pMutex);*/
155 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexObtain(TIMM_OSAL_PTR pMutex,
162 pthread_mutex_t *plMutex = (pthread_mutex_t *) pMutex;
208 /*return TIMM_OSAL_SemaphoreObtain(pMutex, uTimeOut);*
    [all...]
  /external/chromium_org/third_party/icu/source/common/
umutex.h 66 #define UMTX_CHECK(pMutex, expression, result) \
71 #define UMTX_CHECK(pMutex, expression, result) \
72 umtx_lock(pMutex); \
74 umtx_unlock(pMutex)
  /hardware/ti/omap4xxx/domx/mm_osal/inc/
timm_osal_mutex.h 61 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexCreate(TIMM_OSAL_PTR * pMutex);
62 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexDelete(TIMM_OSAL_PTR pMutex);
63 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexObtain(TIMM_OSAL_PTR pMutex,
65 TIMM_OSAL_ERRORTYPE TIMM_OSAL_MutexRelease(TIMM_OSAL_PTR pMutex);
  /dalvik/vm/
Thread.h 421 INLINE void dvmInitMutex(pthread_mutex_t* pMutex)
430 pthread_mutex_init(pMutex, &attr);
433 pthread_mutex_init(pMutex, NULL); // default=PTHREAD_MUTEX_FAST_NP
440 INLINE void dvmLockMutex(pthread_mutex_t* pMutex)
442 int cc __attribute__ ((__unused__)) = pthread_mutex_lock(pMutex);
449 INLINE int dvmTryLockMutex(pthread_mutex_t* pMutex)
451 int cc = pthread_mutex_trylock(pMutex);
459 INLINE void dvmUnlockMutex(pthread_mutex_t* pMutex)
461 int cc __attribute__ ((__unused__)) = pthread_mutex_unlock(pMutex);
468 INLINE void dvmDestroyMutex(pthread_mutex_t* pMutex)
    [all...]
Debugger.h 111 void dvmDbgInitMutex(pthread_mutex_t* pMutex);
112 void dvmDbgLockMutex(pthread_mutex_t* pMutex);
113 void dvmDbgUnlockMutex(pthread_mutex_t* pMutex);
115 void dvmDbgCondWait(pthread_cond_t* pCond, pthread_mutex_t* pMutex);
Debugger.cpp 122 void dvmDbgInitMutex(pthread_mutex_t* pMutex)
124 dvmInitMutex(pMutex);
126 void dvmDbgLockMutex(pthread_mutex_t* pMutex)
128 dvmLockMutex(pMutex);
130 void dvmDbgUnlockMutex(pthread_mutex_t* pMutex)
132 dvmUnlockMutex(pMutex);
138 void dvmDbgCondWait(pthread_cond_t* pCond, pthread_mutex_t* pMutex)
140 int cc __attribute__ ((__unused__)) = pthread_cond_wait(pCond, pMutex);
    [all...]
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
ExynosVideoDecoder.c 118 pthread_mutex_t *pMutex = NULL;
145 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t));
146 if (pMutex == NULL) {
150 if (pthread_mutex_init(pMutex, NULL) != 0) {
151 free(pMutex);
154 pCtx->pInMutex = (void*)pMutex;
156 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t));
157 if (pMutex == NULL) {
161 if (pthread_mutex_init(pMutex, NULL) != 0) {
162 free(pMutex);
    [all...]
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
ExynosVideoEncoder.c 122 pthread_mutex_t *pMutex = NULL;
149 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t));
150 if (pMutex == NULL) {
154 if (pthread_mutex_init(pMutex, NULL) != 0) {
155 free(pMutex);
158 pCtx->pInMutex = (void*)pMutex;
160 pMutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t));
161 if (pMutex == NULL) {
165 if (pthread_mutex_init(pMutex, NULL) != 0) {
166 free(pMutex);
    [all...]
  /external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
gki_ulinux.c 90 pthread_mutex_t* pMutex; /* for android*/
109 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
111 p_pthread_info->pCond, p_pthread_info->pMutex);
219 UINT8 GKI_create_task (TASKPTR task_entry, UINT8 task_id, INT8 *taskname, UINT16 *stack, UINT16 stacksize, void* pCondVar, void* pMutex)
252 GKI_TRACE_3("GKI creating task %i, pCond/pMutex=%x/%x", task_id, pCondVar, pMutex);
263 gki_pthread_info[task_id].pMutex = (pthread_mutex_t*)pMutex;
655 if (p_pthread_info->pCond != NULL && p_pthread_info->pMutex != NULL) {
657 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex)
    [all...]
  /external/libnfc-nci/src/gki/ulinux/
gki_ulinux.c 89 pthread_mutex_t* pMutex; /* for android*/
106 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
108 p_pthread_info->pCond, p_pthread_info->pMutex);
216 UINT8 GKI_create_task (TASKPTR task_entry, UINT8 task_id, INT8 *taskname, UINT16 *stack, UINT16 stacksize, void* pCondVar, void* pMutex)
249 GKI_TRACE_3("GKI creating task %i, pCond/pMutex=%x/%x", task_id, pCondVar, pMutex);
260 gki_pthread_info[task_id].pMutex = (pthread_mutex_t*)pMutex;
633 if (p_pthread_info->pCond != NULL && p_pthread_info->pMutex != NULL) {
635 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex)
    [all...]
  /external/srec/portable/src/
ptimestamp.c 21 #include "pmutex.h"
ptimer.c 24 #include "pmutex.h"
pmemory_ext.c 24 #include "pmutex.h"
plog.c 36 #include "pmutex.h"
pmemory.c 30 #include "pmutex.h"
  /external/srec/portable/include/
pmutex.h 2 * pmutex.h *
  /external/chromium_org/third_party/sqlite/src/src/
test_multiplex.c 159 sqlite3_mutex *pMutex;
177 static void multiplexEnter(void){ sqlite3_mutex_enter(gMultiplex.pMutex); }
178 static void multiplexLeave(void){ sqlite3_mutex_leave(gMultiplex.pMutex); }
906 gMultiplex.pMutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST);
907 if( !gMultiplex.pMutex ){
912 sqlite3_mutex_free(gMultiplex.pMutex);
    [all...]
test_quota.c 151 sqlite3_mutex *pMutex;
164 static void quotaEnter(void){ sqlite3_mutex_enter(gQuota.pMutex); }
165 static void quotaLeave(void){ sqlite3_mutex_leave(gQuota.pMutex); }
581 gQuota.pMutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST);
582 if( !gQuota.pMutex ){
636 sqlite3_mutex_free(gQuota.pMutex);
  /external/icu4c/common/
umutex.h 113 #define UMTX_CHECK(pMutex, expression, result) \
  /hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
OMX_VideoDec_Utils.h     [all...]
  /hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
OMX_VideoDecoder.c 99 extern OMX_ERRORTYPE IncrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex);
100 extern OMX_ERRORTYPE DecrementCount (OMX_U8 * pCounter, pthread_mutex_t *pMutex);
    [all...]
OMX_VideoDec_Utils.c     [all...]

Completed in 612 milliseconds