Searched refs:cond (Results 1 – 7 of 7) sorted by relevance
/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 | 168 int pthread_cond_init(pthread_cond_t *cond, 170 int pthread_cond_destroy(pthread_cond_t *cond); 171 int pthread_cond_broadcast(pthread_cond_t *cond); 172 int pthread_cond_signal(pthread_cond_t *cond); 173 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); 174 int pthread_cond_timedwait(pthread_cond_t *cond, 182 int pthread_cond_timedwait_monotonic(pthread_cond_t *cond, 186 int pthread_cond_timeout_np(pthread_cond_t *cond,
|
/bionic/libc/bionic/ |
D | pthread.c | 947 #define __likely(cond) __builtin_expect(!!(cond), 1) argument 948 #define __unlikely(cond) __builtin_expect(!!(cond), 0) argument 1125 int pthread_cond_init(pthread_cond_t *cond, in pthread_cond_init() argument 1128 cond->value = 0; in pthread_cond_init() 1132 int pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy() argument 1134 cond->value = 0xdeadc04d; in pthread_cond_destroy() 1138 int pthread_cond_broadcast(pthread_cond_t *cond) in pthread_cond_broadcast() argument 1140 __atomic_dec(&cond->value); in pthread_cond_broadcast() 1141 __futex_wake(&cond->value, INT_MAX); in pthread_cond_broadcast() 1145 int pthread_cond_signal(pthread_cond_t *cond) in pthread_cond_signal() 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 | 151 int __libc_android_log_assert(const char *cond, const char *tag, in __libc_android_log_assert() argument
|
/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)
|