Searched refs:total_len (Results 1 – 2 of 2) sorted by relevance
727 let total_len: usize = self.0.iter().map(|slice| slice.len()).sum(); in new_buf() localVariable728 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf()732 buf.set_len(total_len); in new_buf()
1183 let total_len = if ext_len > 0 { in name_to_string() localVariable1196 let iter = name[..total_len].iter().map(|c| decode_u8_ascii(*c)); in name_to_string()