Lines Matching refs:u16
936 crt_time: u16,
938 crt_date: u16,
940 lst_acc_date: u16,
942 fst_clus_hi: u16,
944 wrt_time: u16,
946 wrt_date: u16,
948 fst_clus_lo: u16,
959 name1: [u16; 5],
968 name2: [u16; 6],
970 first_clus_low: u16,
972 name3: [u16; 2],
986 fn new(ord: u8, name_part: &[u16], check_sum: u8) -> Self { in new() argument
1006 fn insert_name(&mut self, name_part: &[u16]) -> Result<(), SystemError> { in insert_name()
1018 pub fn copy_name_to_slice(&self, dst: &mut [u16]) -> Result<(), SystemError> { in copy_name_to_slice()
1330 self.fst_clus_lo = (cluster.cluster_num & 0x0000ffff) as u16; in set_first_cluster()
1331 self.fst_clus_hi = ((cluster.cluster_num & 0xffff0000) >> 16) as u16; in set_first_cluster()
1803 checksum_bitmask: u16,
1805 checksum: u16,
1807 suffix_bitmask: u16,
1927 fn fletcher_16_checksum(name: &str) -> u16 { in fletcher_16_checksum() argument
1928 let mut sum1: u16 = 0; in fletcher_16_checksum()
1929 let mut sum2: u16 = 0; in fletcher_16_checksum()
1931 sum1 = (sum1 + (c as u16)) % 0xff; in fletcher_16_checksum()
1978 Result<u16, core::num::ParseIntError>,
1981 .map(|s| u16::from_str_radix(s, 16));
2053 fn u16_to_u8_array(x: u16) -> [u8; 4] { in u16_to_u8_array()
2097 name: Vec<u16>,
2177 name: Vec<u16>,
2192 let mut name: Vec<u16> = name.chars().map(|c| c as u16).collect(); in new()