Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Dassertions.h72 #define REQUIRE(cond) \ argument
76 #define REQUIRE_ERR(cond) \ argument
81 #define REQUIRE(cond) ((void) (cond)) argument
82 #define REQUIRE_ERR(cond) ((void) (cond)) argument
86 #define ENSURE(cond) \ argument
90 #define ENSURE_ERR(cond) \ argument
95 #define ENSURE(cond) ((void) (cond)) argument
96 #define ENSURE_ERR(cond) ((void) (cond)) argument
100 #define INSIST(cond) \ argument
104 #define INSIST_ERR(cond) \ argument
[all …]
/bionic/libc/dns/resolv/
Dres_debug.h24 # 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
Dres_cache.c1275 pthread_cond_t cond; member
/bionic/libc/bionic/
Dpthread_cond.cpp136 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); in pthread_cond_init() local
148 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); in pthread_cond_destroy() local
156 static int __pthread_cond_pulse(pthread_cond_internal_t* cond, int thread_count) { in __pthread_cond_pulse()
173 static int __pthread_cond_timedwait(pthread_cond_internal_t* cond, pthread_mutex_t* mutex, in __pthread_cond_timedwait()
201 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); in pthread_cond_wait() local
208 pthread_cond_internal_t* cond = __get_internal_cond(cond_interface); in pthread_cond_timedwait() local
/bionic/libc/include/sys/
Dcdefs.h137 #define __enable_if(cond, msg) __attribute__((enable_if(cond, msg))) argument
138 #define __clang_error_if(cond, msg) __attribute__((diagnose_if(cond, msg, "error"))) argument
139 #define __clang_warning_if(cond, msg) __attribute__((diagnose_if(cond, msg, "warning"))) argument
305 #define __bos_dynamic_check_impl_and(bos_val, op, index, cond) \ argument
/bionic/libc/kernel/uapi/linux/
Dblkzoned.h43 __u8 cond; member
/bionic/tests/
Dpthread_test.cpp1472 pthread_cond_t cond; member in pthread_CondWakeupTest
1498 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function) { in StartWaitingThread()
1511 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* timeout)> in RunTimedTest()
1517 StartWaitingThread([&wait_function, &ts](pthread_cond_t* cond, pthread_mutex_t* mutex) { in RunTimedTest()
1525 void RunTimedTest(clockid_t clock, std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest()
1529 const timespec* timeout) { in RunTimedTest()
1556 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F()
1565 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F()
1633 pthread_cond_t cond; in pthread_cond_timedwait_timeout_helper() local
1705 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; in TEST() local
[all …]
Dclang_fortify_tests.cpp142 #define DIE_WITH(expr, cond, regex) EXPECT_EXIT(ExitAfter([&] { (expr); }), cond, regex) argument