Searched refs:slice_from_array (Results 1 – 6 of 6) sorted by relevance
6 fn slice_from_array() { in slice_from_array() function
1059 unsafe fn slice_from_array<'t, T>(items: *mut T, num_items: usize) -> Option<&'t mut [T]> { in test_run() function1105 context: unsafe { slice_from_array(opts.ctx_out.cast(), opts.ctx_size_out as _) }, in test_run()1106 data: unsafe { slice_from_array(opts.data_out.cast(), opts.data_size_out as _) }, in test_run()