Searched refs:v_ref (Results 1 – 1 of 1) sorted by relevance
420 let v_ref = a_ref.get_ref(0).unwrap(); in ref_store() localVariable421 v_ref.store(2u8); in ref_store()431 let v_ref = a_ref.get_ref::<u8>(0).unwrap(); in ref_load() localVariable432 assert_eq!(v_ref.load(), 5u8); in ref_load()433 v_ref in ref_load()447 let v_ref = a_ref.get_ref(1).unwrap(); in ref_to_slice() localVariable448 v_ref.store(0x12345678u32); in ref_to_slice()449 let ref_slice = v_ref.to_slice(); in ref_to_slice()450 assert_eq!(v_ref.as_ptr() as u64, ref_slice.as_ptr() as u64); in ref_to_slice()451 assert_eq!(v_ref.size(), ref_slice.size()); in ref_to_slice()[all …]