Searched refs:const_assert_eq (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/libloading/tests/ |
D | constants.rs | 7 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/ |
D | opaque.rs | 16 const_assert_eq!(0, mem::size_of::<Opaque>()); 17 const_assert_eq!(1, mem::align_of::<Opaque>());
|
D | rust_string.rs | 35 const_assert_eq!(mem::size_of::<[usize; 3]>(), mem::size_of::<String>()); 36 const_assert_eq!(mem::align_of::<usize>(), mem::align_of::<String>());
|
D | rust_str.rs | 21 const_assert_eq!(mem::size_of::<Option<RustStr>>(), mem::size_of::<RustStr>());
|
D | rust_slice.rs | 38 const_assert_eq!(
|
D | cxx_vector.rs | 312 const_assert_eq!(1, mem::align_of::<CxxVector<$ty>>());
|
/external/rust/cxx/src/symbols/ |
D | rust_vec.rs | 10 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/ |
D | assert.rs | 3 macro_rules! const_assert_eq { macro
|