Searched defs:bytes (Results 1 – 13 of 13) sorted by relevance
117 let mut bytes = $crate::FormattedBytes::new(&mut $arr[..]); localVariable135 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_already_aligned() localVariable136 let bytes = &mut bytes.0; in aligned_subslice_already_aligned() localVariable147 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_unaligned() localVariable148 let bytes = &mut bytes.0; in aligned_subslice_unaligned() localVariable167 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_empty_slice() localVariable168 let bytes = &mut bytes.0; in aligned_subslice_empty_slice() localVariable179 let mut bytes = AlignedBytes([0u8; 7]); // 7 bytes; can't reach the next 8-alignment. in aligned_subslice_buffer_overflow() localVariable180 let bytes = &mut bytes.0; in aligned_subslice_buffer_overflow() localVariable188 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_alignment_overflow() localVariable[all …]
43 [[maybe_unused]] static std::string print_hex(const uint8_t* bytes, size_t len) { in print_hex()
30 let bytes = unsafe { CStr::from_ptr(ptr) }.to_bytes_with_nul(); in strchr() localVariable49 let bytes = unsafe { CStr::from_ptr(ptr) }.to_bytes_with_nul(); in strrchr() localVariable
41 let bytes = unsafe { CStr::from_ptr(s) }.to_bytes(); in strtoul() localVariable
154 bool CheckAndFreeSpaceOnCache(size_t bytes) { in CheckAndFreeSpaceOnCache()
72 size_t bytes; in copy_file() local
302 let mut bytes = [0u8; ABR_DATA_SIZE]; in deserialize() localVariable459 let mut bytes = abr_data.serialize(); in save_metadata() localVariable707 let mut bytes = val.to_le_bytes(); in reverse_u32() localVariable
124 let bytes = self.config_bytes(); in fmt() localVariable
192 size_t bytes; in copy_log_file() local
115 let bytes: SuffixBytes = in load_and_verify_image() localVariable
563 let mut bytes = AlignedBytes([0u8; HEADER_SIZE + 1]); in test_header_from_bytes_wrong_alignment() localVariable
615 size_t bytes; in ApplyPatchSpaceFn() local
734 let bytes = &self.memory_map.buffer[self.offset..][..self.memory_map.descriptor_size]; in next() localVariable