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

/bionic/libc/bionic/
H A Dsemaphore.cpp106 if (value > SEM_VALUE_MAX) {
187 // NOTE: The value will _not_ wrap above SEM_VALUE_MAX
198 // Can't go higher than SEM_VALUE_MAX.
199 if (SEMCOUNT_TO_VALUE(old_value) == SEM_VALUE_MAX) {
278 } else if (old_value == SEM_VALUE_MAX) {
H A Dsysconf.cpp119 case _SC_SEM_VALUE_MAX: return SEM_VALUE_MAX;
/bionic/libc/include/
H A Dlimits.h134 #define SEM_VALUE_MAX 0x3fffffff macro
/bionic/tools/versioner/current/
H A Dlimits.h134 #define SEM_VALUE_MAX 0x3fffffff macro
/bionic/tests/
H A Dsemaphore_test.cpp42 ASSERT_EQ(SEM_VALUE_MAX, sysconf(_SC_SEM_VALUE_MAX));
45 ASSERT_EQ(0, sem_init(&s, 0, SEM_VALUE_MAX));
49 ASSERT_EQ(-1, sem_init(&s, 0, SEM_VALUE_MAX + 1));

Completed in 496 milliseconds