/external/valgrind/main/coregrind/m_scheduler/ |
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) 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->pipe[1]) [all...] |
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 );
|
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);
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Semaphore.c | 44 sem_t *sema; local 46 sema = (sem_t *)Exynos_OSAL_Malloc(sizeof(sem_t)); 47 if (!sema) 50 if (sem_init(sema, 0, 0) != 0) { 51 Exynos_OSAL_Free(sema); 55 *semaphoreHandle = (OMX_HANDLETYPE)sema; 61 sem_t *sema = (sem_t *)semaphoreHandle; local 63 if (sema == NULL) 66 if (sem_destroy(sema) != 0) 69 Exynos_OSAL_Free(sema); 75 sem_t *sema = (sem_t *)semaphoreHandle; local 92 sem_t *sema = (sem_t *)semaphoreHandle; local 109 sem_t *sema = (sem_t *)semaphoreHandle; local 122 sem_t *sema = (sem_t *)semaphoreHandle; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/ |
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.Wait() 149 RSemaphore sema; local 210 RSemaphore sema; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dummy_threading.py | 12 global sema 20 sema.acquire() 34 sema.release() 38 global sema 39 sema = _threading.BoundedSemaphore(value=3)
|
test_threading.py | 32 def __init__(self, name, testcase, sema, mutex, nrunning): 35 self.sema = sema 45 with self.sema: 82 sema = threading.BoundedSemaphore(value=3) 89 t = TestThread("<thread %d>"%i, self, sema, mutex, numrunning)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dummy_threading.py | 12 global sema 20 sema.acquire() 34 sema.release() 38 global sema 39 sema = _threading.BoundedSemaphore(value=3)
|
test_threading.py | 32 def __init__(self, name, testcase, sema, mutex, nrunning): 35 self.sema = sema 45 with self.sema: 82 sema = threading.BoundedSemaphore(value=3) 89 t = TestThread("<thread %d>"%i, self, sema, mutex, numrunning)
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
os_thread.h | 403 pipe_semaphore_init(pipe_semaphore *sema, int init_val) 405 pipe_mutex_init(sema->mutex); 406 pipe_condvar_init(sema->cond); 407 sema->counter = init_val; 411 pipe_semaphore_destroy(pipe_semaphore *sema) 413 pipe_mutex_destroy(sema->mutex); 414 pipe_condvar_destroy(sema->cond); 419 pipe_semaphore_signal(pipe_semaphore *sema) 421 pipe_mutex_lock(sema->mutex); 422 sema->counter++ [all...] |
/external/mesa3d/src/gallium/auxiliary/os/ |
os_thread.h | 403 pipe_semaphore_init(pipe_semaphore *sema, int init_val) 405 pipe_mutex_init(sema->mutex); 406 pipe_condvar_init(sema->cond); 407 sema->counter = init_val; 411 pipe_semaphore_destroy(pipe_semaphore *sema) 413 pipe_mutex_destroy(sema->mutex); 414 pipe_condvar_destroy(sema->cond); 419 pipe_semaphore_signal(pipe_semaphore *sema) 421 pipe_mutex_lock(sema->mutex); 422 sema->counter++ [all...] |
/external/clang/include/clang/Sema/ |
AnalysisBasedWarnings.h | 1 //=- AnalysisBasedWarnings.h - Sema warnings based on libAnalysis -*- C++ -*-=// 10 // This file defines AnalysisBasedWarnings, a worker object used by Sema 26 class Sema; 27 namespace sema { namespace in namespace:clang 31 namespace sema { namespace in namespace:clang 47 Sema &S; 90 AnalysisBasedWarnings(Sema &s); 100 }} // end namespace clang::sema
|
/external/valgrind/main/drd/tests/ |
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/ |
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) 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) [all...] |
/external/clang/lib/Sema/ |
DelayedDiagnostic.cpp | 17 #include "clang/Sema/DelayedDiagnostic.h" 20 using namespace sema;
|
SemaStmtAttr.cpp | 14 #include "clang/Sema/SemaInternal.h" 19 #include "clang/Sema/DelayedDiagnostic.h" 20 #include "clang/Sema/Lookup.h" 21 #include "clang/Sema/ScopeInfo.h" 25 using namespace sema; 27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A, 48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A, 67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
|
AnalysisBasedWarnings.cpp | 1 //=- AnalysisBasedWarnings.cpp - Sema warnings based on libAnalysis -*- C++ -*-=// 11 // Together they are used by Sema to issue warnings based on inexpensive 16 #include "clang/Sema/AnalysisBasedWarnings.h" 38 #include "clang/Sema/ScopeInfo.h" 39 #include "clang/Sema/SemaInternal.h" 63 Sema &S; 65 UnreachableCodeHandler(Sema &s) : S(s) {} 74 static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) { 323 static void CheckFallThroughForBody(Sema &S, const Decl *D, const Stmt *Body, 433 static bool SuggestInitializationFixit(Sema &S, const VarDecl *VD) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
concurrence.h | 267 __mx->sema = __rmx->sema; 273 static typename __enable_if<sizeof(&_Rm::sema), void>::__type
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
concurrence.h | 267 __mx->sema = __rmx->sema; 273 static typename __enable_if<sizeof(&_Rm::sema), void>::__type
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
concurrence.h | 267 __mx->sema = __rmx->sema; 273 static typename __enable_if<sizeof(&_Rm::sema), void>::__type
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
concurrence.h | 261 __mx->sema = __rmx->sema; 267 static typename __enable_if<(bool)sizeof(&_Rm::sema), void>::__type
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
concurrence.h | 267 __mx->sema = __rmx->sema; 273 static typename __enable_if<sizeof(&_Rm::sema), void>::__type
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
concurrence.h | 261 __mx->sema = __rmx->sema; 267 static typename __enable_if<(bool)sizeof(&_Rm::sema), void>::__type
|
/external/clang/lib/Parse/ |
RAIIObjectsForParser.h | 20 #include "clang/Sema/DelayedDiagnostic.h" 21 #include "clang/Sema/Sema.h" 45 Sema &S; 46 sema::DelayedDiagnosticPool DiagnosticPool; 47 Sema::ParsingDeclState State; 85 Sema &Actions; 86 sema::DelayedDiagnosticPool DiagnosticPool; 87 Sema::ParsingDeclState State; 102 const sema::DelayedDiagnosticPool *parentPool [all...] |
/external/clang/lib/ARCMigrate/ |
Internals.h | 20 class Sema; 147 Sema &SemaRef; 154 Sema &sema, TransformActions &TA, 158 SemaRef(sema), TA(TA), CapturedDiags(capturedDiags),
|