• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/xz/src/common/

Lines Matching refs:ret

90 	int ret = sigprocmask(how, set, oset);
91 assert(ret == 0);
92 (void)ret;
146 int ret = pthread_sigmask(how, set, oset);
147 assert(ret == 0);
148 (void)ret;
163 const int ret = pthread_create(thread, NULL, func, arg);
166 return ret;
187 int ret = pthread_mutex_destroy(mutex);
188 assert(ret == 0);
189 (void)ret;
195 int ret = pthread_mutex_lock(mutex);
196 assert(ret == 0);
197 (void)ret;
203 int ret = pthread_mutex_unlock(mutex);
204 assert(ret == 0);
205 (void)ret;
232 int ret = pthread_condattr_setclock(
234 if (ret == 0)
235 ret = pthread_cond_init(&mycond->cond, &condattr);
239 if (ret == 0) {
259 int ret = pthread_cond_destroy(&cond->cond);
260 assert(ret == 0);
261 (void)ret;
267 int ret = pthread_cond_signal(&cond->cond);
268 assert(ret == 0);
269 (void)ret;
275 int ret = pthread_cond_wait(&cond->cond, mutex);
276 assert(ret == 0);
277 (void)ret;
286 int ret = pthread_cond_timedwait(&cond->cond, mutex, condtime);
287 assert(ret == 0 || ret == ETIMEDOUT);
288 return ret;
302 int ret = clock_gettime(cond->clk_id, &now);
303 assert(ret == 0);
304 (void)ret;
389 uintptr_t ret = _beginthreadex(NULL, 0, func, arg, 0, NULL);
390 if (ret == 0)
393 *thread = (HANDLE)ret;
400 int ret = 0;
403 ret = -1;
406 ret = -1;
408 return ret;
478 BOOL ret = SleepConditionVariableCS(cond, mutex, INFINITE);
479 assert(ret);
480 (void)ret;
497 DWORD ret = WaitForSingleObject(*cond, timeout);
498 assert(ret == WAIT_OBJECT_0 || ret == WAIT_TIMEOUT);
502 return ret == WAIT_TIMEOUT;
504 BOOL ret = SleepConditionVariableCS(cond, mutex, timeout);
505 assert(ret || GetLastError() == ERROR_TIMEOUT);
506 return !ret;