Searched refs:u16 (Results 1 – 11 of 11) sorted by relevance
/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | sparse.rs | 26 const CHUNK_TYPE_RAW: u16 = 0xCAC1; 27 const CHUNK_TYPE_FILL: u16 = 0xCAC2; 28 const CHUNK_TYPE_DONT_CARE: u16 = 0xCAC3; 29 const CHUNK_TYPE_CRC32: u16 = 0xCAC4; 31 const SPARSE_HEADER_MAJOR_VER: u16 = 1; 32 const SPARSE_HEADER_MINOR_VER: u16 = 0; 38 pub major_version: u16, 39 pub minor_version: u16, 40 pub file_hdr_sz: u16, 41 pub chunk_hdr_sz: u16, [all …]
|
/bootable/libbootloader/gbl/libgbl/src/slots/ |
D | android.rs | 71 struct SlotMetaData(u16); 74 const PRIORITY_MASK: u16 = 0b1111; 75 const PRIORITY_OFFSET: u16 = 0; 77 const TRIES_MASK: u16 = 0b111; 78 const TRIES_OFFSET: u16 = 4; 80 const SUCCESSFUL_MASK: u16 = 0b1; 81 const SUCCESSFUL_OFFSET: u16 = 7; 83 const VERITY_CORRUPTED_MASK: u16 = 0b1; 84 const VERITY_CORRUPTED_OFFSET: u16 = 8; 121 core::mem::size_of::<u16>() [all …]
|
/bootable/libbootloader/gbl/libefi/src/protocol/ |
D | device_path.rs | 67 text: Option<&'a [u16]>, 72 pub(crate) fn new(text: *mut u16, efi_entry: &'a EfiEntry) -> Self { in new() argument 90 pub fn text(&self) -> Option<&[u16]> { in text() argument 131 let mut data: [u16; 4] = [1, 2, 3, 0]; in test_device_path_text_drop()
|
D | simple_network.rs | 111 mut protocol: u16, in transmit() argument 139 protocol: Option<&mut u16>, in receive() argument
|
/bootable/libbootloader/gbl/libefi/src/ |
D | protocol.rs | 97 pub const fn new(data1: u32, data2: u16, data3: u16, data4: [u8; 8usize]) -> Self { in new() argument
|
D | lib.rs | 492 let mut name_utf16: Vec<u16> = name.encode_utf16().collect(); in get_variable()
|
/bootable/libbootloader/gbl/libsafemath/src/ |
D | lib.rs | 264 conversion_func!(u16); 414 conversion_test!(u16);
|
/bootable/libbootloader/gbl/libstorage/src/ |
D | testlib.rs | 413 fn str_to_utf16_entry_name(name: &str) -> [u16; GPT_NAME_LEN_U16] { in str_to_utf16_entry_name() 416 let tmp: Vec<u16> = name.encode_utf16().collect();
|
D | gpt.rs | 67 pub name: [u16; GPT_NAME_LEN_U16],
|
/bootable/libbootloader/gbl/efi/src/ |
D | fastboot.rs | 34 const FASTBOOT_TCP_PORT: u16 = 5554;
|
D | net.rs | 324 pub fn listen(&mut self, port: u16) -> Result<()> { in listen()
|