Home
last modified time | relevance | path

Searched refs:sema (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h78 pipe_semaphore_init(pipe_semaphore *sema, int init_val) in pipe_semaphore_init() argument
80 (void) mtx_init(&sema->mutex, mtx_plain); in pipe_semaphore_init()
81 cnd_init(&sema->cond); in pipe_semaphore_init()
82 sema->counter = init_val; in pipe_semaphore_init()
86 pipe_semaphore_destroy(pipe_semaphore *sema) in pipe_semaphore_destroy() argument
88 mtx_destroy(&sema->mutex); in pipe_semaphore_destroy()
89 cnd_destroy(&sema->cond); in pipe_semaphore_destroy()
94 pipe_semaphore_signal(pipe_semaphore *sema) in pipe_semaphore_signal() argument
96 mtx_lock(&sema->mutex); in pipe_semaphore_signal()
97 sema->counter++; in pipe_semaphore_signal()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dsemaphore-win32.c32 HANDLE sema; member
40 s->sema = CreateSemaphore(NULL, value, 32767, NULL); in pa_semaphore_new()
41 pa_assert(s->sema != NULL); in pa_semaphore_new()
48 CloseHandle(s->sema); in pa_semaphore_free()
54 ReleaseSemaphore(s->sema, 1, NULL); in pa_semaphore_post()
59 WaitForSingleObject(s->sema, INFINITE); in pa_semaphore_wait()
/third_party/skia/src/gpu/gl/
DGrGLSemaphore.h26 auto sema = std::unique_ptr<GrGLSemaphore>( in MakeWrapped() local
28 sema->setSync(sync); in MakeWrapped()
29 return sema; in MakeWrapped()
/third_party/lwip/test/unit/arch/
Dsys_arch.h36 #define sys_sem_valid(sema) ((sema) != NULL) argument
/third_party/python/Lib/test/
Dtest_threading.py56 def __init__(self, name, testcase, sema, mutex, nrunning): argument
59 self.sema = sema
69 with self.sema:
140 sema = threading.BoundedSemaphore(value=3)
147 t = TestThread("<thread %d>"%i, self, sema, mutex, numrunning)
Dmime.types832 application/vnd.sema sema
/third_party/skia/src/gpu/
DGrDirectContext.cpp410 std::unique_ptr<GrSemaphore> sema = fResourceProvider->wrapBackendSemaphore( in wait() local
414 if (sema) { in wait()
415 fGpu->waitSemaphore(sema.get()); in wait()
/third_party/skia/src/image/
DSkImage_Gpu.cpp675 std::unique_ptr<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); in MakeCrossContextFromPixmap() local
679 std::move(sema), skCT, in MakeCrossContextFromPixmap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsAMDGPU.td1419 // llvm.amdgcn.ds.gws.sema.v(i32 resource_id)
1428 // llvm.amdgcn.ds.gws.sema.br(i32 vsrc, i32 resource_id)
1437 // llvm.amdgcn.ds.gws.sema.p(i32 resource_id)
1446 // llvm.amdgcn.ds.gws.sema.release.all(i32 resource_id)
/third_party/skia/third_party/externals/icu/source/data/locales/
Dto.txt743 "Tīsema",
787 "Tīsema",
/third_party/icu/icu4c/source/data/locales/
Dto.txt766 "Tīsema",
810 "Tīsema",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicImpl.inc906 "llvm.amdgcn.ds.gws.sema.br",
907 "llvm.amdgcn.ds.gws.sema.p",
908 "llvm.amdgcn.ds.gws.sema.release.all",
909 "llvm.amdgcn.ds.gws.sema.v",
11039 73, // llvm.amdgcn.ds.gws.sema.br
11040 73, // llvm.amdgcn.ds.gws.sema.p
11041 73, // llvm.amdgcn.ds.gws.sema.release.all
11042 73, // llvm.amdgcn.ds.gws.sema.v