Searched refs:sem_init (Results 1 – 10 of 10) sorted by relevance
/bionic/tests/ |
D | semaphore_test.cpp | 29 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/ |
D | semaphore_benchmark.cpp | 28 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/ |
D | semaphore_h.c | 41 FUNCTION(sem_init, int (*f)(sem_t*, int, unsigned)); in semaphore_h()
|
/bionic/libc/include/ |
D | semaphore.h | 51 int sem_init(sem_t* __sem, int __shared, unsigned int __value);
|
/bionic/libc/bionic/ |
D | semaphore.cpp | 103 int sem_init(sem_t* sem, int pshared, unsigned int value) { in sem_init() function
|
/bionic/libc/tools/ |
D | posix-2013.txt | 893 sem_init
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 905 sem_init;
|
/bionic/libc/ |
D | libc.map.txt | 905 sem_init;
|
/bionic/benchmarks/linker_relocation/gen/ |
D | linker_reloc_bench_main.S | 3590 CALL(sem_init)
|
D | liblinker_reloc_bench_030.S | 19078 CALL(sem_init)
|