Home | History | Annotate | Download | only in src

Lines Matching refs:ok

36     int ok;
37 ok = pthread_mutex_trylock(&thiz->mMutex);
38 if (0 != ok) {
46 ok = pthread_mutex_lock_timeout_np(&thiz->mMutex, backoffs[i]);
47 if (0 == ok) {
50 if (EBUSY == ok) {
52 } else if (EDEADLK == ok) {
57 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok);
79 ok = pthread_mutex_lock(&thiz->mMutex);
80 assert(0 == ok);
112 int ok;
113 ok = pthread_mutex_lock(&thiz->mMutex);
114 assert(0 == ok);
130 int ok;
131 ok = pthread_mutex_unlock(&thiz->mMutex);
132 assert(0 == ok);
137 int ok;
138 ok = pthread_mutex_unlock(&thiz->mMutex);
139 assert(0 == ok);
162 int ok;
228 ok = pthread_mutex_unlock(&thiz->mMutex);
229 assert(0 == ok);
285 int ok;
286 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
287 assert(0 == ok);
296 int ok;
297 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
298 assert(0 == ok);
307 int ok;
308 ok = pthread_cond_signal(&thiz->mCond);
309 assert(0 == ok);
319 int ok;
320 ok = pthread_cond_broadcast(&thiz->mCond);
321 assert(0 == ok);