Home
last modified time | relevance | path

Searched refs:const_assert_eq (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/libloading/tests/
Dconstants.rs7 use super::static_assertions::const_assert_eq;
9 const_assert_eq!(libloading::os::unix::RTLD_LOCAL, libc::RTLD_LOCAL);
10 const_assert_eq!(libloading::os::unix::RTLD_GLOBAL, libc::RTLD_GLOBAL);
11 const_assert_eq!(libloading::os::unix::RTLD_NOW, libc::RTLD_NOW);
12 const_assert_eq!(libloading::os::unix::RTLD_LAZY, libc::RTLD_LAZY);
/external/rust/cxx/src/
Dopaque.rs16 const_assert_eq!(0, mem::size_of::<Opaque>());
17 const_assert_eq!(1, mem::align_of::<Opaque>());
Drust_string.rs35 const_assert_eq!(mem::size_of::<[usize; 3]>(), mem::size_of::<String>());
36 const_assert_eq!(mem::align_of::<usize>(), mem::align_of::<String>());
Drust_str.rs21 const_assert_eq!(mem::size_of::<Option<RustStr>>(), mem::size_of::<RustStr>());
Drust_slice.rs38 const_assert_eq!(
Dcxx_vector.rs312 const_assert_eq!(1, mem::align_of::<CxxVector<$ty>>());
/external/rust/cxx/src/symbols/
Drust_vec.rs10 const_assert_eq!(mem::size_of::<[usize; 3]>(), mem::size_of::<Vec<$ty>>());
11 const_assert_eq!(mem::align_of::<usize>(), mem::align_of::<Vec<$ty>>());
/external/rust/cxx/src/macros/
Dassert.rs3 macro_rules! const_assert_eq { macro