Home
last modified time | relevance | path

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

/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
62 CondVar::~CondVar () in ~CondVar()
81 void CondVar::wait (Mutex& mutex) in wait()
101 bool CondVar::wait (Mutex& mutex, long millisec) in wait()
140 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/libnfc-nci/src/adaptation/
DNfcAdaptation.cpp258 ThreadCondVar CondVar; in Thread() local
259 AutoThreadMutex guard(CondVar); in Thread()
260 …)nfc_task, NFC_TASK, (INT8*)"NFC_TASK", 0, 0, (pthread_cond_t*)CondVar, (pthread_mutex_t*)CondVar); in Thread()
261 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.cpp1093 Decl *CondVar = nullptr; in ParseIfStatement() local
1094 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1181 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
1220 Decl *CondVar = nullptr; in ParseSwitchStatement() local
1221 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1225 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1308 Decl *CondVar = nullptr; in ParseWhileStatement() local
1309 if (ParseParenExprOrCondition(Cond, CondVar, WhileLoc, true)) in ParseWhileStatement()
1334 if ((Cond.isInvalid() && !CondVar) || Body.isInvalid()) in ParseWhileStatement()
1337 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;
Ddb_impl.cc46 port::CondVar cv;
/external/clang/lib/Sema/
DSemaStmt.cpp442 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
447 if (!CondVal.get() && !CondVar) { in ActOnIfStmt()
455 if (CondVar) { in ActOnIfStmt()
456 ConditionVar = cast<VarDecl>(CondVar); in ActOnIfStmt()
580 Decl *CondVar) { in ActOnStartOfSwitchStmt() argument
584 if (CondVar) { in ActOnStartOfSwitchStmt()
585 ConditionVar = cast<VarDecl>(CondVar); in ActOnStartOfSwitchStmt()
653 if (!CondVar) { in ActOnStartOfSwitchStmt()
1206 Decl *CondVar, Stmt *Body) { in ActOnWhileStmt() argument
1210 if (CondVar) { in ActOnWhileStmt()
[all …]
DTreeTransform.h1117 VarDecl *CondVar, Stmt *Then, in RebuildIfStmt() argument
1119 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1127 Expr *Cond, VarDecl *CondVar) { in RebuildSwitchStmtStart() argument
1129 CondVar); in RebuildSwitchStmtStart()
1146 VarDecl *CondVar, Stmt *Body) { in RebuildWhileStmt() argument
1147 return getSema().ActOnWhileStmt(WhileLoc, Cond, CondVar, Body); in RebuildWhileStmt()
1167 VarDecl *CondVar, Sema::FullExprArg Inc, in RebuildForStmt() argument
1170 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.rst505 const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName");
508 if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))
/external/clang/include/clang/Sema/
DSema.h3021 FullExprArg CondVal, Decl *CondVar,
3026 Decl *CondVar);
3031 Decl *CondVar, Stmt *Body);