Lines Matching refs:ok

46     int ok;  in object_lock_exclusive_()  local
47 ok = pthread_mutex_trylock(&thiz->mMutex); in object_lock_exclusive_()
48 if (0 != ok) { in object_lock_exclusive_()
59 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts); in object_lock_exclusive_()
60 if (0 == ok) { in object_lock_exclusive_()
63 if (EBUSY == ok) { in object_lock_exclusive_()
65 } else if (EDEADLK == ok) { in object_lock_exclusive_()
70 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); in object_lock_exclusive_()
92 ok = pthread_mutex_lock(&thiz->mMutex); in object_lock_exclusive_()
93 assert(0 == ok); in object_lock_exclusive_()
125 int ok; in object_lock_exclusive() local
126 ok = pthread_mutex_lock(&thiz->mMutex); in object_lock_exclusive()
127 assert(0 == ok); in object_lock_exclusive()
143 int ok; in object_unlock_exclusive_() local
144 ok = pthread_mutex_unlock(&thiz->mMutex); in object_unlock_exclusive_()
145 assert(0 == ok); in object_unlock_exclusive_()
150 int ok; in object_unlock_exclusive() local
151 ok = pthread_mutex_unlock(&thiz->mMutex); in object_unlock_exclusive()
152 assert(0 == ok); in object_unlock_exclusive()
175 int ok; in object_unlock_exclusive_attributes_() local
241 ok = pthread_mutex_unlock(&thiz->mMutex); in object_unlock_exclusive_attributes_()
242 assert(0 == ok); in object_unlock_exclusive_attributes_()
298 int ok; in object_cond_wait_() local
299 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex); in object_cond_wait_()
300 assert(0 == ok); in object_cond_wait_()
309 int ok; in object_cond_wait() local
310 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex); in object_cond_wait()
311 assert(0 == ok); in object_cond_wait()
320 int ok; in object_cond_signal() local
321 ok = pthread_cond_signal(&thiz->mCond); in object_cond_signal()
322 assert(0 == ok); in object_cond_signal()
332 int ok; in object_cond_broadcast() local
333 ok = pthread_cond_broadcast(&thiz->mCond); in object_cond_broadcast()
334 assert(0 == ok); in object_cond_broadcast()