/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/autotest/client/tests/dbench/ |
D | dbench_startup.patch | 25 + sem_t *sema; 33 + shmid = shmget(IPC_PRIVATE, sizeof(*sema), IPC_CREAT | 0666); 38 + sema = shmat(shmid, NULL, 0); 40 + if (sem_init(sema, 1, 0) < 0) { 51 + sem_wait(sema); 59 + shmdt(sema); 67 + sem_post(sema); 75 + shmdt(sema); 83 + shmdt(sema);
|
/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/valgrind/drd/ |
D | drd_pthread_intercepts.c | 232 static void DRD_(sema_init)(DrdSema* sema); 233 static void DRD_(sema_destroy)(DrdSema* sema); 234 static void DRD_(sema_down)(DrdSema* sema); 235 static void DRD_(sema_up)(DrdSema* sema); 271 static void DRD_(sema_init)(DrdSema* sema) in DRD_() 273 DRD_IGNORE_VAR(*sema); in DRD_() 274 pthread_mutex_init(&sema->mutex, NULL); in DRD_() 275 DRD_(ignore_mutex_ordering)(&sema->mutex); in DRD_() 276 pthread_cond_init(&sema->cond, NULL); in DRD_() 277 sema->counter = 0; in DRD_() [all …]
|
/external/clang/examples/PrintFunctionNames/ |
D | PrintFunctionNames.cpp | 70 clang::Sema &sema = Instance.getSema(); in HandleTranslationUnit() local 72 clang::LateParsedTemplate* LPT = sema.LateParsedTemplateMap.lookup(FD); in HandleTranslationUnit() 73 sema.LateTemplateParser(sema.OpaqueParser, *LPT); in HandleTranslationUnit()
|
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 46 sema::DelayedDiagnosticPool DiagnosticPool; 92 sema::DelayedDiagnosticPool DiagnosticPool; 108 const sema::DelayedDiagnosticPool *parentPool) in ParsingDeclRAIIObject() 130 sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() { in getDelayedDiagnosticPool() 133 const sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() const { in getDelayedDiagnosticPool() 186 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 { 297 inline void Sema::DelayedDiagnostics::add(const sema::DelayedDiagnostic &diag) { in add()
|
D | Sema.h | 190 namespace sema { 434 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes; 541 sema::DelayedDiagnosticPool *SavedPool; 552 sema::DelayedDiagnosticPool *CurPool; 558 void add(const sema::DelayedDiagnostic &diag); // in DelayedDiagnostic.h 564 sema::DelayedDiagnosticPool *getCurrentPool() const { in getCurrentPool() 570 DelayedDiagnosticsState push(sema::DelayedDiagnosticPool &pool) { in push() 1152 sema::LambdaScopeInfo *PushLambdaScope(); 1163 PopFunctionScopeInfo(const sema::AnalysisBasedWarnings::Policy *WP = nullptr, 1167 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() [all …]
|
D | TemplateDeduction.h | 26 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 | 1184 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() 1187 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; in diagnoseRepeatedUseOfWeak() 1188 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; in diagnoseRepeatedUseOfWeak() 1189 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; in diagnoseRepeatedUseOfWeak() 1269 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1271 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1807 clang::sema::AnalysisBasedWarnings::Policy::Policy() { in Policy() 1818 clang::sema::AnalysisBasedWarnings::AnalysisBasedWarnings(Sema &s) in AnalysisBasedWarnings() 1846 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in flushDiagnostics() 1851 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;
|
/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 76 * Cleanups: m_scheduler/sema.c: use pipe implementation
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-solaris.c | 6507 vki_lwp_sema_t *sema = (vki_lwp_sema_t*)ARG1; local 6510 PRE_REG_READ1(long, "lwp_sema_post", lwp_sema_t *, sema); 6512 PRE_FIELD_READ("lwp_sema_post(sema->type)", sema->vki_sema_type); 6513 PRE_FIELD_READ("lwp_sema_post(sema->count)", sema->vki_sema_count); 6515 PRE_FIELD_READ("lwp_sema_post(sema->waiters)", sema->vki_sema_waiters); 6521 vki_lwp_sema_t *sema = (vki_lwp_sema_t*)ARG1; local 6522 POST_FIELD_WRITE(sema->vki_sema_count); 6523 POST_FIELD_WRITE(sema->vki_sema_waiters); 6529 vki_lwp_sema_t *sema = (vki_lwp_sema_t*)ARG1; local 6531 PRE_REG_READ1(long, "lwp_sema_trywait", lwp_sema_t *, sema); [all …]
|