/external/valgrind/coregrind/m_scheduler/ |
D | sema.c | 55 void ML_(sema_init)(vg_sema_t *sema) in ML_() 59 r = VG_(pipe)(sema->pipe); in ML_() 62 vg_assert(sema->pipe[0] != sema->pipe[1]); in ML_() 64 sema->pipe[0] = VG_(safe_fd)(sema->pipe[0]); in ML_() 65 sema->pipe[1] = VG_(safe_fd)(sema->pipe[1]); in ML_() 68 VG_(debugLog)(0,"zz","sema_init: %d %d\n", sema->pipe[0], in ML_() 69 sema->pipe[1]); in ML_() 70 vg_assert(sema->pipe[0] != sema->pipe[1]); in ML_() 72 sema->owner_lwpid = -1; in ML_() 79 INNER_REQUEST(ANNOTATE_RWLOCK_CREATE(sema)); in ML_() [all …]
|
D | sched-lock-generic.c | 41 vg_sema_t sema; member 54 ML_(sema_init)(&p->sema); in create_sched_lock() 60 ML_(sema_deinit)(&p->sema); in destroy_sched_lock() 66 return p->sema.owner_lwpid; in get_sched_lock_owner() 71 ML_(sema_down)(&p->sema, False); in acquire_sched_lock() 76 ML_(sema_up)(&p->sema, False); in release_sched_lock()
|
D | priv_sema.h | 45 void ML_(sema_init) ( vg_sema_t *sema ); 46 void ML_(sema_deinit) ( vg_sema_t *sema ); 47 void ML_(sema_down) ( vg_sema_t *sema, Bool as_LL ); 48 void ML_(sema_up) ( vg_sema_t *sema, Bool as_LL );
|
/external/mesa3d/src/gallium/auxiliary/os/ |
D | os_thread.h | 403 pipe_semaphore_init(pipe_semaphore *sema, int init_val) in pipe_semaphore_init() argument 405 pipe_mutex_init(sema->mutex); in pipe_semaphore_init() 406 pipe_condvar_init(sema->cond); in pipe_semaphore_init() 407 sema->counter = init_val; in pipe_semaphore_init() 411 pipe_semaphore_destroy(pipe_semaphore *sema) in pipe_semaphore_destroy() argument 413 pipe_mutex_destroy(sema->mutex); in pipe_semaphore_destroy() 414 pipe_condvar_destroy(sema->cond); in pipe_semaphore_destroy() 419 pipe_semaphore_signal(pipe_semaphore *sema) in pipe_semaphore_signal() argument 421 pipe_mutex_lock(sema->mutex); in pipe_semaphore_signal() 422 sema->counter++; in pipe_semaphore_signal() [all …]
|
/external/valgrind/drd/ |
D | drd_pthread_intercepts.c | 158 static void DRD_(sema_init)(DrdSema* sema); 159 static void DRD_(sema_destroy)(DrdSema* sema); 160 static void DRD_(sema_down)(DrdSema* sema); 161 static void DRD_(sema_up)(DrdSema* sema); 188 static void DRD_(sema_init)(DrdSema* sema) in DRD_() 190 DRD_IGNORE_VAR(*sema); in DRD_() 191 pthread_mutex_init(&sema->mutex, NULL); in DRD_() 192 DRD_(ignore_mutex_ordering)(&sema->mutex); in DRD_() 193 sema->counter = 0; in DRD_() 194 sema->waiters = 0; in DRD_() [all …]
|
/external/valgrind/drd/tests/ |
D | pth_broadcast.c | 143 struct csema sema; in main() local 147 csema_ctr(&sema); in main() 153 p->m_sema = &sema; in main() 161 csema_p(&sema, thread_count); in main() 176 csema_dtr(&sema); in main()
|
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 46 sema::DelayedDiagnosticPool DiagnosticPool; 86 sema::DelayedDiagnosticPool DiagnosticPool; 102 const sema::DelayedDiagnosticPool *parentPool) in ParsingDeclRAIIObject() 124 sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() { in getDelayedDiagnosticPool() 127 const sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() const { in getDelayedDiagnosticPool() 180 const sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() const { in getDelayedDiagnosticPool()
|
/external/clang/include/clang/Sema/ |
D | AnalysisBasedWarnings.h | 27 namespace sema { 31 namespace sema {
|
D | SemaLambda.h | 31 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
|
D | DelayedDiagnostic.h | 28 namespace sema { 286 inline void Sema::DelayedDiagnostics::add(const sema::DelayedDiagnostic &diag) { in add()
|
D | Sema.h | 188 namespace sema { 382 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes; 480 sema::DelayedDiagnosticPool *SavedPool; 491 sema::DelayedDiagnosticPool *CurPool; 497 void add(const sema::DelayedDiagnostic &diag); // in DelayedDiagnostic.h 503 sema::DelayedDiagnosticPool *getCurrentPool() const { in getCurrentPool() 509 DelayedDiagnosticsState push(sema::DelayedDiagnosticPool &pool) { in push() 1062 sema::LambdaScopeInfo *PushLambdaScope(); 1073 PopFunctionScopeInfo(const sema::AnalysisBasedWarnings::Policy *WP = nullptr, 1077 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() [all …]
|
D | TemplateDeduction.h | 26 namespace sema {
|
D | ScopeInfo.h | 49 namespace sema {
|
/external/clang/lib/ARCMigrate/ |
D | Internals.h | 157 Sema &sema, TransformActions &TA, in MigrationPass() argument 161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags), in MigrationPass()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 25 using namespace sema; 64 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureReadyLambda() 70 isa<clang::sema::LambdaScopeInfo>( in getStackIndexOfNearestEnclosingCaptureReadyLambda() 81 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator; in getStackIndexOfNearestEnclosingCaptureReadyLambda() 84 const clang::sema::LambdaScopeInfo *LSI = in getStackIndexOfNearestEnclosingCaptureReadyLambda() 85 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]); in getStackIndexOfNearestEnclosingCaptureReadyLambda() 113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda() 171 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureCapableLambda() 188 const sema::LambdaScopeInfo *const CaptureReadyLambdaLSI = in getStackIndexOfNearestEnclosingCaptureCapableLambda() 189 cast<sema::LambdaScopeInfo>(FunctionScopes[IndexOfCaptureReadyLambda]); in getStackIndexOfNearestEnclosingCaptureCapableLambda()
|
D | AnalysisBasedWarnings.cpp | 1175 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() 1178 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; in diagnoseRepeatedUseOfWeak() 1179 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; in diagnoseRepeatedUseOfWeak() 1180 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; in diagnoseRepeatedUseOfWeak() 1260 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1262 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1802 clang::sema::AnalysisBasedWarnings::Policy::Policy() { in Policy() 1813 clang::sema::AnalysisBasedWarnings::AnalysisBasedWarnings(Sema &s) in AnalysisBasedWarnings() 1841 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in flushDiagnostics() 1846 void clang::sema:: [all …]
|
D | DelayedDiagnostic.cpp | 20 using namespace sema;
|
D | SemaTemplateVariadic.cpp | 209 if (isa<sema::LambdaScopeInfo>(SI)) in isUnexpandedParameterPackPermitted() 228 if (sema::LambdaScopeInfo *LSI = in DiagnoseUnexpandedParameterPacks() 229 dyn_cast<sema::LambdaScopeInfo>(FunctionScopes[N-1])) { in DiagnoseUnexpandedParameterPacks()
|
D | ScopeInfo.cpp | 24 using namespace sema;
|
D | SemaStmtAttr.cpp | 24 using namespace sema;
|
D | SemaTemplateInstantiate.cpp | 28 using namespace sema; 207 sema::TemplateDeductionInfo *DeductionInfo) in InstantiatingTemplate() 262 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) in InstantiatingTemplate() 271 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) in InstantiatingTemplate() 282 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) in InstantiatingTemplate() 1851 namespace sema { namespace
|
D | SemaType.cpp | 128 Sema &sema; member in __anon9acaebf90111::TypeProcessingState 152 TypeProcessingState(Sema &sema, Declarator &declarator) in TypeProcessingState() argument 153 : sema(sema), declarator(declarator), in TypeProcessingState() 158 return sema; in getSema() 1031 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType() 1328 sema::DelayedDiagnostic::makeForbiddenType(loc, in inferARCLifetimeForPointee() 4192 sema::DelayedDiagnostic::makeForbiddenType( in handleObjCOwnershipTypeAttr() 5533 using namespace sema; in getDecltypeForExpr()
|
/external/clang/include/clang/Basic/ |
D | CMakeLists.txt | 38 clang_tablegen(arm_neon.inc -gen-arm-neon-sema
|
D | Makefile | 60 $(Verb) $(ClangTableGen) -gen-arm-neon-sema -o $(call SYSPATH, $@) \
|
/external/valgrind/docs/internals/ |
D | Darwin-notes.txt | 35 coregrind/m_scheduler/sema.c, none/tests/pth_cancel1 would hang 83 * Cleanups: m_scheduler/sema.c: use pipe implementation
|