/bionic/libc/private/isc/ |
D | assertions.h | 69 #define REQUIRE(cond) \ argument 70 ((void) ((cond) || \ 72 #cond, 0), 0))) 73 #define REQUIRE_ERR(cond) \ argument 74 ((void) ((cond) || \ 76 #cond, 1), 0))) 78 #define REQUIRE(cond) ((void) (cond)) argument 79 #define REQUIRE_ERR(cond) ((void) (cond)) argument 83 #define ENSURE(cond) \ argument 84 ((void) ((cond) || \ [all …]
|
/bionic/libc/netbsd/resolv/ |
D | res_debug.h | 24 # define Dprint(cond, args) /*empty*/ argument 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 29 # define Dprint(cond, args) if (cond) {fprintf args;} else {} argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument
|
/bionic/libc/include/ |
D | pthread.h | 177 int pthread_cond_init(pthread_cond_t *cond, 179 int pthread_cond_destroy(pthread_cond_t *cond); 180 int pthread_cond_broadcast(pthread_cond_t *cond); 181 int pthread_cond_signal(pthread_cond_t *cond); 182 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 183 int pthread_cond_timedwait(pthread_cond_t *cond, 191 int pthread_cond_timedwait_monotonic_np(pthread_cond_t *cond, 198 int pthread_cond_timedwait_monotonic(pthread_cond_t *cond, 207 int pthread_cond_timedwait_relative_np(pthread_cond_t *cond, 215 int pthread_cond_timeout_np(pthread_cond_t *cond, [all …]
|
/bionic/libc/bionic/ |
D | pthread-rwlocks.c | 56 #define __likely(cond) __builtin_expect(!!(cond), 1) argument 57 #define __unlikely(cond) __builtin_expect(!!(cond), 0) argument 137 ret = pthread_cond_init(&rwlock->cond, cond_attr); in pthread_rwlock_init() 161 pthread_cond_destroy(&rwlock->cond); in pthread_rwlock_destroy() 206 pthread_cond_broadcast(&rwlock->cond); in _pthread_rwlock_pulse() 244 ret = pthread_cond_timedwait(&rwlock->cond, &rwlock->lock, abs_timeout); in pthread_rwlock_timedrdlock() 297 ret = pthread_cond_timedwait(&rwlock->cond, &rwlock->lock, abs_timeout); in pthread_rwlock_timedwrlock()
|
D | pthread.c | 72 #define __likely(cond) __builtin_expect(!!(cond), 1) argument 73 #define __unlikely(cond) __builtin_expect(!!(cond), 0) argument 1629 int pthread_cond_init(pthread_cond_t *cond, in pthread_cond_init() argument 1632 if (cond == NULL) in pthread_cond_init() 1635 cond->value = 0; in pthread_cond_init() 1638 cond->value |= COND_SHARED_MASK; in pthread_cond_init() 1643 int pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy() argument 1645 if (cond == NULL) in pthread_cond_destroy() 1648 cond->value = 0xdeadc04d; in pthread_cond_destroy() 1657 __pthread_cond_pulse(pthread_cond_t *cond, int counter) in __pthread_cond_pulse() argument [all …]
|
D | pthread-timers.c | 106 pthread_cond_t cond; /* signal a state change to thread */ member 188 pthread_cond_signal( &timer->cond ); in thr_timer_table_start_stop() 357 pthread_cond_init( &timer->cond, NULL ); in timer_create() 396 pthread_cond_signal( &timer->cond ); in timer_delete() 506 pthread_cond_signal( &timer->cond ); in timer_settime() 554 pthread_cond_wait( &timer->cond, &timer->mutex ); in timer_thread_start() 573 &timer->cond, &timer->mutex, &diff); in timer_thread_start()
|
D | logd_write.c | 194 int __libc_android_log_assert(const char *cond, const char *tag, in __libc_android_log_assert() argument
|
/bionic/linker/ |
D | debugger.c | 64 #define RETRY_ON_EINTR(ret,cond) \ argument 66 ret = (cond); \
|
/bionic/libc/kernel/tools/ |
D | cpp.py | 754 def __init__(self,cond,iftrue,iffalse): argument 756 self.cond = cond 761 return "(?: %s %s %s)" % (repr(self.cond),repr(self.iftrue),repr(self.iffalse)) 764 return "(%s) ? (%s) : (%s)" % (self.cond, self.iftrue, self.iffalse)
|