Searched refs:cond (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/include/isc/
H A Dassertions.h72 #define REQUIRE(cond) \
73 ((void) ((cond) || \
75 #cond, 0), 0)))
76 #define REQUIRE_ERR(cond) \
77 ((void) ((cond) || \
79 #cond, 1), 0)))
81 #define REQUIRE(cond) ((void) (cond))
82 #define REQUIRE_ERR(cond) ((void) (cond))
[all...]
/bionic/libc/dns/resolv/
H A Dres_debug.h24 # define Dprint(cond, args) /*empty*/
25 # define DprintQ(cond, args, query, size) /*empty*/
29 # define Dprint(cond, args) if (cond) {fprintf args;} else {}
30 # define DprintQ(cond, args, query, size) if (cond) {\
H A Dres_cache.c1219 pthread_cond_t cond; member in struct:pending_req_info
1267 pthread_cond_broadcast(&tmp->cond);
1269 pthread_cond_destroy(&tmp->cond);
1302 pthread_cond_init(&ri->cond, NULL);
1309 pthread_cond_timedwait(&ri->cond, &_res_cache_list_lock, &ts);
1330 pthread_cond_broadcast(&ri->cond);
1340 pthread_cond_destroy(&ri->cond);
/bionic/libc/bionic/
H A Dpthread_cond.cpp136 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local
142 atomic_init(&cond->state, init_state);
148 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local
149 atomic_store_explicit(&cond->state, 0xdeadc04d, memory_order_relaxed);
156 static int __pthread_cond_pulse(pthread_cond_internal_t* cond, int thread_count) { argument
167 atomic_fetch_add_explicit(&cond->state, COND_COUNTER_STEP, memory_order_relaxed);
169 __futex_wake_ex(&cond->state, cond->process_shared(), thread_count);
173 static int __pthread_cond_timedwait(pthread_cond_internal_t* cond, pthread_mutex_t* mutex, argument
180 unsigned int old_state = atomic_load_explicit(&cond
201 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local
208 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); local
[all...]
/bionic/tests/
H A Dpthread_test.cpp1119 pthread_cond_t cond; member in class:pthread_CondWakeupTest
1129 std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function;
1140 ASSERT_EQ(0, pthread_cond_init(&cond, &attr));
1144 void StartWaitingThread(std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function) { argument
1157 ASSERT_EQ(0, pthread_cond_destroy(&cond));
1166 ASSERT_EQ(0, test->wait_function(&test->cond, &test->mutex));
1176 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) {
1177 return pthread_cond_wait(cond, mutex);
1180 ASSERT_EQ(0, pthread_cond_signal(&cond));
1185 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_
1219 pthread_cond_t cond; local
1731 pthread_cond_t* cond = reinterpret_cast<pthread_cond_t*>( local
[all...]
/bionic/libc/kernel/uapi/asm-mips/asm/
H A Dinst.h944 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int cc : 3, __BITFIELD_FIELD(unsigned int fmt : 3, __BITFIELD_FIELD(unsigned int cond : 4, __BITFIELD_FIELD(unsigned int func : 6,;

Completed in 302 milliseconds