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

/external/valgrind/main/coregrind/m_scheduler/
H A Dsched-lock-generic.c41 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);
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/qemu/include/qemu/
H A Dthread-win32.h12 HANDLE sema; member in struct:QemuCond
17 HANDLE sema; member in struct:QemuSemaphore
/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
173 } // 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.h50 namespace sema { namespace in namespace:clang
817 } // end namespace sema
H A DSema.h188 namespace sema { namespace in namespace:clang
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 {
516 DelayedDiagnosticsState push(sema::DelayedDiagnosticPool &pool) {
958 ///\param[in] E - A non-null external sema source.
1044 sema::LambdaScopeInfo *PushLambdaScope();
1055 PopFunctionScopeInfo(const sema
[all...]
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
H A DSDL_syssem.cpp84 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/valgrind/main/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/chromium_org/third_party/mesa/src/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/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/main/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);
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 DSemaTemplateInstantiate.cpp28 using namespace sema;
207 sema::TemplateDeductionInfo *DeductionInfo) {
265 sema::TemplateDeductionInfo &DeductionInfo,
277 sema::TemplateDeductionInfo &DeductionInfo,
290 sema::TemplateDeductionInfo &DeductionInfo, SourceRange InstantiationRange)
1817 namespace sema { namespace in namespace:clang
2700 // 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:__anon18108::TypeProcessingState
152 TypeProcessingState(Sema &sema, Declarator &declarator) argument
153 : sema(sema), declarator(declarator),
158 return sema;
1000 // index, and update sema's state (LambdaScopeInfo) for the current lambda
1003 sema::LambdaScopeInfo *LSI = S.getCurLambda();
1301 sema::DelayedDiagnostic::makeForbiddenType(loc,
4139 sema::DelayedDiagnostic::makeForbiddenType(
5522 using namespace sema;
[all...]

Completed in 516 milliseconds