Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 5 of 5) sorted by relevance

/trusty/user/base/lib/unittest-rust/src/
Dmacros.rs56 let kind = $crate::asserts::AssertKind::Eq; localVariable
60 … $crate::asserts::assert_failed(kind, &*left_val, &*right_val, core::option::Option::None);
69 let kind = $crate::asserts::AssertKind::Eq; localVariable
73 …$crate::asserts::assert_failed(kind, &*left_val, &*right_val, core::option::Option::Some(core::for…
103 let kind = $crate::asserts::AssertKind::Eq; localVariable
107 … $crate::asserts::assert_failed(kind, &*left_val, &*right_val, core::option::Option::None);
117 let kind = $crate::asserts::AssertKind::Eq; localVariable
121 …$crate::asserts::assert_failed(kind, &*left_val, &*right_val, core::option::Option::Some(core::for…
153 let kind = $crate::asserts::AssertKind::Ne; localVariable
157 … $crate::asserts::assert_failed(kind, &*left_val, &*right_val, core::option::Option::None);
[all …]
Dasserts.rs47 pub fn assert_failed<T, U>(kind: AssertKind, left: &T, right: &U, args: Option<fmt::Arguments<'_>>) in assert_failed()
52 assert_failed_inner(kind, &left, &right, args) in assert_failed()
57 kind: AssertKind, in assert_failed_inner()
62 let op = match kind { in assert_failed_inner()
/trusty/kernel/lib/ubsan/
Dubsan_value.h46 uint16_t kind; member
79 return (enum type_kind)type->kind == TYPE_KIND_INTEGER; in type_is_integer()
83 return (enum type_kind)type->kind == TYPE_KIND_FLOAT; in type_is_float()
Dubsan.c145 const char* kind, in log() argument
147 fprintf(stderr, "UBSan: (%s) %s:%d:%d\nDetails: %s\n", kind, in log()
/trusty/vendor/google/aosp/scripts/
Dtrusty_build_config.py601 kind = m.group(2)
602 if kind == "both":
605 elif kind == "unit":
608 elif kind == "host":
611 elif kind == "none":