Lines Matching refs:Condition
87 class Condition; variable
309 void Await(const Condition &cond);
319 void LockWhen(const Condition &cond) ABSL_EXCLUSIVE_LOCK_FUNCTION();
321 void ReaderLockWhen(const Condition &cond) ABSL_SHARED_LOCK_FUNCTION();
323 void WriterLockWhen(const Condition &cond) ABSL_EXCLUSIVE_LOCK_FUNCTION() { in WriterLockWhen()
349 bool AwaitWithTimeout(const Condition &cond, absl::Duration timeout);
351 bool AwaitWithDeadline(const Condition &cond, absl::Time deadline);
364 bool LockWhenWithTimeout(const Condition &cond, absl::Duration timeout)
366 bool ReaderLockWhenWithTimeout(const Condition &cond, absl::Duration timeout)
368 bool WriterLockWhenWithTimeout(const Condition &cond, absl::Duration timeout) in WriterLockWhenWithTimeout()
384 bool LockWhenWithDeadline(const Condition &cond, absl::Time deadline)
386 bool ReaderLockWhenWithDeadline(const Condition &cond, absl::Time deadline)
388 bool WriterLockWhenWithDeadline(const Condition &cond, absl::Time deadline) in WriterLockWhenWithDeadline()
487 bool LockSlowWithDeadline(MuHow how, const Condition *cond,
490 void LockSlow(MuHow how, const Condition *cond,
495 bool AwaitCommon(const Condition &cond,
641 class Condition {
644 Condition(bool (*func)(void *), void *arg);
656 Condition(bool (*func)(T *), T *arg);
667 Condition(T *object, bool (absl::internal::identity<T>::type::* method)());
671 Condition(const T *object,
675 explicit Condition(const bool *cond);
699 explicit Condition(const T *obj) in Condition() function
700 : Condition(obj, static_cast<bool (T::*)() const>(&T::operator())) {} in Condition()
703 static const Condition kTrue;
715 static bool GuaranteedEqual(const Condition *a, const Condition *b);
719 typedef bool (Condition::*InternalMethodType)();
723 bool (*eval_)(const Condition*); // Actual evaluator
728 Condition(); // null constructor used only to create kTrue
731 static bool CallVoidPtrFunction(const Condition*);
732 template <typename T> static bool CastAndCallFunction(const Condition* c);
733 template <typename T> static bool CastAndCallMethod(const Condition* c);
918 bool Condition::CastAndCallMethod(const Condition *c) { in CastAndCallMethod()
927 bool Condition::CastAndCallFunction(const Condition *c) { in CastAndCallFunction()
935 inline Condition::Condition(bool (*func)(T *), T *arg) in Condition() function
942 inline Condition::Condition(T *object, in Condition() function
950 inline Condition::Condition(const T *object, in Condition() function