Home
last modified time | relevance | path

Searched refs:array_of_u8s (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy/src/
Dlib.rs6837 let array_of_u8s = [0u8, 1, 2, 3, 4, 5, 6, 7]; in test_transmute() localVariable
6839 let x: [[u8; 2]; 4] = transmute!(array_of_u8s); in test_transmute()
6842 assert_eq!(x, array_of_u8s); in test_transmute()
6867 let array_of_u8s = [0u8, 1, 2, 3, 4, 5, 6, 7]; in test_transmute_ref() localVariable
6869 let x: &[[u8; 2]; 4] = transmute_ref!(&array_of_u8s); in test_transmute_ref()
6872 assert_eq!(*x, array_of_u8s); in test_transmute_ref()
6902 let mut array_of_u8s = [0u8, 1, 2, 3, 4, 5, 6, 7]; in test_transmute_mut() localVariable
6904 let x: &mut [[u8; 2]; 4] = transmute_mut!(&mut array_of_u8s); in test_transmute_mut()
6907 assert_eq!(*x, array_of_u8s); in test_transmute_mut()
6913 assert_eq!(*x, array_of_u8s); in test_transmute_mut()
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy/src/
Dlib.rs6837 let array_of_u8s = [0u8, 1, 2, 3, 4, 5, 6, 7]; in test_transmute() localVariable
6839 let x: [[u8; 2]; 4] = transmute!(array_of_u8s); in test_transmute()
6842 assert_eq!(x, array_of_u8s); in test_transmute()
6867 let array_of_u8s = [0u8, 1, 2, 3, 4, 5, 6, 7]; in test_transmute_ref() localVariable
6869 let x: &[[u8; 2]; 4] = transmute_ref!(&array_of_u8s); in test_transmute_ref()
6872 assert_eq!(*x, array_of_u8s); in test_transmute_ref()
6902 let mut array_of_u8s = [0u8, 1, 2, 3, 4, 5, 6, 7]; in test_transmute_mut() localVariable
6904 let x: &mut [[u8; 2]; 4] = transmute_mut!(&mut array_of_u8s); in test_transmute_mut()
6907 assert_eq!(*x, array_of_u8s); in test_transmute_mut()
6913 assert_eq!(*x, array_of_u8s); in test_transmute_mut()