Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp40 CondVar::CondVar () in CondVar() function in CondVar
63 CondVar::~CondVar () in ~CondVar()
82 void CondVar::wait (Mutex& mutex) in wait()
102 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/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/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.cpp1107 Decl *CondVar = nullptr; in ParseIfStatement() local
1108 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1195 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
1234 Decl *CondVar = nullptr; in ParseSwitchStatement() local
1235 if (ParseParenExprOrCondition(Cond, CondVar, SwitchLoc, false)) in ParseSwitchStatement()
1239 = Actions.ActOnStartOfSwitchStmt(SwitchLoc, Cond.get(), CondVar); in ParseSwitchStatement()
1322 Decl *CondVar = nullptr; in ParseWhileStatement() local
1323 if (ParseParenExprOrCondition(Cond, CondVar, WhileLoc, true)) in ParseWhileStatement()
1348 if ((Cond.isInvalid() && !CondVar) || Body.isInvalid()) in ParseWhileStatement()
1351 return Actions.ActOnWhileStmt(WhileLoc, FullCond, CondVar, Body.get()); in ParseWhileStatement()
/external/clang/lib/Sema/
DSemaStmt.cpp482 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
487 if (!CondVal.get() && !CondVar) { in ActOnIfStmt()
495 if (CondVar) { in ActOnIfStmt()
496 ConditionVar = cast<VarDecl>(CondVar); in ActOnIfStmt()
579 Decl *CondVar) { in ActOnStartOfSwitchStmt() argument
583 if (CondVar) { in ActOnStartOfSwitchStmt()
584 ConditionVar = cast<VarDecl>(CondVar); in ActOnStartOfSwitchStmt()
652 if (!CondVar) { in ActOnStartOfSwitchStmt()
1225 Decl *CondVar, Stmt *Body) { in ActOnWhileStmt() argument
1229 if (CondVar) { in ActOnWhileStmt()
[all …]
DTreeTransform.h1144 VarDecl *CondVar, Stmt *Then, in RebuildIfStmt() argument
1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
1154 Expr *Cond, VarDecl *CondVar) { in RebuildSwitchStmtStart() argument
1156 CondVar); in RebuildSwitchStmtStart()
1173 VarDecl *CondVar, Stmt *Body) { in RebuildWhileStmt() argument
1174 return getSema().ActOnWhileStmt(WhileLoc, Cond, CondVar, Body); in RebuildWhileStmt()
1194 VarDecl *CondVar, Sema::FullExprArg Inc, in RebuildForStmt() argument
1197 CondVar, Inc, RParenLoc, Body); in RebuildForStmt()
/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.h3088 FullExprArg CondVal, Decl *CondVar,
3093 Decl *CondVar);
3098 Decl *CondVar, Stmt *Body);