Home
last modified time | relevance | path

Searched refs:SEM_VALUE_MAX (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.cpp105 if (value > SEM_VALUE_MAX) { in sem_init()
198 if (SEMCOUNT_TO_VALUE(old_value) == SEM_VALUE_MAX) { in __sem_inc()
297 } else if (old_value == SEM_VALUE_MAX) { in sem_post()
Dsysconf.cpp141 case _SC_SEM_VALUE_MAX: return SEM_VALUE_MAX; in sysconf()
/bionic/tests/
Dsemaphore_test.cpp42 ASSERT_EQ(SEM_VALUE_MAX, sysconf(_SC_SEM_VALUE_MAX)); 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()
/bionic/libc/include/
Dlimits.h137 #define SEM_VALUE_MAX 0x3fffffff macro
/bionic/tests/headers/posix/
Dlimits_h.c76 MACRO(SEM_VALUE_MAX); in limits_h()