Home
last modified time | relevance | path

Searched refs:CondVar (Results 1 – 25 of 68) sorted by relevance

123

/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dsync_abseil.cc72 static_assert(sizeof(gpr_cv) == sizeof(absl::CondVar), in gpr_cv_init()
74 new (cv) absl::CondVar; in gpr_cv_init()
78 reinterpret_cast<absl::CondVar*>(cv)->~CondVar(); in gpr_cv_destroy()
85 reinterpret_cast<absl::CondVar*>(cv)->Wait( in gpr_cv_wait()
92 int ret = reinterpret_cast<absl::CondVar*>(cv)->WaitWithDeadline( in gpr_cv_wait()
100 reinterpret_cast<absl::CondVar*>(cv)->Signal(); in gpr_cv_signal()
105 reinterpret_cast<absl::CondVar*>(cv)->SignalAll(); in gpr_cv_broadcast()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dsync.h97 class CondVar {
99 CondVar() { gpr_cv_init(&cv_); } in CondVar() function
100 ~CondVar() { gpr_cv_destroy(&cv_); } in ~CondVar()
102 CondVar(const CondVar&) = delete;
103 CondVar& operator=(const CondVar&) = delete;
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dsync.h118 class CondVar {
120 CondVar() { g_core_codegen_interface->gpr_cv_init(&cv_); } in CondVar() function
121 ~CondVar() { g_core_codegen_interface->gpr_cv_destroy(&cv_); } in ~CondVar()
123 CondVar(const CondVar&) = delete;
124 CondVar& operator=(const CondVar&) = delete;
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dsync.h118 class CondVar {
120 CondVar() { g_core_codegen_interface->gpr_cv_init(&cv_); } in CondVar() function
121 ~CondVar() { g_core_codegen_interface->gpr_cv_destroy(&cv_); } in ~CondVar()
123 CondVar(const CondVar&) = delete;
124 CondVar& operator=(const CondVar&) = delete;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc261 CondVar::CondVar() {} in CondVar() function in absl::CondVar
263 CondVar::~CondVar() {} in ~CondVar()
265 void CondVar::Signal() { impl()->Signal(); } in Signal()
267 void CondVar::SignalAll() { impl()->SignalAll(); } in SignalAll()
269 void CondVar::Wait(Mutex* mu) { return impl()->Wait(mu->impl()); } in Wait()
271 bool CondVar::WaitWithDeadline(Mutex* mu, absl::Time deadline) { in WaitWithDeadline()
276 bool CondVar::WaitWithTimeout(Mutex* mu, absl::Duration timeout) { in WaitWithTimeout()
280 void CondVar::EnableDebugLog(const char*) {} in EnableDebugLog()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc256 CondVar::CondVar() {} in CondVar() function in absl::CondVar
258 CondVar::~CondVar() {} in ~CondVar()
260 void CondVar::Signal() { impl()->Signal(); } in Signal()
262 void CondVar::SignalAll() { impl()->SignalAll(); } in SignalAll()
264 void CondVar::Wait(Mutex* mu) { return impl()->Wait(mu->impl()); } in Wait()
266 bool CondVar::WaitWithDeadline(Mutex* mu, absl::Time deadline) { in WaitWithDeadline()
271 bool CondVar::WaitWithTimeout(Mutex* mu, absl::Duration timeout) { in WaitWithTimeout()
275 void CondVar::EnableDebugLog(const char*) {} in EnableDebugLog()
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc256 CondVar::CondVar() {} in CondVar() function in absl::CondVar
258 CondVar::~CondVar() {} in ~CondVar()
260 void CondVar::Signal() { impl()->Signal(); } in Signal()
262 void CondVar::SignalAll() { impl()->SignalAll(); } in SignalAll()
264 void CondVar::Wait(Mutex* mu) { return impl()->Wait(mu->impl()); } in Wait()
266 bool CondVar::WaitWithDeadline(Mutex* mu, absl::Time deadline) { in WaitWithDeadline()
271 bool CondVar::WaitWithTimeout(Mutex* mu, absl::Duration timeout) { in WaitWithTimeout()
275 void CondVar::EnableDebugLog(const char*) {} in EnableDebugLog()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
78 absl::CondVar default_condvar; in RunTests()
95 absl::CondVar condvar; in TestLocals()
Dmutex.h466 friend class CondVar;
504 friend class CondVar; // for access to Trans()/Fer().
771 class CondVar {
773 CondVar();
774 ~CondVar();
846 CondVar(const CondVar&) = delete;
847 CondVar& operator=(const CondVar&) = delete;
913 inline CondVar::CondVar() : cv_(0) {} in CondVar() function
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
78 absl::CondVar default_condvar; in RunTests()
95 absl::CondVar condvar; in TestLocals()
Dmutex.h465 friend class CondVar;
503 friend class CondVar; // for access to Trans()/Fer().
775 class CondVar {
779 CondVar();
780 ~CondVar();
852 CondVar(const CondVar&) = delete;
853 CondVar& operator=(const CondVar&) = delete;
921 inline CondVar::CondVar() : cv_(0) {} in CondVar() function
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
78 absl::CondVar default_condvar; in RunTests()
95 absl::CondVar condvar; in TestLocals()
Dmutex.h486 friend class CondVar; // for access to Trans()/Fer(). variable
793 class CondVar {
797 CondVar();
798 ~CondVar();
863 CondVar(const CondVar&) = delete;
864 CondVar& operator=(const CondVar&) = delete;
942 inline CondVar::CondVar() : cv_(0) {} in CondVar() function
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
78 absl::CondVar default_condvar; in RunTests()
95 absl::CondVar condvar; in TestLocals()
Dmutex.h484 friend class CondVar; // for access to Trans()/Fer(). variable
791 class CondVar {
795 CondVar();
796 ~CondVar();
861 CondVar(const CondVar&) = delete;
862 CondVar& operator=(const CondVar&) = delete;
940 inline CondVar::CondVar() : cv_(0) {} in CondVar() function
/external/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
78 absl::CondVar default_condvar; in RunTests()
95 absl::CondVar condvar; in TestLocals()
Dmutex.h466 friend class CondVar;
504 friend class CondVar; // for access to Trans()/Fer().
771 class CondVar {
773 CondVar();
774 ~CondVar();
846 CondVar(const CondVar&) = delete;
847 CondVar& operator=(const CondVar&) = delete;
913 inline CondVar::CondVar() : cv_(0) {} in CondVar() function
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
78 absl::CondVar default_condvar; in RunTests()
95 absl::CondVar condvar; in TestLocals()
Dmutex.h465 friend class CondVar;
503 friend class CondVar; // for access to Trans()/Fer().
775 class CondVar {
779 CondVar();
780 ~CondVar();
852 CondVar(const CondVar&) = delete;
853 CondVar& operator=(const CondVar&) = delete;
921 inline CondVar::CondVar() : cv_(0) {} in CondVar() function
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DRedundantBranchConditionCheck.cpp69 const auto *CondVar = Result.Nodes.getNodeAs<VarDecl>(CondVarStr); in check() local
75 if (hasPtrOrReferenceInFunc(Func, CondVar)) in check()
78 if (isChangedBefore(OuterIf->getThen(), InnerIf, CondVar, Result.Context)) in check()
81 auto Diag = diag(InnerIf->getBeginLoc(), "redundant condition %0") << CondVar; in check()
96 if (LeftDRE && LeftDRE->getDecl() == CondVar) in check()
138 if (LeftDRE && LeftDRE->getDecl() == CondVar) { in check()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-infinite-loop.cpp381 void evaluatable(bool CondVar) { in evaluatable() argument
382 for (; false && CondVar;) { in evaluatable()
384 while (false && CondVar) { in evaluatable()
387 } while (false && CondVar); in evaluatable()
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/
Ddynamic_thread_pool.h53 grpc_core::CondVar cv_;
54 grpc_core::CondVar shutdown_cv_;
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dlow_level_scheduling.h33 class CondVar; variable
101 friend class absl::CondVar;
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dlow_level_scheduling.h33 class CondVar; variable
101 friend class absl::CondVar;
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dlow_level_scheduling.h33 class CondVar; variable
99 friend class absl::CondVar;

123