Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 25 of 248) sorted by relevance

12345678910

/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_behavior_test.cc45 auto* sem = Sem().Get(stmt); in TEST_F() local
56 auto* sem = Sem().Get(stmt); in TEST_F() local
67 auto* sem = Sem().Get(stmt); in TEST_F() local
85 auto* sem = Sem().Get(stmt); in TEST_F() local
98 auto* sem = Sem().Get(stmt); in TEST_F() local
111 auto* sem = Sem().Get(stmt); in TEST_F() local
124 auto* sem = Sem().Get(stmt); in TEST_F() local
135 auto* sem = Sem().Get(stmt); in TEST_F() local
147 auto* sem = Sem().Get(stmt); in TEST_F() local
158 auto* sem = Sem().Get(stmt); in TEST_F() local
[all …]
Dresolver_constants_test.cc35 auto* sem = Sem().Get(expr); in TEST_F() local
50 auto* sem = Sem().Get(expr); in TEST_F() local
65 auto* sem = Sem().Get(expr); in TEST_F() local
80 auto* sem = Sem().Get(expr); in TEST_F() local
95 auto* sem = Sem().Get(expr); in TEST_F() local
114 auto* sem = Sem().Get(expr); in TEST_F() local
133 auto* sem = Sem().Get(expr); in TEST_F() local
152 auto* sem = Sem().Get(expr); in TEST_F() local
171 auto* sem = Sem().Get(expr); in TEST_F() local
190 auto* sem = Sem().Get(expr); in TEST_F() local
[all …]
Dstruct_layout_test.cc37 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
65 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
88 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
114 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
141 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
162 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
182 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
206 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
226 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
258 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
[all …]
Dstruct_storage_class_use_test.cc35 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
47 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
60 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
73 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
86 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
99 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
112 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
125 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
138 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
151 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
[all …]
Dstruct_pipeline_stage_use_test.cc35 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
47 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
59 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
74 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
89 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
103 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
117 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
133 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
151 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
167 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local
[all …]
Dresolver.cc492 auto* sem = Sem<sem::GlobalVariable>(var); in AllocateOverridableConstantIds() local
510 auto* sem = Variable(var, VariableKind::kGlobal); in GlobalVariable() local
815 auto* sem = Statement(stmt); in Statements() local
900 auto* sem = builder_->create<sem::CaseStatement>( in CaseStatement() local
918 auto* sem = builder_->create<sem::IfStatement>( in IfStatement() local
960 auto* sem = builder_->create<sem::ElseStatement>( in ElseStatement() local
990 auto* sem = builder_->create<sem::BlockStatement>( in BlockStatement() local
998 auto* sem = builder_->create<sem::LoopStatement>( in LoopStatement() local
1042 auto* sem = builder_->create<sem::ForLoopStatement>( in ForLoopStatement() local
1212 auto* sem = in IndexAccessor() local
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dsemaphore.h44 LosSemCB *sem; member
59 #define init_MUTEX(sem) _sema_init((losMutexDef_t*)(sem), 1) argument
60 #define destory_MUTEX(sem) _sema_destory((losMutexDef_t*)(sem)) argument
61 #define init_MUTEX_LOCKED(sem) (VOID)_sema_init((losMutexDef_t*)(sem), 0); argument
62 #define down(sem) _sema_lock((losMutexDef_t*)(sem)) argument
63 #define down_interruptible(sem) _sema_lock((losMutexDef_t*)(sem)) argument
64 #define down_trylock(sem) _sema_trylock((losMutexDef_t*)(sem)) argument
65 #define up(sem) _sema_unlock((losMutexDef_t*)(sem)) argument
67 #define sema_init(sem, n) do { \ argument
75 #define sema_destory(sem) do { \ argument
Drwsem.h40 #define down_read(sem) _sema_lock((losMutexDef_t*)(sem)) argument
41 #define down_read_trylock(sem) _sema_trylock((losMutexDef_t*)(sem)) argument
42 #define down_write(sem) _sema_lock((losMutexDef_t*)(sem)) argument
43 #define down_write_trylock(sem) _sema_trylock((losMutexDef_t*)(sem)) argument
44 #define up_read(sem) _sema_unlock((losMutexDef_t*)(sem)) argument
45 #define up_write(sem) _sema_unlock((losMutexDef_t*)(sem)) argument
46 #define downgrade_write(sem) argument
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkIPC.inl81 void ipc_sem_init (ipc_sharedsemaphore* sem, char* name)
134 int ipc_sem_create (ipc_sharedsemaphore* sem, int initialvalue)
142 void ipc_sem_close (ipc_sharedsemaphore* sem)
149 void ipc_sem_increment (ipc_sharedsemaphore* sem)
154 void ipc_sem_decrement (ipc_sharedsemaphore* sem)
159 int ipc_sem_try_decrement (ipc_sharedsemaphore* sem)
215 int ipc_sem_create (ipc_sharedsemaphore* sem, int initialvalue)
223 void ipc_sem_close (ipc_sharedsemaphore* sem)
230 void ipc_sem_increment (ipc_sharedsemaphore* sem)
235 void ipc_sem_decrement (ipc_sharedsemaphore* sem)
[all …]
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
DdeSemaphoreUnix.c36 sem_t* sem = (sem_t*)deMalloc(sizeof(sem_t)); in deSemaphore_create() local
55 sem_t* sem = (sem_t*)semaphore; in deSemaphore_destroy() local
63 sem_t* sem = (sem_t*)semaphore; in deSemaphore_increment() local
71 sem_t* sem = (sem_t*)semaphore; in deSemaphore_decrement() local
79 sem_t* sem = (sem_t*)semaphore; in deSemaphore_tryDecrement() local
DdeSemaphoreMach.c38 semaphore_t sem; in deSemaphore_create() local
51 semaphore_t sem = (semaphore_t)semaphore; in deSemaphore_destroy() local
59 semaphore_t sem = (semaphore_t)semaphore; in deSemaphore_increment() local
67 semaphore_t sem = (semaphore_t)semaphore; in deSemaphore_decrement() local
75 semaphore_t sem = (semaphore_t)semaphore; in deSemaphore_tryDecrement() local
DdeNamedSemaphoreUnix.c39 static void NamedSemaphore_getName (const NamedSemaphore* sem, char* buf, int bufSize) in NamedSemaphore_getName()
48 NamedSemaphore* sem = (NamedSemaphore*)deCalloc(sizeof(NamedSemaphore)); in deSemaphore_create() local
72 NamedSemaphore* sem = (NamedSemaphore*)semaphore; in deSemaphore_destroy() local
88 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; in deSemaphore_increment() local
96 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; in deSemaphore_decrement() local
104 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; in deSemaphore_tryDecrement() local
/third_party/libuv/src/unix/
Dthread.c446 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init()
462 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
468 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
474 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
486 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait()
548 uv_semaphore_t* sem; in uv__custom_sem_init() local
572 uv_semaphore_t* sem; in uv__custom_sem_destroy() local
582 uv_semaphore_t* sem; in uv__custom_sem_post() local
594 uv_semaphore_t* sem; in uv__custom_sem_wait() local
606 uv_semaphore_t* sem; in uv__custom_sem_trywait() local
[all …]
/third_party/node/deps/uv/src/unix/
Dthread.c446 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init()
462 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
468 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
474 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
486 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait()
548 uv_semaphore_t* sem; in uv__custom_sem_init() local
572 uv_semaphore_t* sem; in uv__custom_sem_destroy() local
582 uv_semaphore_t* sem; in uv__custom_sem_post() local
594 uv_semaphore_t* sem; in uv__custom_sem_wait() local
606 uv_semaphore_t* sem; in uv__custom_sem_trywait() local
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_semaphore.c39 int _sema_init(losMutexDef_t *sem, unsigned int value) in _sema_init()
58 int _sema_lock(losMutexDef_t *sem) in _sema_lock()
80 int _sema_trylock(losMutexDef_t *sem) in _sema_trylock()
96 int _sema_unlock(losMutexDef_t *sem) in _sema_unlock()
112 int _sema_destory(losMutexDef_t *sem) in _sema_destory()
/third_party/musl/porting/linux/user/src/thread/
Dsem_timedwait.c8 int __sem_timedwait(sem_t *restrict sem, const struct timespec *restrict at) in __sem_timedwait()
27 int sem_timedwait(sem_t *restrict sem, const struct timespec *restrict at) in sem_timedwait()
/third_party/musl/src/thread/
Dsem_timedwait.c9 int __sem_timedwait(sem_t *restrict sem, const struct timespec *restrict at) in __sem_timedwait()
29 int sem_timedwait(sem_t *restrict sem, const struct timespec *restrict at) in sem_timedwait()
/third_party/lwip/test/unit/arch/
Dsys_arch.c75 sys_sem_new(sys_sem_t *sem, u8_t count) in sys_sem_new()
83 sys_sem_free(sys_sem_t *sem) in sys_sem_free()
90 sys_sem_set_invalid(sys_sem_t *sem) in sys_sem_set_invalid()
98 sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) in sys_arch_sem_wait()
140 sys_sem_signal(sys_sem_t *sem) in sys_sem_signal()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D2-2.c89 sem_t *sem; in common() local
132 sem_t *sem; in main() local
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkQueue.cpp215 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue() local
220 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue() local
242 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pSignalSemaphores[j])) in submitQueue() local
247 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pSignalSemaphores[j])) in submitQueue() local
/third_party/libuv/test/
Dtest-semaphore.c30 uv_sem_t sem; member
96 uv_sem_t sem; in TEST_IMPL() local
/third_party/python/Modules/_multiprocessing/
Dsemaphore.c54 #define SEM_CLOSE(sem) (CloseHandle(sem) ? 0 : -1) argument
55 #define SEM_GETVALUE(sem, pval) _GetSemaphoreValue(sem, pval) argument
215 #define SEM_CLOSE(sem) sem_close(sem) argument
216 #define SEM_GETVALUE(sem, pval) sem_getvalue(sem, pval) argument
231 # define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save) argument
234 sem_timedwait_save(sem_t *sem, struct timespec *deadline, PyThreadState *_save) in sem_timedwait_save()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c81 sem_t *sem, *sem_1; in child_fn() local
119 sem_t *sem, *sem_1; in main() local
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages03.c85 void child(void **pages, sem_t * sem) in child()
131 sem_t *sem; in main() local
/third_party/node/deps/uv/src/win/
Dthread.c309 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init()
318 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
324 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
330 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
336 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait()

12345678910