Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
D15-1.c90 sem_t *sems[4]; in main() local
98 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
100 if (sems[i] == SEM_FAILED) { in main()
108 if (sems[i] != sems[i + 1]) { in main()
113 ret = sem_close(sems[i]); in main()
122 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
124 if (sems[i] == SEM_FAILED) { in main()
132 if (sems[i] != sems[i + 1]) { in main()
139 ret = sem_close(sems[i]); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
D7-1.c85 sem_t *sems; in main() local
100 sems = (sem_t *) calloc(max, sizeof(sem_t)); in main()
102 if (sems == NULL) { in main()
107 ret = sem_init(&sems[i], 0, 0); in main()
117 sem_destroy(&sems[i - 1]); in main()
119 free(sems); in main()
137 sem_destroy(&sems[i]); in main()
139 free(sems); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_open/
Ds-c1.c109 sem_t *sems[BLOCKSIZE]; member
127 test_t sems; in main() local
129 struct __test_t *sems_cur = &sems, *sems_tmp; in main()
184 sems_tmp->sems[i] = in main()
187 if (sems_tmp->sems[i] == SEM_FAILED) { in main()
228 ret = sem_close(sems_tmp->sems[i]); in main()
293 while (sems_cur != &sems) { in main()
304 ret = sem_close(sems_cur->sems[i]); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_init/
Ds-c1.c110 sem_t sems[BLOCKSIZE]; member
127 test_t sems; local
129 struct __test_t *sems_cur = &sems, *sems_tmp;
183 ret = sem_init(&(sems_tmp->sems[i]), i & 1, i & 3);
223 ret = sem_destroy(&(sems_tmp->sems[i]));
283 while (sems_cur != &sems) {
294 ret = sem_destroy(&(sems_cur->sems[i]));
/external/icu/icu4c/source/data/unit/
Des_419.txt166 other{"{0}sems."}
264 dnam{"sems."}
266 other{"{0} sems."}
Des_CO.txt46 other{"{0} sems."}