Home
last modified time | relevance | path

Searched refs:futex_ (Results 1 – 18 of 18) sorted by relevance

/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex_waiter.cc67 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
69 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
78 const int err = WaitUntil(&futex_, 0, t); in Wait()
93 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
101 const int err = Futex::Wake(&futex_, 1); in Poke()
Dfutex_waiter.h37 FutexWaiter() : futex_(0) {} in FutexWaiter()
53 std::atomic<int32_t> futex_; variable
54 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/cronet/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex_waiter.cc68 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
70 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
79 const int err = WaitUntil(&futex_, 0, t); in Wait()
94 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
102 const int err = Futex::Wake(&futex_, 1); in Poke()
Dfutex_waiter.h37 FutexWaiter() : futex_(0) {} in FutexWaiter()
53 std::atomic<int32_t> futex_; variable
54 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/cronet/base/profiler/
Dstack_copier_signal.cc33 AsyncSafeWaitableEvent() { futex_.store(0, std::memory_order_release); } in AsyncSafeWaitableEvent()
43 if (futex_.load(std::memory_order_acquire) != 0) in Wait()
51 futex_.store(1, std::memory_order_release); in Signal()
61 static_assert(sizeof(futex_) == sizeof(int), in futex_int_ptr()
63 return reinterpret_cast<int*>(&futex_); in futex_int_ptr()
66 std::atomic_int futex_{0}; member in base::__anon161f6d140111::AsyncSafeWaitableEvent
/external/webrtc/sdk/android/native_api/stacktrace/
Dstacktrace.cc54 std::atomic_store_explicit(&futex_, 0, std::memory_order_release); in AsyncSafeWaitableEvent()
65 int res = syscall(SYS_futex, &futex_, FUTEX_WAIT | FUTEX_PRIVATE_FLAG, 0, in Wait()
67 if (std::atomic_load_explicit(&futex_, std::memory_order_acquire) != 0) in Wait()
75 std::atomic_store_explicit(&futex_, 1, std::memory_order_release); in Signal()
76 syscall(SYS_futex, &futex_, FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1, nullptr, in Signal()
81 std::atomic<int> futex_; member in webrtc::__anon140087c90111::AsyncSafeWaitableEvent
/external/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc71 futex_.store(0, std::memory_order_relaxed); in Waiter()
82 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
84 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
93 const int err = Futex::WaitUntil(&futex_, 0, t); in Wait()
108 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
116 const int err = Futex::Wake(&futex_, 1); in Poke()
Dwaiter.h115 std::atomic<int32_t> futex_; variable
116 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dwaiter.cc71 futex_.store(0, std::memory_order_relaxed); in Waiter()
83 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
85 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
95 const int err = Futex::WaitUntil(&futex_, 0, t); in Wait()
110 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
118 const int err = Futex::Wake(&futex_, 1); in Poke()
Dwaiter.h112 std::atomic<int32_t> futex_;
113 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc71 futex_.store(0, std::memory_order_relaxed); in Waiter()
83 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
85 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
95 const int err = Futex::WaitUntil(&futex_, 0, t); in Wait()
110 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
118 const int err = Futex::Wake(&futex_, 1); in Poke()
Dwaiter.h112 std::atomic<int32_t> futex_;
113 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/tensorflow/third_party/absl/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc71 futex_.store(0, std::memory_order_relaxed); in Waiter()
82 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
84 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
93 const int err = Futex::WaitUntil(&futex_, 0, t); in Wait()
108 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
116 const int err = Futex::Wake(&futex_, 1); in Poke()
Dwaiter.h115 std::atomic<int32_t> futex_; variable
116 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc71 futex_.store(0, std::memory_order_relaxed); in Waiter()
82 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
84 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
93 const int err = Futex::WaitUntil(&futex_, 0, t); in Wait()
108 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
116 const int err = Futex::Wake(&futex_, 1); in Poke()
Dwaiter.h115 std::atomic<int32_t> futex_; variable
116 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc135 futex_.store(0, std::memory_order_relaxed); in Waiter()
147 int32_t x = futex_.load(std::memory_order_relaxed); in Wait()
149 if (!futex_.compare_exchange_weak(x, x - 1, in Wait()
159 const int err = Futex::WaitUntil(&futex_, 0, t); in Wait()
174 if (futex_.fetch_add(1, std::memory_order_release) == 0) { in Post()
182 const int err = Futex::Wake(&futex_, 1); in Poke()
Dwaiter.h116 std::atomic<int32_t> futex_;
117 static_assert(sizeof(int32_t) == sizeof(futex_), "Wrong size for futex");