Searched refs:native_handle_ (Results 1 – 8 of 8) sorted by relevance
/third_party/gn/src/util/ |
D | semaphore.cc | 19 native_handle_ = dispatch_semaphore_create(count); in Semaphore() 20 DCHECK(native_handle_); in Semaphore() 24 dispatch_release(native_handle_); in ~Semaphore() 28 dispatch_semaphore_signal(native_handle_); in Signal() 32 dispatch_semaphore_wait(native_handle_, DISPATCH_TIME_FOREVER); in Wait() 39 int result = sem_init(&native_handle_, 0, count); in Semaphore() 44 int result = sem_destroy(&native_handle_); in ~Semaphore() 49 int result = sem_post(&native_handle_); in Signal() 58 int result = sem_wait(&native_handle_); in Wait() 71 native_handle_ = ::CreateSemaphoreA(nullptr, count, 0x7FFFFFFF, nullptr); in Semaphore() [all …]
|
D | semaphore.h | 45 NativeHandle& native_handle() { return native_handle_; } in native_handle() 46 const NativeHandle& native_handle() const { return native_handle_; } in native_handle() 49 NativeHandle native_handle_;
|
/third_party/cef/libcef_dll/base/ |
D | cef_lock_impl.cc | 15 ::InitializeCriticalSectionAndSpinCount(&native_handle_, 2000); in LockImpl() 19 ::DeleteCriticalSection(&native_handle_); in ~LockImpl() 23 if (::TryEnterCriticalSection(&native_handle_) != FALSE) { in Try() 30 ::EnterCriticalSection(&native_handle_); in Lock() 34 ::LeaveCriticalSection(&native_handle_); in Unlock() 58 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl() 64 pthread_mutex_init(&native_handle_, NULL); in LockImpl() 69 int rv = pthread_mutex_destroy(&native_handle_); in ~LockImpl() 74 int rv = pthread_mutex_trylock(&native_handle_); in Try() 80 int rv = pthread_mutex_lock(&native_handle_); in Lock() [all …]
|
/third_party/boost/libs/asio/example/cpp11/handler_tracking/ |
D | custom_tracking.hpp | 69 std::uintmax_t native_handle_; // Native handle, if any. member 99 h.native_handle_ = native_handle; in creation() 104 object_type, op_name, h.native_handle_, h.handler_id_, h.tree_id_); in creation() 194 ", ec = %s:%d\n", h.object_type_, op_name, h.native_handle_, in reactor_operation() 206 h.native_handle_, ec.category().name(), ec.value(), in reactor_operation()
|
/third_party/boost/doc/html/boost_asio/example/cpp11/handler_tracking/ |
D | custom_tracking.hpp | 69 std::uintmax_t native_handle_; // Native handle, if any. member 99 h.native_handle_ = native_handle; in creation() 104 object_type, op_name, h.native_handle_, h.handler_id_, h.tree_id_); in creation() 194 ", ec = %s:%d\n", h.object_type_, op_name, h.native_handle_, in reactor_operation() 206 h.native_handle_, ec.category().name(), ec.value(), in reactor_operation()
|
/third_party/cef/include/base/internal/ |
D | cef_lock_impl.h | 78 NativeHandle* native_handle() { return &native_handle_; } in native_handle() 81 NativeHandle native_handle_;
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | task.cc | 49 native_handle_ = pthread_self(); in operator ()() 120 native_handle_(0) { in Task() 214 pthread_t Task::GetNativeHandle() const { return native_handle_; } in GetNativeHandle()
|
D | task.h | 133 pthread_t native_handle_; variable 135 uint64_t native_handle_; variable
|