Searched refs:cond (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | assertions.h | 72 #define REQUIRE(cond) \ argument 73 ((void) ((cond) || \ 75 #cond, 0), 0))) 76 #define REQUIRE_ERR(cond) \ argument 77 ((void) ((cond) || \ 79 #cond, 1), 0))) 81 #define REQUIRE(cond) ((void) (cond)) argument 82 #define REQUIRE_ERR(cond) ((void) (cond)) argument 86 #define ENSURE(cond) \ argument 87 ((void) ((cond) || \ [all …]
|
/bionic/libc/bionic/ |
D | pthread_cond.cpp | 109 int pthread_cond_init(pthread_cond_t* cond, const pthread_condattr_t* attr) { in pthread_cond_init() argument 111 cond->value = (*attr & COND_FLAGS_MASK); in pthread_cond_init() 113 cond->value = 0; in pthread_cond_init() 119 int pthread_cond_destroy(pthread_cond_t* cond) { in pthread_cond_destroy() argument 120 cond->value = 0xdeadc04d; in pthread_cond_destroy() 127 static int __pthread_cond_pulse(pthread_cond_t* cond, int counter) { in __pthread_cond_pulse() argument 128 int flags = (cond->value & COND_FLAGS_MASK); in __pthread_cond_pulse() 130 int old_value = cond->value; in __pthread_cond_pulse() 132 if (__bionic_cmpxchg(old_value, new_value, &cond->value) == 0) { in __pthread_cond_pulse() 147 __futex_wake_ex(&cond->value, COND_IS_SHARED(cond->value), counter); in __pthread_cond_pulse() [all …]
|
/bionic/libc/dns/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
|
D | res_cache.c | 1213 pthread_cond_t cond; member 1257 pthread_cond_broadcast(&tmp->cond); in _cache_flush_pending_requests_locked() 1259 pthread_cond_destroy(&tmp->cond); in _cache_flush_pending_requests_locked() 1292 pthread_cond_init(&ri->cond, NULL); in _cache_check_pending_request_locked() 1299 pthread_cond_timedwait(&ri->cond, &_res_cache_list_lock, &ts); in _cache_check_pending_request_locked() 1320 pthread_cond_broadcast(&ri->cond); in _cache_notify_waiting_tid_locked() 1330 pthread_cond_destroy(&ri->cond); in _cache_notify_waiting_tid_locked()
|
/bionic/libc/kernel/uapi/asm-mips/asm/ |
D | inst.h | 645 BITFIELD_FIELD(unsigned int cond : 4,
|