Searched refs:expr_vec_with_capacity_const (Results 1 – 3 of 3) sorted by relevance
9 use crate::gen::rust::snippets::expr_vec_with_capacity_const;42 vec_with_capacity = expr_vec_with_capacity_const(deps.len()) in write_generate_file_descriptor()56 vec_with_capacity = expr_vec_with_capacity_const(messages.len()) in write_generate_file_descriptor()68 expr_vec_with_capacity_const(enums.len()) in write_generate_file_descriptor()
25 use crate::gen::rust::snippets::expr_vec_with_capacity_const;422 expr_vec_with_capacity_const(fields.len()) in write_generated_message_descriptor_data()426 expr_vec_with_capacity_const(oneofs.len()) in write_generated_message_descriptor_data()
8 pub(crate) fn expr_vec_with_capacity_const(capacity: usize) -> String { in expr_vec_with_capacity_const() function