Searched refs:sem2 (Results 1 – 1 of 1) sorted by relevance
87 sem_t* sem2 = sem_open(kSemName1, 0); in test_open_close_unlink() local88 assert_posix_bool_success(sem2 != SEM_FAILED); in test_open_close_unlink()89 assert_equals(sem, sem2); in test_open_close_unlink()115 sem2 = sem_open(kSemName1, O_CREAT | O_EXCL, S_IRUSR | S_IWUSR, 2); in test_open_close_unlink()116 assert_posix_bool_success(sem2 != SEM_FAILED); in test_open_close_unlink()117 assert_equals_not(sem, sem2); in test_open_close_unlink()133 assert_posix_success(sem_close(sem2)); in test_open_close_unlink()161 sem_t sem2; in test_init_destroy() local162 assert_posix_success(sem_init(&sem2, 0, 2)); in test_init_destroy()170 assert_posix_success(sem_destroy(&sem2)); in test_init_destroy()