Searched defs:sema (Results 1 - 13 of 13) sorted by relevance

/external/valgrind/coregrind/m_scheduler/
H A Dsched-lock-generic.c41 vg_sema_t sema; member in struct:sched_lock
54 ML_(sema_init)(&p->sema);
60 ML_(sema_deinit)(&p->sema);
66 return p->sema.owner_lwpid;
71 ML_(sema_down)(&p->sema, False);
76 ML_(sema_up)(&p->sema, False);
H A Dsema.c3 /*--- 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...]
/external/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h27 namespace sema { namespace in namespace:clang
31 namespace sema { namespace in namespace:clang
101 }} // end namespace clang::sema
H A DTemplateDeduction.h26 namespace sema { namespace in namespace:clang
169 } // end namespace sema
H A DDelayedDiagnostic.h28 namespace sema { namespace in namespace:clang
286 inline void Sema::DelayedDiagnostics::add(const sema::DelayedDiagnostic &diag) {
H A DScopeInfo.h49 namespace sema { namespace in namespace:clang
850 } // end namespace sema
H A DSema.h188 namespace sema { namespace in namespace:clang
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 {
509 DelayedDiagnosticsState push(sema::DelayedDiagnosticPool &pool) {
974 ///\param[in] E - A non-null external sema source.
1062 sema::LambdaScopeInfo *PushLambdaScope();
1073 PopFunctionScopeInfo(const sema
[all...]
/external/valgrind/drd/tests/
H A Dpth_broadcast.c143 struct csema sema; local
147 csema_ctr(&sema);
153 p->m_sema = &sema;
161 csema_p(&sema, thread_count);
176 csema_dtr(&sema);
/external/clang/lib/ARCMigrate/
H A DInternals.h157 Sema &sema, TransformActions &TA,
161 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
156 MigrationPass(ASTContext &Ctx, LangOptions::GCMode OrigGCMode, Sema &sema, TransformActions &TA, const CapturedDiagList &capturedDiags, std::vector<SourceLocation> &ARCMTMacroLocs) argument
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_thread.h403 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/valgrind/drd/
H A Ddrd_pthread_intercepts.c158 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) argument
190 DRD_IGNORE_VAR(*sema);
191 pthread_mutex_init(&sema->mutex, NULL);
192 DRD_(ignore_mutex_ordering)(&sema->mutex);
193 sema->counter = 0;
194 sema
197 sema_destroy(DrdSema* sema) argument
202 sema_down(DrdSema* sema) argument
234 sema_up(DrdSema* sema) argument
[all...]
/external/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp28 using namespace sema;
207 sema::TemplateDeductionInfo *DeductionInfo)
262 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange)
271 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange)
282 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange)
1851 namespace sema { namespace in namespace:clang
2799 // If we didn't find the decl, then we either have a sema bug, or we have a
H A DSemaType.cpp128 Sema &sema; member in class:__anon1240::TypeProcessingState
152 TypeProcessingState(Sema &sema, Declarator &declarator) argument
153 : sema(sema), declarator(declarator),
158 return sema;
1028 // index, and update sema's state (LambdaScopeInfo) for the current lambda
1031 sema::LambdaScopeInfo *LSI = S.getCurLambda();
1328 sema::DelayedDiagnostic::makeForbiddenType(loc,
4192 sema::DelayedDiagnostic::makeForbiddenType(
5533 using namespace sema;
[all...]

Completed in 491 milliseconds