/third_party/flutter/engine/flutter/fml/synchronization/ |
D | semaphore.cc | 105 : 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/ |
D | program.cc | 42 sem_(std::move(program.sem_)), in Program() 67 sem_ = std::move(builder.Sem()); in Program() 92 sem_ = std::move(program.sem_); in operator =()
|
D | program_builder.cc | 39 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()
|
D | program.h | 96 return sem_; in Sem() 184 sem::Info sem_; variable
|
D | program_builder.h | 255 return sem_; in Sem() 261 return sem_; in Sem() 2560 sem::Info sem_; variable
|
/third_party/libuv/src/unix/ |
D | thread.c | 546 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/ |
D | waiter.cc | 237 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()
|
D | waiter.h | 125 sem_t sem_;
|
/third_party/abseil-cpp/absl/synchronization/internal/ |
D | waiter.cc | 301 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()
|
D | waiter.h | 129 sem_t sem_;
|
/third_party/node/src/ |
D | node_watchdog.cc | 229 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()
|
D | node_watchdog.h | 136 uv_sem_t sem_; variable
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/ |
D | cln.sh | 2 rm -f /tmp/sem_* >/dev/null 2>&1
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | task_manager.h | 98 (void)sem_post(&tm.sem_); in WakeUpWatchDog() 118 sem_t sem_; variable
|
D | task_manager.cc | 130 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()
|
D | README.md | 234 errno_t err = sem_wait(&sem_);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/ |
D | cln.sh | 3 rm -f /tmp/sem_* >/dev/null 2>&1
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | cln.sh | 3 rm -f /tmp/sem_* >/dev/null 2>&1
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/ |
D | cln.sh | 3 rm -f /tmp/sem_* >/dev/null 2>&1
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | cln.sh | 3 rm -f /tmp/sem_* >/dev/null 2>&1
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/ |
D | cln.sh | 3 rm -f /tmp/sem_* >/dev/null 2>&1
|
/third_party/NuttX/ |
D | ReleaseNotes | 15643 internal functions with the sem_* prefix became nxsem_*, sig* become
|