Searched refs:total_len (Results 1 – 2 of 2) sorted by relevance
1880 let total_len: usize = self.0.iter().map(|slice| slice.len()).sum(); in new_buf() localVariable1881 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf()1884 buf.resize(total_len, 0); in new_buf()
1225 let total_len = if ext_len > 0 { in name_to_string() localVariable1238 let iter = name[..total_len].iter().map(|c| decode_u8_ascii(*c)); in name_to_string()