Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 3 of 3) sorted by relevance

/trusty/user/base/lib/unittest-rust/src/
Dmacros.rs282 ($cond:expr $(,)?) => ({
283 match (&($cond)) {
284 (cond) => {
285 if (!*cond) {
286 … $crate::asserts::simple_assert_failed(core::stringify!($cond), core::option::Option::None);
291 ($cond:expr, $($arg:tt)+) => ({
292 match (&($cond)) {
293 (cond) => {
294 if (!*cond) {
295 …$crate::asserts::simple_assert_failed(core::stringify!($cond), core::option::Option::Some(core::fo…
[all …]
Dasserts.rs131 pub fn simple_assert_failed(cond: &'static str, args: Option<fmt::Arguments<'_>>) { in simple_assert_failed()
134 None => eprintln!("assertion failed: {}, {}", cond, Location::caller()), in simple_assert_failed()
/trusty/user/base/lib/libc-trusty/
Dpthreads.c76 int pthread_cond_wait(pthread_cond_t* restrict cond, in pthread_cond_wait() argument
81 int pthread_cond_timedwait(pthread_cond_t* restrict cond, in pthread_cond_timedwait() argument
87 int pthread_cond_broadcast(pthread_cond_t* cond) { in pthread_cond_broadcast() argument
91 int pthread_cond_signal(pthread_cond_t* cond) { in pthread_cond_signal() argument