Home
last modified time | relevance | path

Searched refs:sema (Results 1 – 20 of 20) 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/flutter/skia/src/gpu/gl/
DGrGLSemaphore.h26 auto sema = sk_sp<GrGLSemaphore>(new GrGLSemaphore(gpu, in MakeWrapped() local
28 sema->setSync(sync); in MakeWrapped()
29 return sema; in MakeWrapped()
/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/gstreamer/gstplugins_bad/sys/applemedia/
Diosassetsrc.m454 dispatch_semaphore_t sema = dispatch_semaphore_create(0);
464 dispatch_semaphore_signal(sema);
470 dispatch_semaphore_signal(sema);
475 dispatch_semaphore_wait(sema, DISPATCH_TIME_FOREVER);
Davfvideosrc.m458 dispatch_semaphore_t sema = dispatch_semaphore_create(0);
462 dispatch_semaphore_signal(sema);
467 dispatch_semaphore_wait(sema, DISPATCH_TIME_FOREVER);
469 while (dispatch_semaphore_wait(sema, DISPATCH_TIME_NOW)) {
/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/flutter/skia/src/gpu/
DGrContext.cpp266 sk_sp<GrSemaphore> sema = fResourceProvider->wrapBackendSemaphore( in wait() local
269 fGpu->waitSemaphore(std::move(sema)); in wait()
DGrRenderTargetContext.cpp2008 sk_sp<GrSemaphore> sema = resourceProvider->wrapBackendSemaphore( in waitOnSemaphores() local
2011 std::unique_ptr<GrOp> waitOp(GrSemaphoreOp::MakeWait(fContext, std::move(sema), in waitOnSemaphores()
/third_party/skia/src/gpu/
DGrDirectContext.cpp400 std::unique_ptr<GrSemaphore> sema = fResourceProvider->wrapBackendSemaphore( in wait() local
404 if (sema) { in wait()
405 fGpu->waitSemaphore(sema.get()); in wait()
/third_party/flutter/skia/src/image/
DSkImage_Gpu.cpp515 sk_sp<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); in MakeCrossContextFromPixmap() local
518 std::move(sema), pixmap->colorType(), in MakeCrossContextFromPixmap()
/third_party/skia/src/image/
DSkImage_Gpu.cpp672 std::unique_ptr<GrSemaphore> sema = gpu->prepareTextureForCrossContextUsage(texture.get()); in MakeCrossContextFromPixmap() local
676 std::move(sema), skCT, in MakeCrossContextFromPixmap()
/third_party/node/deps/npm/node_modules/mime-db/
DHISTORY.md264 - `application/vnd-sema`
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dto.txt640 "Tīsema",
684 "Tīsema",
/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/icu/icu4c/source/data/locales/
Dto.txt743 "Tīsema",
787 "Tīsema",
/third_party/skia/third_party/externals/icu/source/data/locales/
Dto.txt743 "Tīsema",
787 "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