Home
last modified time | relevance | path

Searched refs:__attr (Results 1 - 25 of 29) sorted by relevance

12

/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_attr_get.c56 *pshared = !!a->__attr; in pthread_barrierattr_getpshared()
62 *clk = a->__attr & 0x7fffffff; in pthread_condattr_getclock()
68 *pshared = a->__attr>>31; in pthread_condattr_getpshared()
75 *protocol = a->__attr / 8U % 2; in pthread_mutexattr_getprotocol()
80 *pshared = a->__attr / 128U % 2; in pthread_mutexattr_getpshared()
86 *robust = a->__attr / 4U % 2; in pthread_mutexattr_getrobust()
92 *type = a->__attr & 3; in pthread_mutexattr_gettype()
98 *pshared = a->__attr[0]; in pthread_rwlockattr_getpshared()
H A Dpthread_mutexattr_setrobust.c8 a->__attr |= 4; in pthread_mutexattr_setrobust()
11 a->__attr &= ~4; in pthread_mutexattr_setrobust()
H A Dpthread_mutexattr_setprotocol.c13 a->__attr &= ~8; in pthread_mutexattr_setprotocol()
23 a->__attr |= 8; in pthread_mutexattr_setprotocol()
/third_party/musl/src/thread/
H A Dpthread_attr_get.c60 *pshared = !!a->__attr; in pthread_barrierattr_getpshared()
66 *clk = a->__attr & 0x7fffffff; in pthread_condattr_getclock()
72 *pshared = a->__attr>>31; in pthread_condattr_getpshared()
79 *protocol = a->__attr / 8U % 2; in pthread_mutexattr_getprotocol()
84 *pshared = a->__attr / 128U % 2; in pthread_mutexattr_getpshared()
90 *robust = a->__attr / 4U % 2; in pthread_mutexattr_getrobust()
96 *type = a->__attr & 3; in pthread_mutexattr_gettype()
102 *pshared = a->__attr[0]; in pthread_rwlockattr_getpshared()
H A Dpthread_condattr_setpshared.c6 a->__attr &= 0x7fffffff; in pthread_condattr_setpshared()
7 a->__attr |= (unsigned)pshared<<31; in pthread_condattr_setpshared()
H A Dpthread_condattr_setclock.c6 a->__attr &= 0x80000000; in pthread_condattr_setclock()
7 a->__attr |= clk; in pthread_condattr_setclock()
H A Dpthread_mutexattr_setpshared.c6 a->__attr &= ~128U; in pthread_mutexattr_setpshared()
7 a->__attr |= pshared<<7; in pthread_mutexattr_setpshared()
H A Dpthread_mutexattr_settype.c6 a->__attr = (a->__attr & ~3) | type; in pthread_mutexattr_settype()
H A Dpthread_cond_init.c7 c->_c_clock = a->__attr & 0x7fffffff; in pthread_cond_init()
8 if (a->__attr>>31) c->_c_shared = (void *)-1; in pthread_cond_init()
H A Dpthread_mutexattr_setprotocol.c14 a->__attr &= ~8; in pthread_mutexattr_setprotocol()
24 a->__attr |= 8; in pthread_mutexattr_setprotocol()
H A Dpthread_mutexattr_setrobust.c22 a->__attr |= 4; in pthread_mutexattr_setrobust()
25 a->__attr &= ~4; in pthread_mutexattr_setrobust()
H A Dpthread_rwlockattr_setpshared.c6 a->__attr[0] = pshared; in pthread_rwlockattr_setpshared()
H A Dpthread_rwlock_init.c6 if (a) rw->_rw_shared = a->__attr[0]*128; in pthread_rwlock_init()
H A Dpthread_barrier_init.c6 *b = (pthread_barrier_t){ ._b_limit = count-1 | (a?a->__attr:0) }; in pthread_barrier_init()
H A Dpthread_barrierattr_setpshared.c6 a->__attr = pshared ? INT_MIN : 0; in pthread_barrierattr_setpshared()
H A Dpthread_mutex_init.c6 if (a) m->_m_type = a->__attr; in pthread_mutex_init()
/third_party/ltp/tools/sparse/sparse-src/validation/parsing/
H A Denum-attr.c1 #define __attr __attribute__((deprecated)) macro
4 old __attr, enumerator
5 cur __attr = 42, enumerator
10 odd = __attr 33,
14 bad = 43 __attr,
/third_party/python/Include/cpython/
H A Dpthread_stubs.h34 typedef struct { unsigned __attr; } pthread_condattr_t; member
36 typedef struct { unsigned __attr; } pthread_mutexattr_t; member
39 typedef struct { unsigned __attr; } pthread_attr_t; member
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_cond_init.c7 c->_c_clock = a->__attr & 0x7fffffff; in pthread_cond_init()
8 if (a->__attr>>31) c->_c_shared = (void *)-1; in pthread_cond_init()
H A Dpthread_rwlock_init.c6 if (a) rw->_rw_shared = a->__attr[0]*128; in pthread_rwlock_init()
H A Dpthread_mutex_init.c6 if (a) m->_m_type = a->__attr; in pthread_mutex_init()
/third_party/musl/porting/liteos_m/user/include/bits/
H A Dalltypes.h288 typedef struct { unsigned __attr; } pthread_mutexattr_t; member
293 typedef struct { unsigned __attr; } pthread_condattr_t; member
298 typedef struct { unsigned __attr; } pthread_barrierattr_t; member
303 typedef struct { unsigned __attr[2]; } pthread_rwlockattr_t; member
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dalltypes.h298 typedef struct { unsigned __attr; } pthread_barrierattr_t; member
303 typedef struct { unsigned __attr[2]; } pthread_rwlockattr_t; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dalltypes.h301 typedef struct { unsigned __attr; } pthread_barrierattr_t; member
306 typedef struct { unsigned __attr[2]; } pthread_rwlockattr_t; member
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dalltypes.h298 typedef struct { unsigned __attr; } pthread_barrierattr_t; member
303 typedef struct { unsigned __attr[2]; } pthread_rwlockattr_t; member

Completed in 7 milliseconds

12