Searched refs:ok (Results 1 – 5 of 5) sorted by relevance
97 int ok = 1; in pthread_cond_destroy() local98 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()99 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()100 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()101 return !ok; in pthread_cond_destroy()120 int ok = 1; in pthread_cond_signal() local123 ok = SetEvent(condition->signal_event_); in pthread_cond_signal()126 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != in pthread_cond_signal()129 return !ok; in pthread_cond_signal()134 int ok; in pthread_cond_wait() local[all …]
87 int ok = 1; in vp9_worker_reset() local96 ok = !pthread_create(&worker->thread_, NULL, thread_loop, worker); in vp9_worker_reset()97 if (ok) worker->status_ = OK; in vp9_worker_reset()103 ok = vp9_worker_sync(worker); in vp9_worker_reset()105 assert(!ok || (worker->status_ == OK)); in vp9_worker_reset()106 return ok; in vp9_worker_reset()
554 bool ok = false; in assignPrimaryPlane() local558 ok = assignPrimaryPlaneHelper(spriteLayer); in assignPrimaryPlane()559 if (!ok) { in assignPrimaryPlane()564 ok = assignPrimaryPlaneHelper(mFrameBufferTarget, 0); in assignPrimaryPlane()565 if (!ok) { in assignPrimaryPlane()570 ok = attachPlanes(); in assignPrimaryPlane()571 if (!ok) { in assignPrimaryPlane()577 for (int i = 0; i < layers && !ok; i++) { in assignPrimaryPlane()582 ok = assignPrimaryPlaneHelper(mFrameBufferTarget, mFBLayers[i]->getZOrder()); in assignPrimaryPlane()583 if (!ok) { in assignPrimaryPlane()[all …]
485 bool ok = false; in assignPrimaryPlane() local489 ok = assignPrimaryPlaneHelper(spriteLayer); in assignPrimaryPlane()490 if (!ok) { in assignPrimaryPlane()495 ok = assignPrimaryPlaneHelper(mFrameBufferTarget, 0); in assignPrimaryPlane()496 if (!ok) { in assignPrimaryPlane()501 ok = attachPlanes(); in assignPrimaryPlane()502 if (!ok) { in assignPrimaryPlane()508 for (int i = 0; i < layers && !ok; i++) { in assignPrimaryPlane()513 ok = assignPrimaryPlaneHelper(mFrameBufferTarget, mFBLayers[i]->getZOrder()); in assignPrimaryPlane()514 if (!ok) { in assignPrimaryPlane()[all …]
52 ok = self.returncode in self._expected_returncode54 ok = self.returncode == self._expected_returncode55 if not ok: