Lines Matching full:customize
94 mod customize; module
117 use customize::customize_from_rustproto_for_file;
119 pub use customize::Customize;
160 customize: &Customize, in write_file_descriptor_data() argument
197 protobuf_crate_path(customize) in write_file_descriptor_data()
199 customize, in write_file_descriptor_data()
205 protobuf_crate_path(customize) in write_file_descriptor_data()
210 protobuf_crate_path(customize) in write_file_descriptor_data()
218 protobuf_crate_path(customize) in write_file_descriptor_data()
237 customize: &Customize, in gen_file() argument
240 let mut customize = customize.clone(); in gen_file() localVariable
242 customize.update_with(&customize_from_rustproto_for_file(file.get_options())); in gen_file()
248 let lite_runtime = customize.lite_runtime.unwrap_or_else(|| { in gen_file()
259 if customize.inside_protobuf != Some(true) { in gen_file()
266 protobuf_crate_path(&customize), in gen_file()
276 MessageGen::new(message, &root_scope, &customize).write(&mut w); in gen_file()
281 EnumGen::new(enum_type, file, &customize, root_scope).write(&mut w); in gen_file()
284 write_extensions(file, &root_scope, &mut w, &customize); in gen_file()
288 write_file_descriptor_data(file, &customize, &mut w); in gen_file()
323 customize: &Customize, in gen() argument
343 let gen_file_result = gen_file(file, &files_map, &root_scope, customize); in gen()
348 if customize.gen_mod_rs.unwrap_or(false) { in gen()
360 customize: &Customize, in gen_and_write() argument
362 let results = gen(file_descriptors, files_to_generate, customize); in gen_and_write()
378 let customize = Customize::parse_from_parameter(r.parameter).expect("parse options"); in protoc_gen_rust_main() localVariable
379 gen(r.file_descriptors, r.files_to_generate, &customize) in protoc_gen_rust_main()