Home | History | Annotate | Download | only in src

Lines Matching defs:ok

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