Lines Matching full:attr
49 _pthread_condattr_init(pthread_condattr_t *attr) in _pthread_condattr_init() argument
60 *attr = pattr; in _pthread_condattr_init()
67 _pthread_condattr_destroy(pthread_condattr_t *attr) in _pthread_condattr_destroy() argument
71 if (attr == NULL || *attr == NULL) { in _pthread_condattr_destroy()
74 free(*attr); in _pthread_condattr_destroy()
75 *attr = NULL; in _pthread_condattr_destroy()
82 _pthread_condattr_getclock(const pthread_condattr_t * __restrict attr, in _pthread_condattr_getclock() argument
85 if (attr == NULL || *attr == NULL) in _pthread_condattr_getclock()
87 *clock_id = (*attr)->c_clockid; in _pthread_condattr_getclock()
92 _pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) in _pthread_condattr_setclock() argument
94 if (attr == NULL || *attr == NULL) in _pthread_condattr_setclock()
102 (*attr)->c_clockid = clock_id; in _pthread_condattr_setclock()
107 _pthread_condattr_getpshared(const pthread_condattr_t * __restrict attr, in _pthread_condattr_getpshared() argument
111 if (attr == NULL || *attr == NULL) in _pthread_condattr_getpshared()
113 *pshared = (*attr)->c_pshared; in _pthread_condattr_getpshared()
118 _pthread_condattr_setpshared(pthread_condattr_t *attr, int pshared) in _pthread_condattr_setpshared() argument
121 if (attr == NULL || *attr == NULL || in _pthread_condattr_setpshared()
125 (*attr)->c_pshared = pshared; in _pthread_condattr_setpshared()