Home
last modified time | relevance | path

Searched refs:sem_init (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Dsemaphore_test.cpp29 TEST(semaphore, sem_init) { in TEST() argument
33 ASSERT_EQ(0, sem_init(&s, 0, 0)); in TEST()
34 ASSERT_EQ(0, sem_init(&s, 0, 1)); in TEST()
35 ASSERT_EQ(0, sem_init(&s, 0, 123)); in TEST()
39 ASSERT_EQ(-1, sem_init(&s, 0, -1)); in TEST()
45 ASSERT_EQ(0, sem_init(&s, 0, SEM_VALUE_MAX)); in TEST()
49 ASSERT_EQ(-1, sem_init(&s, 0, SEM_VALUE_MAX + 1)); in TEST()
57 ASSERT_EQ(0, sem_init(&s, 0, 3)); in TEST()
78 ASSERT_EQ(0, sem_init(&s, 0, 0)); in TEST()
107 ASSERT_EQ(0, sem_init(&s, 0, 0)); in sem_timedwait_helper()
[all …]
/bionic/benchmarks/
Dsemaphore_benchmark.cpp28 sem_init(&semaphore, 1, 1); in BM_semaphore_sem_getvalue()
39 sem_init(&semaphore, 1, 1); in BM_semaphore_sem_wait_sem_post()
/bionic/tests/headers/posix/
Dsemaphore_h.c41 FUNCTION(sem_init, int (*f)(sem_t*, int, unsigned)); in semaphore_h()
/bionic/libc/include/
Dsemaphore.h51 int sem_init(sem_t* __sem, int __shared, unsigned int __value);
/bionic/libc/bionic/
Dsemaphore.cpp103 int sem_init(sem_t* sem, int pshared, unsigned int value) { in sem_init() function
/bionic/libc/tools/
Dposix-2013.txt893 sem_init
/bionic/tools/versioner/platforms/
Dlibc.map.txt905 sem_init;
/bionic/libc/
Dlibc.map.txt905 sem_init;
/bionic/benchmarks/linker_relocation/gen/
Dlinker_reloc_bench_main.S3590 CALL(sem_init)
Dliblinker_reloc_bench_030.S19078 CALL(sem_init)