Searched refs:as_bytes (Results 1 – 7 of 7) sorted by relevance
42 - if block.name == name.as_bytes() {43 + if block.name.as_ref() == name.as_bytes() {51 - if block.name == name.as_bytes() {52 + if block.name.as_ref() == name.as_bytes() {60 - if block.name == name.as_bytes() {61 + if block.name.as_ref() == name.as_bytes() {80 - name: "Host".as_bytes().to_vec(),81 - value: "abc.com".as_bytes().to_vec(),82 + name: "Host".as_bytes().to_vec().into(),83 + value: "abc.com".as_bytes().to_vec().into(),[all …]
34 unsigned char *b = ((union yaffs_tags_union *)tags)->as_bytes; in yaffs_calc_tags_ecc()61 unsigned char *b = ((union yaffs_tags_union *)tags)->as_bytes; in yaffs_check_tags_ecc()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()[all …]
155 u8 as_bytes[8]; member
54 - hasher.write(dirname.as_bytes());55 + hasher.write(filtered_dirname.as_bytes());105 - hasher.write(dirname.to_string().as_bytes());106 + hasher.write(filtered_dirname.as_bytes());148 - hasher.write(dirname.to_string().as_bytes());149 + hasher.write(filtered_dirname.as_bytes());
206 .as_bytes()484 .as_bytes()513 .as_bytes()
161 def as_bytes(self) -> bytes: member in FatDirectoryEntry461 + entry.as_bytes()
223 self.assertEqual(root_dir[0].as_bytes(),