Home
last modified time | relevance | path

Searched refs:condition_ (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc38 rv = pthread_cond_init(&condition_, &attrs); in ConditionVariable()
41 rv = pthread_cond_init(&condition_, NULL); in ConditionVariable()
56 pthread_cond_timedwait_relative_np(&condition_, lock.lock_.native_handle(), in ~ConditionVariable()
61 int rv = pthread_cond_destroy(&condition_); in ~ConditionVariable()
71 int rv = pthread_cond_wait(&condition_, user_mutex_); in Wait()
93 &condition_, user_mutex_, &relative_time); in TimedWait()
118 &condition_, user_mutex_, &absolute_time); in TimedWait()
120 int rv = pthread_cond_timedwait(&condition_, user_mutex_, &absolute_time); in TimedWait()
133 int rv = pthread_cond_broadcast(&condition_); in Broadcast()
138 int rv = pthread_cond_signal(&condition_); in Signal()
Dcondition_variable.h111 pthread_cond_t condition_;
/external/libgav1/libgav1/src/utils/
Dthreadpool.h127 condition_.wait(queue_lock); in Wait()
131 void SignalOne() { condition_.notify_one(); } in SignalOne()
132 void SignalAll() { condition_.notify_all(); } in SignalAll()
134 std::condition_variable condition_; variable
141 void Wait() { condition_.Wait(&queue_mutex_); } in Wait()
142 void SignalOne() { condition_.Signal(); } in SignalOne()
143 void SignalAll() { condition_.SignalAll(); } in SignalAll()
145 absl::CondVar condition_; variable
Dblocking_counter.h57 condition_.notify_one(); in Decrement()
70 condition_.notify_one(); in Decrement()
80 condition_.wait(lock, [this]() { return count_ == 0; }); in Wait()
87 std::condition_variable condition_; variable
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.c24 pthread_cond_t condition_; member
38 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in thread_loop()
47 pthread_cond_signal(&worker->impl_->condition_); in thread_loop()
64 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in change_state()
69 pthread_cond_signal(&worker->impl_->condition_); in change_state()
104 if (pthread_cond_init(&worker->impl_->condition_, NULL)) { in reset()
114 pthread_cond_destroy(&worker->impl_->condition_); in reset()
150 pthread_cond_destroy(&worker->impl_->condition_); in end()
/external/libaom/libaom/aom_util/
Daom_thread.c33 pthread_cond_t condition_; member
69 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in thread_loop()
78 pthread_cond_signal(&worker->impl_->condition_); in thread_loop()
95 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in change_state()
100 pthread_cond_signal(&worker->impl_->condition_); in change_state()
135 if (pthread_cond_init(&worker->impl_->condition_, NULL)) { in reset()
145 pthread_cond_destroy(&worker->impl_->condition_); in reset()
181 pthread_cond_destroy(&worker->impl_->condition_); in end()
/external/libchrome/mojo/core/
Dwatch.cc22 condition_(condition) {} in Watch()
34 condition_ == MOJO_TRIGGER_CONDITION_SIGNALS_SATISFIED) || in NotifyState()
36 condition_ == MOJO_TRIGGER_CONDITION_SIGNALS_UNSATISFIED); in NotifyState()
42 } else if (condition_ == MOJO_TRIGGER_CONDITION_SIGNALS_SATISFIED && in NotifyState()
Dwatch.h100 const MojoTriggerCondition condition_; variable
/external/webp/src/utils/
Dthread_utils.c55 pthread_cond_t condition_; member
211 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ThreadLoop()
225 pthread_cond_signal(&impl->condition_); in ThreadLoop()
242 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ChangeState()
252 pthread_cond_signal(&impl->condition_); in ChangeState()
290 if (pthread_cond_init(&impl->condition_, NULL)) { in Reset()
300 pthread_cond_destroy(&impl->condition_); in Reset()
337 pthread_cond_destroy(&impl->condition_); in End()
/external/vixl/src/aarch32/
Dinstructions-aarch32.h999 uint32_t condition_; variable
1007 explicit Condition(uint32_t condition) : condition_(condition) { in Condition()
1013 : condition_(condition) {} in Condition()
1014 uint32_t GetCondition() const { return condition_ & kMask; } in GetCondition()
1015 bool IsNone() const { return condition_ == kNone; } in IsNone()
1017 bool Is(Condition value) const { return condition_ == value.condition_; } in Is()
1018 bool Is(uint32_t value) const { return condition_ == value; } in Is()
1019 bool IsNot(uint32_t value) const { return condition_ != value; } in IsNot()
1020 bool IsNever() const { return condition_ == kNever; } in IsNever()
1021 bool IsNotNever() const { return condition_ != kNever; } in IsNotNever()
[all …]
Dinstructions-aarch32.cc382 switch (condition_) { in GetName()
Ddisasm-aarch32.h44 Condition condition_; variable
48 ITBlock() : first_condition_(al), condition_(al), it_mask_(0) {} in ITBlock()
50 condition_ = Condition((condition_.GetCondition() & 0xe) | (it_mask_ >> 3)); in Advance()
60 condition_ = first_condition_ = first_condition; in Set()
64 Condition GetCurrentCondition() const { return condition_; } in GetCurrentCondition()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc379 condition_(condition), in CounterThread()
397 condition_->Wait(); in Run()
398 condition_->Signal(); in Run()
413 ConditionVariable* condition_; member in base::CounterThread