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