Lines Matching refs:mem
43 let (version_bytes, rest) = rest.split_at(std::mem::size_of::<u32>()); in try_from()
44 let (data_type_bytes, _rest) = rest.split_at(std::mem::size_of::<u32>()); in try_from()
155 let (orig_len_bytes, rest) = rest.split_at(std::mem::size_of::<u32>()); in try_from()
156 let (included_len_bytes, rest) = rest.split_at(std::mem::size_of::<u32>()); in try_from()
157 let (flags_bytes, rest) = rest.split_at(std::mem::size_of::<u32>()); in try_from()
158 let (drops_bytes, rest) = rest.split_at(std::mem::size_of::<u32>()); in try_from()
159 let (ts_bytes, _rest) = rest.split_at(std::mem::size_of::<u64>()); in try_from()
426 if data.len() != std::mem::size_of::<NewIndex>() { in parse()
431 let (hci_type, rest) = rest.split_at(std::mem::size_of::<u8>()); in parse()
432 let (bus, rest) = rest.split_at(std::mem::size_of::<u8>()); in parse()
433 let (bdaddr, rest) = rest.split_at(6 * std::mem::size_of::<u8>()); in parse()
434 let (name, _rest) = rest.split_at(8 * std::mem::size_of::<u8>()); in parse()