Home
last modified time | relevance | path

Searched defs:usize (Results 1 – 25 of 31) sorted by relevance

12

/bootable/libbootloader/gbl/libboot/src/
Daarch64.rs51 fn flush_dcache_range(addr: usize, len: usize); in flush_dcache_range()
73 unsafe fn jump_kernel(addr: usize, arg0: usize, arg1: usize, arg2: usize, arg3: usize) -> ! { in jump_kernel()
118 pub unsafe fn jump_zircon_el2_or_lower(zbi_kernel: &[u8], entry_off: usize, zbi_item: &[u8]) -> ! { in jump_zircon_el2_or_lower()
Driscv64.rs22 pub unsafe fn jump_linux(kernel: &[u8], boot_hart_id: usize, fdt: &[u8]) -> ! { in jump_linux()
Dx86.rs124 pub fn setup_sects(&self) -> usize { in setup_sects()
134 pub fn kernel_off(&self) -> usize { in kernel_off()
175 low_mem_addr: usize, in boot_linux_bzimage()
/bootable/libbootloader/gbl/libavb/src/
Dlib.rs78 pub extern "C" fn avb_strlen(s: *const core::ffi::c_char) -> usize { in avb_strlen()
97 n: usize, in avb_memcpy()
108 n: usize, in avb_memcmp()
135 n: usize, in avb_strncmp()
148 n: usize, in avb_memset()
/bootable/libbootloader/gbl/libgbl/src/
Doverlap.rs54 fn get_range(first: usize, last: usize) -> &'static [u8] { in get_range()
63 fn check_overlap(ranges_set: &[(usize, usize)]) -> bool { in check_overlap()
72 fn check_not_overlap(ranges_set: &[(usize, usize)]) -> bool { in check_not_overlap()
Dlib.rs607 fn read_from_partition(&mut self, _: &CStr, _: i64, _: &mut [u8]) -> AvbIoResult<usize> { in read_from_partition()
613 fn write_rollback_index(&mut self, _: usize, _: u64) -> AvbIoResult<()> { in write_rollback_index()
626 fn read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize> { in read_persistent_value()
Dops.rs127 fn required_scratch_size(&mut self) -> GblResult<usize> { in required_scratch_size()
/bootable/libbootloader/gbl/libefi/src/protocol/
Dsimple_network.rs50 pub fn initialize(&self, extra_rx_buf_size: usize, extra_tx_buf_size: usize) -> EfiResult<()> { in initialize()
107 header_size: usize, in transmit()
134 header_size: Option<&mut usize>, in receive()
135 buf_size: Option<&mut usize>, in receive()
Driscv.rs30 pub fn get_boot_hartid(&self) -> EfiResult<usize> { in get_boot_hartid()
Dandroid_boot.rs32 pub fn fastboot_usb_interface_start(&self) -> EfiResult<usize> { in fastboot_usb_interface_start()
/bootable/libbootloader/gbl/efi/src/
Dfuchsia_boot.rs40 pub fn relocate_kernel(kernel: &[u8], dest: &mut [u8]) -> Result<usize> { in relocate_kernel()
67 fn zbi_container_size(zbi: &[u8]) -> Result<usize> { in zbi_container_size()
83 fn relocate_to_tail(kernel: &mut [u8]) -> Result<(&mut [u8], &mut [u8], usize)> { in relocate_to_tail() argument
Dutils.rs39 pub fn to_usize<T: TryInto<usize>>(val: T) -> Result<usize> { in to_usize()
44 pub fn usize_roundup<L: TryInto<usize>, R: TryInto<usize>>(lhs: L, rhs: R) -> Result<usize> { in usize_roundup()
53 pub fn usize_add<L: TryInto<usize>, R: TryInto<usize>>(lhs: L, rhs: R) -> Result<usize> { in usize_add()
Davb.rs52 ) -> IoResult<usize> { in read_from_partition()
98 _rollback_index_location: usize, in write_rollback_index()
133 fn read_persistent_value(&mut self, _name: &CStr, _value: &mut [u8]) -> IoResult<usize> { in read_persistent_value()
Dfastboot.rs72 fn new(max_packet_size: usize, protocol: &'b Protocol<'a, AndroidBootProtocol>) -> Self { in new()
98 fn receive_packet(&mut self, out: &mut [u8]) -> Result<usize, TransportError> { in receive_packet()
Dnet.rs81 extra_tx_frames: usize, in new()
201 fn consume<R, F>(mut self, len: usize, f: F) -> R in consume()
/bootable/libbootloader/gbl/libstorage/src/
Dnon_blocking.rs277 fn set_pending(&mut self, io_offset: usize, io_size: usize) -> *mut [u8] { in set_pending()
451 offset: usize, in write()
452 size: usize, in write()
488 offset: usize, in read()
489 size: usize, in read()
580 offset: usize, in write_io_buffer()
581 size: usize, in write_io_buffer()
607 offset: usize, in read_io_buffer()
608 size: usize, in read_io_buffer()
Dtestlib.rs251 fn size(&self) -> usize { in size()
423 fn pad_to_block_size(store: &mut Vec<u8>, block_size: usize) { in pad_to_block_size()
430 fn add_blocks(store: &mut Vec<u8>, data: &[u8], block_size: usize) { in add_blocks()
435 fn pad_bytes(store: &mut Vec<u8>, size: usize, block_size: usize) { in pad_bytes()
444 block_size: usize, in partitions_to_disk_data()
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dvars.rs34 ) -> Result<Option<usize>, CommandError>; in get()
52 ) -> Result<Option<usize>, CommandError> { in get()
80 ) -> Result<Option<usize>, CommandError> { in get()
137 ) -> Result<Option<usize>, CommandError> { in get()
Dsparse.rs227 fn get_mut<L: TryInto<usize>, R: TryInto<usize>>( in get_mut()
236 fn get<L: TryInto<usize>, R: TryInto<usize>>( in get()
252 fn to_usize<T: TryInto<usize>>(val: T) -> Result<usize, CommandError> { in to_usize()
257 fn usize_add<L: TryInto<usize>, R: TryInto<usize>>(lhs: L, rhs: R) -> Result<usize, CommandError> { in usize_add()
/bootable/libbootloader/gbl/smoltcp/
Dheapless.rs41 pub fn capacity(&self) -> usize { in capacity()
88 pub fn capacity(&self) -> usize { in capacity()
/bootable/libbootloader/gbl/libfdt/src/
Dlib.rs103 pub fn totalsize(&self) -> usize { in totalsize()
108 pub fn actual_size(&self) -> usize { in actual_size()
167 pub fn size(&self) -> Result<usize> { in size()
266 len: usize, in set_property_placeholder()
/bootable/libbootloader/gbl/libefi/src/
Dlib.rs274 size: usize, in allocate_pool()
489 pub fn get_variable(&self, guid: &EfiGuid, name: &str, out: &mut [u8]) -> EfiResult<usize> { in get_variable()
630 map_key: usize, in new()
631 descriptor_size: usize, in new()
643 pub fn map_key(&self) -> usize { in map_key()
653 pub fn len(&self) -> usize { in len()
679 pub(crate) fn new(handles: *mut EfiHandle, len: usize, efi_entry: &'a EfiEntry) -> Self { in new()
872 num_handles: *mut usize, in locate_handle_buffer()
905 memory_map_size: *mut usize, in get_memory_map()
907 map_key: *mut usize, in get_memory_map()
[all …]
/bootable/libbootloader/gbl/libc/src/
Dlib.rs63 pub fn strnlen(s: *const core::ffi::c_char, maxlen: usize) -> usize { in strnlen()
/bootable/libbootloader/gbl/libbootconfig/src/
Dlib.rs60 pub fn remaining_capacity(&self) -> usize { in remaining_capacity()
86 F: FnOnce(&mut [u8]) -> Result<usize>, in add_with()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs102 fn receive_packet(&mut self, out: &mut [u8]) -> Result<usize, TransportError>; in receive_packet()
144 fn receive_packet(&mut self, out: &mut [u8]) -> Result<usize, TransportError> { in receive_packet()
223 ) -> Result<usize, CommandError>; in get_var()
412 download_data_size: &'a mut usize, in new()
427 pub fn take_download_buffer(&mut self) -> (&mut [u8], usize) { in take_download_buffer() argument
546 pub fn with_mock_upload_builder<F>(buffer: &mut [u8], mut f: F) -> (usize, usize) in with_mock_upload_builder()
930 pub fn size(&self) -> usize { in size()
1039 ) -> Result<usize, CommandError> { in get_var()
1111 fn receive_packet(&mut self, out: &mut [u8]) -> Result<usize, TransportError> { in receive_packet()
1305 fn test_download_size(download_buffer_size: usize, download_size: usize, msg: &str) { in test_download_size()

12