Searched refs:as_bytes (Results 1 – 8 of 8) sorted by relevance
88 spare_ptr->tb0 = tu->as_bytes[0]; in yaffs_load_tags_to_spare()89 spare_ptr->tb1 = tu->as_bytes[1]; in yaffs_load_tags_to_spare()90 spare_ptr->tb2 = tu->as_bytes[2]; in yaffs_load_tags_to_spare()91 spare_ptr->tb3 = tu->as_bytes[3]; in yaffs_load_tags_to_spare()92 spare_ptr->tb4 = tu->as_bytes[4]; in yaffs_load_tags_to_spare()93 spare_ptr->tb5 = tu->as_bytes[5]; in yaffs_load_tags_to_spare()94 spare_ptr->tb6 = tu->as_bytes[6]; in yaffs_load_tags_to_spare()95 spare_ptr->tb7 = tu->as_bytes[7]; in yaffs_load_tags_to_spare()105 tu->as_bytes[0] = spare_ptr->tb0; in yaffs_get_tags_from_spare()106 tu->as_bytes[1] = spare_ptr->tb1; in yaffs_get_tags_from_spare()[all …]
155 u8 as_bytes[8]; member
36 const C: &'static $crate::str::BStr = S.as_bytes();154 pub fn as_bytes(&self) -> &[u8] { in as_bytes() method179 core::str::from_utf8(self.as_bytes()) in to_str()201 unsafe { core::str::from_utf8_unchecked(self.as_bytes()) } in as_str_unchecked()228 for &c in self.as_bytes() { in fmt()259 for &c in self.as_bytes() { in fmt()274 self.as_bytes() in as_ref()283 self.as_bytes() in deref()294 let _ = &self.as_bytes()[index.start..]; in index()330 &self.as_bytes()[index] in index()[all …]
71 std::fs::write(path, body.as_bytes()).unwrap(); in main()
71 string = Literal::byte_string(string.as_bytes()), in emit_base()
49 - hasher.write(dirname.to_string().as_bytes());
1334 let buf: Box<[u8]> = self.as_bytes().into(); in clone()1567 unsafe { from_boxed_utf8_unchecked(Box::from(s.as_bytes())) } in from()
3509 From::from(s.as_bytes()) in from()