Searched refs:byte_buffer (Results 1 – 1 of 1) sorted by relevance
245 let byte_buffer: &[u8] = &src[offset..]; in convert_with_offset() localVariable246 if byte_buffer.len() % core::mem::size_of::<T>() != 0 || byte_buffer.is_empty() { in convert_with_offset()252 byte_buffer.as_ptr() as *const T, in convert_with_offset()253 byte_buffer.len() / core::mem::size_of::<T>(), in convert_with_offset()263 let byte_buffer: &[u8] = &src[offset..offset + core::mem::size_of::<T>()]; in convert_one_with_offset() localVariable265 let chunks = unsafe { from_raw_parts(byte_buffer.as_ptr() as *const T, 1) }; in convert_one_with_offset()332 let byte_buffer: &mut [u8] = &mut src[offset..]; in convert_with_offset() localVariable333 if byte_buffer.len() % core::mem::size_of::<T>() != 0 || byte_buffer.is_empty() { in convert_with_offset()339 byte_buffer.as_mut_ptr() as *mut T, in convert_with_offset()340 byte_buffer.len() / core::mem::size_of::<T>(), in convert_with_offset()[all …]