Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 13 of 13) sorted by relevance

/bootable/libbootloader/gbl/libutils/src/
Dlib.rs117 let mut bytes = $crate::FormattedBytes::new(&mut $arr[..]); localVariable
135 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_already_aligned() localVariable
136 let bytes = &mut bytes.0; in aligned_subslice_already_aligned() localVariable
147 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_unaligned() localVariable
148 let bytes = &mut bytes.0; in aligned_subslice_unaligned() localVariable
167 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_empty_slice() localVariable
168 let bytes = &mut bytes.0; in aligned_subslice_empty_slice() localVariable
179 let mut bytes = AlignedBytes([0u8; 7]); // 7 bytes; can't reach the next 8-alignment. in aligned_subslice_buffer_overflow() localVariable
180 let bytes = &mut bytes.0; in aligned_subslice_buffer_overflow() localVariable
188 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_alignment_overflow() localVariable
[all …]
/bootable/recovery/otautil/include/otautil/
Dprint_sha1.h43 [[maybe_unused]] static std::string print_hex(const uint8_t* bytes, size_t len) { in print_hex()
/bootable/libbootloader/gbl/libc/src/
Dstrchr.rs30 let bytes = unsafe { CStr::from_ptr(ptr) }.to_bytes_with_nul(); in strchr() localVariable
49 let bytes = unsafe { CStr::from_ptr(ptr) }.to_bytes_with_nul(); in strrchr() localVariable
Dstrtoul.rs41 let bytes = unsafe { CStr::from_ptr(s) }.to_bytes(); in strtoul() localVariable
/bootable/deprecated-ota/applypatch/
Dfreecache.cpp154 bool CheckAndFreeSpaceOnCache(size_t bytes) { in CheckAndFreeSpaceOnCache()
/bootable/recovery/
Drecovery-persist.cpp72 size_t bytes; in copy_file() local
/bootable/libbootloader/gbl/libabr/src/
Dlib.rs302 let mut bytes = [0u8; ABR_DATA_SIZE]; in deserialize() localVariable
459 let mut bytes = abr_data.serialize(); in save_metadata() localVariable
707 let mut bytes = val.to_le_bytes(); in reverse_u32() localVariable
/bootable/libbootloader/gbl/libbootparams/src/
Dbootconfig.rs124 let bytes = self.config_bytes(); in fmt() localVariable
/bootable/recovery/recovery_utils/
Dlogging.cpp192 size_t bytes; in copy_log_file() local
/bootable/libbootloader/gbl/libgbl/src/
Dlib.rs115 let bytes: SuffixBytes = in load_and_verify_image() localVariable
/bootable/libbootloader/gbl/libfdt/src/
Dlib.rs563 let mut bytes = AlignedBytes([0u8; HEADER_SIZE + 1]); in test_header_from_bytes_wrong_alignment() localVariable
/bootable/deprecated-ota/updater/
Dinstall.cpp615 size_t bytes; in ApplyPatchSpaceFn() local
/bootable/libbootloader/gbl/libefi/src/
Dlib.rs734 let bytes = &self.memory_map.buffer[self.offset..][..self.memory_map.descriptor_size]; in next() localVariable