Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.cpp146 unsigned int shared = old_value & SEMCOUNT_SHARED_MASK; in __sem_dec() local
157 SEMCOUNT_DECREMENT(old_value) | shared)); in __sem_dec()
166 unsigned int shared = old_value & SEMCOUNT_SHARED_MASK; in __sem_trydec() local
177 SEMCOUNT_DECREMENT(old_value) | shared)); in __sem_trydec()
190 unsigned int shared = old_value & SEMCOUNT_SHARED_MASK; in __sem_inc() local
205 new_value = SEMCOUNT_ONE | shared; in __sem_inc()
207 new_value = SEMCOUNT_INCREMENT(old_value) | shared; in __sem_inc()
217 unsigned int shared = SEM_GET_SHARED(sem_count_ptr); in sem_wait() local
224 … int result = __futex_wait_ex(sem_count_ptr, shared, shared | SEMCOUNT_MINUS_ONE, false, nullptr); in sem_wait()
251 unsigned int shared = SEM_GET_SHARED(sem_count_ptr); in sem_timedwait() local
[all …]
Dpthread_mutex.cpp276 uint16_t shared) { in __pthread_normal_mutex_trylock() argument
277 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_trylock()
278 const uint16_t locked_uncontended = shared | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; in __pthread_normal_mutex_trylock()
301 uint16_t shared, in __pthread_normal_mutex_lock() argument
304 if (__predict_true(__pthread_normal_mutex_trylock(mutex, shared) == 0)) { in __pthread_normal_mutex_lock()
314 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_lock()
315 const uint16_t locked_contended = shared | MUTEX_STATE_BITS_LOCKED_CONTENDED; in __pthread_normal_mutex_lock()
327 if (__futex_wait_ex(&mutex->state, shared, locked_contended, use_realtime_clock, in __pthread_normal_mutex_lock()
340 uint16_t shared) { in __pthread_normal_mutex_unlock() argument
341 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_unlock()
[all …]
/bionic/libc/private/
Dbionic_futex.h60 static inline int __futex_wake_ex(volatile void* ftx, bool shared, int count) { in __futex_wake_ex() argument
61 return __futex(ftx, shared ? FUTEX_WAKE : FUTEX_WAKE_PRIVATE, count, NULL, 0); in __futex_wake_ex()
68 static inline int __futex_wait_ex(volatile void* ftx, bool shared, int value, in __futex_wait_ex() argument
70 return __futex(ftx, (shared ? FUTEX_WAIT_BITSET : FUTEX_WAIT_BITSET_PRIVATE) | in __futex_wait_ex()
/bionic/libc/seccomp/
DAndroid.bp13 shared: {
/bionic/linker/
DAndroid.bp72 // -shared is used to overwrite the -Bstatic and -static
74 // This dynamic linker is actually a shared object linked with static libraries.
76 "-shared",
159 // Leave the symbols in the shared library so that stack unwinders can produce
Dld.config.format.md68 # For every link define list of shared libraries. This is list of the libraries accessilbe from
/bionic/tests/
DAndroid.bp158 shared: {
191 shared: {
204 shared: {
220 shared: {
246 shared: {
267 shared: {
302 shared: {
Dthread_local_test.cpp63 TEST(thread_local_storage, shared) { in TEST() argument
/bionic/
Dandroid-changes-for-ndk-developers.md45 group. The global group is shared by all libraries and contains the main
101 ## Opening shared libraries directly from an APK
208 Starting with API 23, shared objects must not contain text
236 Note: it is technically possible to have a shared object with the TEXTREL
296 Each ELF shared object (“native library”) must have a SONAME (Shared
DREADME.md14 `cos(3)` in a separate library to save space in the days before shared
61 # Each architecture has its own subdirectory for stuff that isn't shared
/bionic/tests/libs/
DAndroid.bp497 // Tool to use to align the shared libraries in a zip file.
/bionic/libc/
DAndroid.bp1677 shared: {
1692 // Leave the symbols in the shared library so that stack unwinders can produce
1722 shared: {
1788 shared: {