Home
last modified time | relevance | path

Searched refs:sem_ (Results 1 – 22 of 22) sorted by relevance

/third_party/flutter/engine/flutter/fml/synchronization/
Dsemaphore.cc105 : valid_(::sem_init(&sem_, 0 /* not shared */, count) == 0) {} in PlatformSemaphore()
109 int result = ::sem_destroy(&sem_); in ~PlatformSemaphore()
123 return FML_HANDLE_EINTR(::sem_trywait(&sem_)) == 0; in TryWait()
131 ::sem_post(&sem_); in Signal()
138 sem_t sem_; member in fml::PlatformSemaphore
/third_party/skia/third_party/externals/tint/src/
Dprogram.cc42 sem_(std::move(program.sem_)), in Program()
67 sem_ = std::move(builder.Sem()); in Program()
92 sem_ = std::move(program.sem_); in operator =()
Dprogram_builder.cc39 sem_(std::move(rhs.sem_)), in ProgramBuilder()
56 sem_ = std::move(rhs.sem_); in operator =()
69 builder.sem_ = sem::Info::Wrap(program->Sem()); in Wrap()
Dprogram.h96 return sem_; in Sem()
184 sem::Info sem_; variable
Dprogram_builder.h255 return sem_; in Sem()
261 return sem_; in Sem()
2560 sem::Info sem_; variable
/third_party/libuv/src/unix/
Dthread.c546 static int uv__custom_sem_init(uv_sem_t* sem_, unsigned int value) { in uv__custom_sem_init() argument
566 *(uv_semaphore_t**)sem_ = sem; in uv__custom_sem_init()
571 static void uv__custom_sem_destroy(uv_sem_t* sem_) { in uv__custom_sem_destroy() argument
574 sem = *(uv_semaphore_t**)sem_; in uv__custom_sem_destroy()
581 static void uv__custom_sem_post(uv_sem_t* sem_) { in uv__custom_sem_post() argument
584 sem = *(uv_semaphore_t**)sem_; in uv__custom_sem_post()
593 static void uv__custom_sem_wait(uv_sem_t* sem_) { in uv__custom_sem_wait() argument
596 sem = *(uv_semaphore_t**)sem_; in uv__custom_sem_wait()
605 static int uv__custom_sem_trywait(uv_sem_t* sem_) { in uv__custom_sem_trywait() argument
608 sem = *(uv_semaphore_t**)sem_; in uv__custom_sem_trywait()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc237 if (sem_init(&sem_, 0, 0) != 0) { in Waiter()
244 if (sem_destroy(&sem_) != 0) { in ~Waiter()
275 if (sem_wait(&sem_) == 0) break; in Wait()
279 if (sem_timedwait(&sem_, &abs_timeout) == 0) break; in Wait()
298 if (sem_post(&sem_) != 0) { // Wake any semaphore waiter. in Poke()
Dwaiter.h125 sem_t sem_;
/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc301 if (sem_init(&sem_, 0, 0) != 0) { in Waiter()
308 if (sem_destroy(&sem_) != 0) { in ~Waiter()
339 if (sem_wait(&sem_) == 0) break; in Wait()
343 if (sem_timedwait(&sem_, &abs_timeout) == 0) break; in Wait()
362 if (sem_post(&sem_) != 0) { // Wake any semaphore waiter. in Poke()
Dwaiter.h129 sem_t sem_;
/third_party/node/src/
Dnode_watchdog.cc229 uv_sem_wait(&instance.sem_); in RunSigintWatchdog()
239 uv_sem_post(&instance.sem_); in HandleSignal()
352 uv_sem_post(&sem_); in Stop()
398 CHECK_EQ(0, uv_sem_init(&sem_, 0)); in SigintWatchdogHelper()
411 uv_sem_destroy(&sem_); in ~SigintWatchdogHelper()
Dnode_watchdog.h136 uv_sem_t sem_; variable
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
Dcln.sh2 rm -f /tmp/sem_* >/dev/null 2>&1
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dtask_manager.h98 (void)sem_post(&tm.sem_); in WakeUpWatchDog()
118 sem_t sem_; variable
Dtask_manager.cc130 errno_t rc = sem_init(&sem_, 0, 0); in TaskManager()
152 (void)sem_destroy(&sem_); in ~TaskManager()
188 errno_t err = sem_wait(&sem_); in WatchDog()
DREADME.md234 errno_t err = sem_wait(&sem_);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/
Dcln.sh3 rm -f /tmp/sem_* >/dev/null 2>&1
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
Dcln.sh3 rm -f /tmp/sem_* >/dev/null 2>&1
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
Dcln.sh3 rm -f /tmp/sem_* >/dev/null 2>&1
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
Dcln.sh3 rm -f /tmp/sem_* >/dev/null 2>&1
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/
Dcln.sh3 rm -f /tmp/sem_* >/dev/null 2>&1
/third_party/NuttX/
DReleaseNotes15643 internal functions with the sem_* prefix became nxsem_*, sig* become