Home
last modified time | relevance | path

Searched refs:from_bytes (Results 1 – 3 of 3) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dgpt.rs47 fn from_bytes(bytes: &mut [u8]) -> &mut GptHeader { in from_bytes() method
143 fn from_bytes(bytes: &mut [u8]) -> &mut Self { in from_bytes() method
181 *GptInfo::from_bytes(buffer) = in new_from_buffer()
322 let primary_header = GptHeader::from_bytes(self.primary_header); in load_and_sync()
323 let secondary_header = GptHeader::from_bytes(self.secondary_header); in load_and_sync()
509 let gpt_header = GptHeader::from_bytes(primary_header); in test_load_gpt_incorrect_magic()
541 let gpt_header = GptHeader::from_bytes(primary_header); in test_load_gpt_non_max_entries()
/bootable/libbootloader/gbl/efi/src/
Davb.rs114 Ok(Uuid::from_bytes(ptn.gpt_entry().guid)) in get_unique_guid_for_partition()
Dnet.rs309 EthernetAddress::from_bytes(ll_mac_bytes), in ll_mac_ip6_addr_from_efi_mac()
310 IpAddress::Ipv6(Ipv6Address::from_bytes(&ip6_bytes[..])), in ll_mac_ip6_addr_from_efi_mac()