Lines Matching refs:nRet
60 int nRet=0; in osl_createMutex() local
71 nRet = pthread_mutexattr_settype(&aMutexAttr, PTHREAD_MUTEX_RECURSIVE); in osl_createMutex()
73 nRet = pthread_mutex_init(&(pMutex->mutex), &aMutexAttr); in osl_createMutex()
74 if ( nRet != 0 ) in osl_createMutex()
77 nRet, strerror(nRet)); in osl_createMutex()
99 int nRet=0; in osl_destroyMutex() local
101 nRet = pthread_mutex_destroy(&(pMutex->mutex)); in osl_destroyMutex()
102 if ( nRet != 0 ) in osl_destroyMutex()
105 nRet, strerror(nRet)); in osl_destroyMutex()
125 int nRet=0; in osl_acquireMutex() local
127 nRet = pthread_mutex_lock(&(pMutex->mutex)); in osl_acquireMutex()
128 if ( nRet != 0 ) in osl_acquireMutex()
131 nRet, strerror(nRet)); in osl_acquireMutex()
152 int nRet = 0; in osl_tryToAcquireMutex() local
153 nRet = pthread_mutex_trylock(&(pMutex->mutex)); in osl_tryToAcquireMutex()
154 if ( nRet != 0 ) in osl_tryToAcquireMutex()
175 int nRet=0; in osl_releaseMutex() local
176 nRet = pthread_mutex_unlock(&(pMutex->mutex)); in osl_releaseMutex()
177 if ( nRet != 0 ) in osl_releaseMutex()
180 nRet, strerror(nRet)); in osl_releaseMutex()