Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/leveldatabase/src/port/
Dport_posix.cc30 CondVar::CondVar(Mutex* mu) in CondVar() function in leveldb::port::CondVar
35 CondVar::~CondVar() { PthreadCall("destroy cv", pthread_cond_destroy(&cv_)); } in ~CondVar()
37 void CondVar::Wait() { in Wait()
41 void CondVar::Signal() { in Signal()
45 void CondVar::SignalAll() { in SignalAll()
Dport_posix.h83 class CondVar; variable
95 friend class CondVar;
103 class CondVar {
105 explicit CondVar(Mutex* mu);
106 ~CondVar();
Dport_example.h45 class CondVar {
47 explicit CondVar(Mutex* mu);
48 ~CondVar();
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp39 CondVar::CondVar () in CondVar() function in CondVar
59 CondVar::~CondVar () in ~CondVar()
78 void CondVar::wait (Mutex& mutex) in wait()
98 bool CondVar::wait (Mutex& mutex, long millisec) in wait()
141 void CondVar::notifyOne () in notifyOne()
DCondVar.h30 class CondVar
42 CondVar ();
54 ~CondVar ();
DSyncEvent.h123 CondVar mCondVar;
/external/chromium_org/third_party/leveldatabase/port/
Dport_chromium.cc35 CondVar::CondVar(Mutex* mu) in CondVar() function in leveldb::port::CondVar
39 CondVar::~CondVar() { } in ~CondVar()
41 void CondVar::Wait() { in Wait()
45 void CondVar::Signal(){ in Signal()
49 void CondVar::SignalAll() { in SignalAll()
Dport_chromium.h48 friend class CondVar; variable
52 class CondVar {
54 explicit CondVar(Mutex* mu);
55 ~CondVar();
63 DISALLOW_COPY_AND_ASSIGN(CondVar);
/external/valgrind/unittest/
Dthread_wrappers_win.h80 friend class CondVar; variable
144 class CondVar {
146 CondVar() { in CondVar() function
151 ~CondVar() { in ~CondVar()
Dthread_wrappers_pthread.h149 friend class CondVar; variable
218 class CondVar {
220 CondVar() { CHECK(0 == pthread_cond_init(&cv_, NULL)); } in CondVar() function
221 ~CondVar() { CHECK(0 == pthread_cond_destroy(&cv_)); } in ~CondVar()
Dthread_wrappers.h87 class CondVar; variable
Dbigtest.cc467 CondVar CV;
Dposix_tests.cc55 static CondVar CV;
Dracecheck_unittest.cc77 static CondVar CV;
4445 CondVar CV, CV2;
4504 CondVar CV, CV2;
4699 CondVar CV;
6124 CondVar cv;
/external/libnfc-nci/src/adaptation/
DNfcAdaptation.cpp233 ThreadCondVar CondVar; in Thread() local
234 AutoThreadMutex guard(CondVar); in Thread()
235 …)nfc_task, NFC_TASK, (INT8*)"NFC_TASK", 0, 0, (pthread_cond_t*)CondVar, (pthread_mutex_t*)CondVar); in Thread()
236 CondVar.wait(); in Thread()
/external/valgrind/main/drd/tests/
Dtsan_thread_wrappers_pthread.h104 class CondVar; variable
190 friend class CondVar; variable
276 class CondVar {
278 CondVar() { CHECK(0 == pthread_cond_init(&cv_, NULL)); } in CondVar() function
279 ~CondVar() { CHECK(0 == pthread_cond_destroy(&cv_)); } in ~CondVar()
Dtsan_unittest.cpp127 CondVar CV;
4581 CondVar CV, CV2;
4634 CondVar CV, CV2;
4893 CondVar CV;
/external/clang/lib/Parse/
DParseStmt.cpp991 Decl *CondVar = 0; in ParseIfStatement() local
992 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1081 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
1120 Decl *CondVar = 0; in ParseSwitchStatement() local
1121 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1125 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1212 Decl *CondVar = 0; in ParseWhileStatement() local
1213 if (ParseParenExprOrCondition(Cond, CondVar, WhileLoc, true)) in ParseWhileStatement()
1239 if ((Cond.isInvalid() && !CondVar) || Body.isInvalid()) in ParseWhileStatement()
1242 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get()); in ParseWhileStatement()
/external/chromium_org/third_party/leveldatabase/src/db/
Ddb_impl.h139 port::CondVar bg_cv_; // Signalled when background work finishes
Dskiplist_test.cc333 port::CondVar state_cv_;
Ddb_bench.cc271 port::CondVar cv;
/external/clang/lib/Sema/
DSemaStmt.cpp432 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
437 if (!CondVal.get() && !CondVar) { in ActOnIfStmt()
445 if (CondVar) { in ActOnIfStmt()
446 ConditionVar = cast<VarDecl>(CondVar); in ActOnIfStmt()
571 Decl *CondVar) { in ActOnStartOfSwitchStmt() argument
575 if (CondVar) { in ActOnStartOfSwitchStmt()
576 ConditionVar = cast<VarDecl>(CondVar); in ActOnStartOfSwitchStmt()
644 if (!CondVar) { in ActOnStartOfSwitchStmt()
1169 Decl *CondVar, Stmt *Body) { in ActOnWhileStmt() argument
1173 if (CondVar) { in ActOnWhileStmt()
[all …]
DTreeTransform.h1094 VarDecl *CondVar, Stmt *Then, in RebuildIfStmt() argument
1096 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1104 Expr *Cond, VarDecl *CondVar) { in RebuildSwitchStmtStart() argument
1106 CondVar); in RebuildSwitchStmtStart()
1123 VarDecl *CondVar, Stmt *Body) { in RebuildWhileStmt() argument
1124 return getSema().ActOnWhileStmt(WhileLoc, Cond, CondVar, Body); in RebuildWhileStmt()
1144 VarDecl *CondVar, Sema::FullExprArg Inc, in RebuildForStmt() argument
1147 CondVar, Inc, RParenLoc, Body); in RebuildForStmt()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/objctests/
DRTCSessionDescriptionSyncObserver.m38 // CondVar used to wait for, and signal arrival of, an SDP-related callback.
/external/clang/docs/
DLibASTMatchersTutorial.rst501 const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName");
504 if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))

12