Home
last modified time | relevance | path

Searched refs:sems (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
D15-1.c88 sem_t *sems[4]; in main() local
96 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
98 if (sems[i] == SEM_FAILED) { in main()
106 if (sems[i] != sems[i + 1]) { in main()
111 ret = sem_close(sems[i]); in main()
120 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
122 if (sems[i] == SEM_FAILED) { in main()
130 if (sems[i] != sems[i + 1]) { in main()
137 ret = sem_close(sems[i]); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
D7-1.c83 sem_t *sems; in main() local
98 sems = (sem_t *) calloc(max, sizeof(sem_t)); in main()
100 if (sems == NULL) { in main()
105 ret = sem_init(&sems[i], 0, 0); in main()
115 sem_destroy(&sems[i - 1]); in main()
117 free(sems); in main()
135 sem_destroy(&sems[i]); in main()
137 free(sems); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c106 sem_t *sems[BLOCKSIZE]; member
124 test_t sems; in main() local
126 struct __test_t *sems_cur = &sems, *sems_tmp; in main()
181 sems_tmp->sems[i] = in main()
184 if (sems_tmp->sems[i] == SEM_FAILED) { in main()
225 ret = sem_close(sems_tmp->sems[i]); in main()
290 while (sems_cur != &sems) { in main()
301 ret = sem_close(sems_cur->sems[i]); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ds-c1.c107 sem_t sems[BLOCKSIZE]; member
124 test_t sems; local
126 struct __test_t *sems_cur = &sems, *sems_tmp;
180 ret = sem_init(&(sems_tmp->sems[i]), i & 1, i & 3);
220 ret = sem_destroy(&(sems_tmp->sems[i]));
280 while (sems_cur != &sems) {
291 ret = sem_destroy(&(sems_cur->sems[i]));
/external/icu/icu4c/source/data/unit/
Des_419.txt126 other{"{0}sems."}
225 dnam{"sems."}
227 other{"{0} sems."}
Des_CO.txt46 other{"{0} sems."}
/external/mesa3d/src/amd/vulkan/
Dradv_device.c4010 struct radv_semaphore_part **sems, in radv_alloc_sem_counts() argument
4021 switch(sems[i]->kind) { in radv_alloc_sem_counts()
4070 switch(sems[i]->kind) { in radv_alloc_sem_counts()
4075 counts->syncobj[syncobj_idx++] = sems[i]->syncobj; in radv_alloc_sem_counts()
4078 counts->sem[sem_idx++] = sems[i]->ws_sem; in radv_alloc_sem_counts()
4081 pthread_mutex_lock(&sems[i]->timeline.mutex); in radv_alloc_sem_counts()
4084 point = radv_timeline_add_point_locked(device, &sems[i]->timeline, timeline_values[i]); in radv_alloc_sem_counts()
4086 … point = radv_timeline_find_point_at_least_locked(device, &sems[i]->timeline, timeline_values[i]); in radv_alloc_sem_counts()
4089 pthread_mutex_unlock(&sems[i]->timeline.mutex); in radv_alloc_sem_counts()
4096 sems[i] = NULL; in radv_alloc_sem_counts()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_queue.c500 uint32_t count, const VkSemaphore *sems) in process_semaphores_to_signal() argument
513 struct v3dv_semaphore *sem = v3dv_semaphore_from_handle(sems[i]); in process_semaphores_to_signal()
/external/apache-commons-bcel/docs/verifier/
DJustIce.lyx10008 It sems natural that Sun's verifier implements the specification by Sun.