Lines Matching refs:mem
4 mem::size_of,
132 let mut dst = core::mem::transmute::<[usize; 1], [u8; size_of::<usize>()]>(dst); in check_and_clone_cstr_array()
134 let dst = core::mem::transmute::<[u8; size_of::<usize>()], [usize; 1]>(dst); in check_and_clone_cstr_array()
246 if byte_buffer.len() % core::mem::size_of::<T>() != 0 || byte_buffer.is_empty() { in convert_with_offset()
253 byte_buffer.len() / core::mem::size_of::<T>(), in convert_with_offset()
260 if offset + core::mem::size_of::<T>() > src.len() { in convert_one_with_offset()
263 let byte_buffer: &[u8] = &src[offset..offset + core::mem::size_of::<T>()]; in convert_one_with_offset()
333 if byte_buffer.len() % core::mem::size_of::<T>() != 0 || byte_buffer.is_empty() { in convert_with_offset()
340 byte_buffer.len() / core::mem::size_of::<T>(), in convert_with_offset()
347 if offset + core::mem::size_of::<T>() > src.len() { in convert_one_with_offset()
350 let byte_buffer: &mut [u8] = &mut src[offset..offset + core::mem::size_of::<T>()]; in convert_one_with_offset()