/external/valgrind/main/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 55 ML_(sema_init)(&p->sema); in create_sched_lock() 61 ML_(sema_deinit)(&p->sema); in destroy_sched_lock() 67 return p->sema.owner_lwpid; in get_sched_lock_owner() 72 ML_(sema_down)(&p->sema, False); in acquire_sched_lock() 77 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/qemu/distrib/sdl-1.2.15/src/thread/symbian/ |
D | SDL_syssem.cpp | 84 RSemaphore sema; in SDL_DestroySemaphore() local 85 sema.SetHandle(sem->handle); in SDL_DestroySemaphore() 87 sema.Signal(); in SDL_DestroySemaphore() 88 sema.Close(); in SDL_DestroySemaphore() 111 RSemaphore sema; in ThreadRun() local 112 sema.SetHandle(info->iHandle); in ThreadRun() 113 sema.Signal(); in ThreadRun() 125 RSemaphore sema; in _WaitAll() local 126 sema.SetHandle(sem->handle); in _WaitAll() 127 sema.Wait(); in _WaitAll() [all …]
|
/external/chromium_org/third_party/mesa/src/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/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/qemu/util/ |
D | qemu-thread-win32.c | 76 cond->sema = CreateSemaphore(NULL, 0, LONG_MAX, NULL); in qemu_cond_init() 77 if (!cond->sema) { in qemu_cond_init() 97 result = CloseHandle(cond->sema); in qemu_cond_destroy() 101 cond->sema = 0; in qemu_cond_destroy() 124 result = SignalObjectAndWait(cond->sema, cond->continue_event, in qemu_cond_signal() 143 result = ReleaseSemaphore(cond->sema, cond->waiters, NULL); in qemu_cond_broadcast() 173 WaitForSingleObject(cond->sema, INFINITE); in qemu_cond_wait() 198 sem->sema = CreateSemaphore(NULL, init, LONG_MAX, NULL); in qemu_sem_init() 203 CloseHandle(sem->sema); in qemu_sem_destroy() 208 ReleaseSemaphore(sem->sema, 1, NULL); in qemu_sem_post() [all …]
|
/external/valgrind/main/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); 182 static void DRD_(sema_init)(DrdSema* sema) in DRD_() 184 DRD_IGNORE_VAR(sema->counter); in DRD_() 185 pthread_mutex_init(&sema->mutex, NULL); in DRD_() 186 sema->counter = 0; in DRD_() 187 sema->waiters = 0; in DRD_() 190 static void DRD_(sema_destroy)(DrdSema* sema) in DRD_() [all …]
|
/external/valgrind/main/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/qemu/include/qemu/ |
D | thread-win32.h | 12 HANDLE sema; member 17 HANDLE sema; member
|
/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 { 370 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes; 487 sema::DelayedDiagnosticPool *SavedPool; 498 sema::DelayedDiagnosticPool *CurPool; 504 void add(const sema::DelayedDiagnostic &diag); // in DelayedDiagnostic.h 510 sema::DelayedDiagnosticPool *getCurrentPool() const { in getCurrentPool() 516 DelayedDiagnosticsState push(sema::DelayedDiagnosticPool &pool) { in push() 1044 sema::LambdaScopeInfo *PushLambdaScope(); 1055 PopFunctionScopeInfo(const sema::AnalysisBasedWarnings::Policy *WP = nullptr, 1059 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 | AnalysisBasedWarnings.cpp | 1180 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() 1183 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; in diagnoseRepeatedUseOfWeak() 1184 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; in diagnoseRepeatedUseOfWeak() 1185 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; in diagnoseRepeatedUseOfWeak() 1265 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1267 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1711 clang::sema::AnalysisBasedWarnings::Policy::Policy() { in Policy() 1722 clang::sema::AnalysisBasedWarnings::AnalysisBasedWarnings(Sema &s) in AnalysisBasedWarnings() 1750 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in flushDiagnostics() 1755 void clang::sema:: [all …]
|
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 | DelayedDiagnostic.cpp | 20 using namespace sema;
|
D | ScopeInfo.cpp | 23 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/main/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
|