/external/valgrind/main/coregrind/m_scheduler/ |
H A D | sema.c | 3 /*--- Semaphore stuff. sema.c ---*/ 44 Slower (than the removed futex-based sema scheme) but more portable 55 void ML_(sema_init)(vg_sema_t *sema) argument 59 r = VG_(pipe)(sema->pipe); 62 vg_assert(sema->pipe[0] != sema->pipe[1]); 64 sema->pipe[0] = VG_(safe_fd)(sema->pipe[0]); 65 sema->pipe[1] = VG_(safe_fd)(sema 86 sema_deinit(vg_sema_t *sema) argument 98 sema_down( vg_sema_t *sema, Bool as_LL ) argument 130 sema_up( vg_sema_t *sema, Bool as_LL ) argument [all...] |
H A D | priv_sema.h | 43 void ML_(sema_init) ( vg_sema_t *sema ); 44 void ML_(sema_deinit) ( vg_sema_t *sema ); 45 void ML_(sema_down) ( vg_sema_t *sema, Bool as_LL ); 46 void ML_(sema_up) ( vg_sema_t *sema, Bool as_LL );
|
H A D | sched-lock-generic.c | 41 vg_sema_t sema; member in struct:sched_lock 55 ML_(sema_init)(&p->sema); 61 ML_(sema_deinit)(&p->sema); 67 return p->sema.owner_lwpid; 72 ML_(sema_down)(&p->sema, False); 77 ML_(sema_up)(&p->sema, False);
|
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/ |
H A D | SDL_syssem.cpp | 84 RSemaphore sema; local 85 sema.SetHandle(sem->handle); 87 sema.Signal(); 88 sema.Close(); 111 RSemaphore sema; local 112 sema.SetHandle(info->iHandle); 113 sema.Signal(); 125 RSemaphore sema; local 126 sema.SetHandle(sem->handle); 127 sema 149 RSemaphore sema; local 210 RSemaphore sema; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
H A D | os_thread.h | 403 pipe_semaphore_init(pipe_semaphore *sema, int init_val) argument 405 pipe_mutex_init(sema->mutex); 406 pipe_condvar_init(sema->cond); 407 sema->counter = init_val; 411 pipe_semaphore_destroy(pipe_semaphore *sema) argument 413 pipe_mutex_destroy(sema->mutex); 414 pipe_condvar_destroy(sema->cond); 419 pipe_semaphore_signal(pipe_semaphore *sema) argument 421 pipe_mutex_lock(sema->mutex); 422 sema 429 pipe_semaphore_wait(pipe_semaphore *sema) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_thread.h | 403 pipe_semaphore_init(pipe_semaphore *sema, int init_val) argument 405 pipe_mutex_init(sema->mutex); 406 pipe_condvar_init(sema->cond); 407 sema->counter = init_val; 411 pipe_semaphore_destroy(pipe_semaphore *sema) argument 413 pipe_mutex_destroy(sema->mutex); 414 pipe_condvar_destroy(sema->cond); 419 pipe_semaphore_signal(pipe_semaphore *sema) argument 421 pipe_mutex_lock(sema->mutex); 422 sema 429 pipe_semaphore_wait(pipe_semaphore *sema) argument [all...] |
/external/clang/include/clang/Sema/ |
H A D | AnalysisBasedWarnings.h | 27 namespace sema { namespace in namespace:clang 31 namespace sema { namespace in namespace:clang 100 }} // end namespace clang::sema
|
H A D | DelayedDiagnostic.h | 27 namespace sema { namespace in namespace:clang 276 inline void Sema::DelayedDiagnostics::add(const sema::DelayedDiagnostic &diag) {
|
H A D | TemplateDeduction.h | 25 namespace sema { namespace in namespace:clang 166 } // end namespace sema
|
H A D | Sema.h | 184 namespace sema { namespace in namespace:clang 292 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes; 410 sema::DelayedDiagnosticPool *SavedPool; 421 sema::DelayedDiagnosticPool *CurPool; 427 void add(const sema::DelayedDiagnostic &diag); // in DelayedDiagnostic.h 433 sema::DelayedDiagnosticPool *getCurrentPool() const { 439 DelayedDiagnosticsState push(sema::DelayedDiagnosticPool &pool) { 885 ///\param[in] E - A non-null external sema source. 972 void PopFunctionScopeInfo(const sema::AnalysisBasedWarnings::Policy *WP =0, 975 sema [all...] |
H A D | ScopeInfo.h | 44 namespace sema { namespace in namespace:clang 663 } // end namespace sema
|
/external/valgrind/main/drd/tests/ |
H A D | pth_broadcast.c | 143 struct csema sema; local 147 csema_ctr(&sema); 153 p->m_sema = &sema; 161 csema_p(&sema, thread_count); 176 csema_dtr(&sema);
|
/external/valgrind/main/drd/ |
H A 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) argument 184 DRD_IGNORE_VAR(sema->counter); 185 pthread_mutex_init(&sema->mutex, NULL); 186 sema->counter = 0; 187 sema->waiters = 0; 190 static void DRD_(sema_destroy)(DrdSema* sema) argument 195 sema_down(DrdSema* sema) argument 227 sema_up(DrdSema* sema) argument [all...] |
/external/clang/lib/Sema/ |
H A D | DelayedDiagnostic.cpp | 20 using namespace sema;
|
H A D | SemaStmtAttr.cpp | 25 using namespace sema;
|
H A D | AnalysisBasedWarnings.cpp | 951 sema::FunctionScopeInfo::WeakObjectUseMap::const_iterator> 995 const sema::FunctionScopeInfo *CurFn, 998 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; 999 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; 1000 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; 1074 if (isa<sema::BlockScopeInfo>(CurFn)) 1076 else if (isa<sema::LambdaScopeInfo>(CurFn)) 1419 clang::sema::AnalysisBasedWarnings::Policy::Policy() { 1425 clang::sema::AnalysisBasedWarnings::AnalysisBasedWarnings(Sema &s) 1446 static void flushDiagnostics(Sema &S, sema [all...] |
H A D | ScopeInfo.cpp | 23 using namespace sema;
|
H A D | Sema.cpp | 45 using namespace sema; 232 ///\param[in] E - A non-null external sema source. 1021 for (SmallVectorImpl<sema::PossiblyUnreachableDiag>::iterator 1025 const sema::PossiblyUnreachableDiag &D = *i;
|
H A D | SemaStmtAsm.cpp | 26 using namespace sema;
|
H A D | SemaTemplateVariadic.cpp | 214 if (sema::LambdaScopeInfo *LSI = 215 dyn_cast<sema::LambdaScopeInfo>(FunctionScopes[N-1])) {
|
H A D | SemaTemplateInstantiate.cpp | 27 using namespace sema; 263 sema::TemplateDeductionInfo &DeductionInfo, 291 sema::TemplateDeductionInfo &DeductionInfo, 316 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange) 1900 namespace sema { namespace in namespace:clang 2756 // If we didn't find the decl, then we either have a sema bug, or we have a
|
/external/clang/lib/Parse/ |
H A D | RAIIObjectsForParser.h | 46 sema::DelayedDiagnosticPool DiagnosticPool; 86 sema::DelayedDiagnosticPool DiagnosticPool; 102 const sema::DelayedDiagnosticPool *parentPool) 124 sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() { 127 const sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() const { 180 const sema::DelayedDiagnosticPool &getDelayedDiagnosticPool() const {
|
/external/clang/include/clang/Basic/ |
H A D | Makefile | 53 $(Verb) $(ClangTableGen) -gen-arm-neon-sema -o $(call SYSPATH, $@) $<
|
/external/clang/lib/ARCMigrate/ |
H A D | Internals.h | 154 Sema &sema, TransformActions &TA, 158 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags), 153 MigrationPass(ASTContext &Ctx, LangOptions::GCMode OrigGCMode, Sema &sema, TransformActions &TA, const CapturedDiagList &capturedDiags, std::vector<SourceLocation> &ARCMTMacroLocs) argument
|
/external/clang/ |
H A D | clang-tblgen-rules.mk | 209 $(call transform-host-clang-td-to-out,arm-neon-sema)
|