Home
last modified time | relevance | path

Searched defs:Customize (Results 1 – 23 of 23) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/
Dcustomize.rs9 pub struct Customize { struct
11 pub expose_oneof: Option<bool>,
13 pub expose_fields: Option<bool>,
15 pub generate_accessors: Option<bool>,
39 /// Make sure `Customize` is always used with `..Default::default()` argument
53 impl Customize { impl
55 pub fn update_with(&mut self, that: &Customize) { in update_with()
92 pub fn set_defaults_from(&mut self, other: &Customize) { in set_defaults_from()
99 pub fn parse_from_parameter(parameter: &str) -> CustomizeParseParameterResult<Customize> { in parse_from_parameter()
147 pub fn customize_from_rustproto_for_message(source: &MessageOptions) -> Customize { in customize_from_rustproto_for_message()
[all …]
Dlib.rs160 customize: &Customize, in write_file_descriptor_data()
237 customize: &Customize, in gen_file()
323 customize: &Customize, in gen()
360 customize: &Customize, in gen_and_write()
Doneof.rs96 customize: Customize, in parse()
139 customize: &Customize, in parse()
Dcode_writer.rs108 pub fn lazy_static(&mut self, name: &str, ty: &str, customize: &Customize) { in lazy_static()
118 pub fn lazy_static_decl_get<F>(&mut self, name: &str, ty: &str, customize: &Customize, init: F) in lazy_static_decl_get()
133 customize: &Customize, in lazy_static_decl_get_simple()
Drust_types_values.rs270 customize: &Customize, in try_into_target()
506 customize: &Customize, in type_name_to_rust_relative()
Dserde.rs5 pub fn write_serde_attr(w: &mut CodeWriter, customize: &Customize, attr: &str) { in write_serde_attr()
Dextensions.rs92 customize: &Customize, in write_extensions()
Denums.rs67 customize: &Customize, in new()
Dmessage.rs56 customize: &Customize, in new()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/customize/
Dmod.rs16 fn file(&self, file: &FileDescriptor) -> Customize { in file() method
21 fn message(&self, message: &MessageDescriptor) -> Customize { in message() method
26 fn field(&self, field: &FieldDescriptor) -> Customize { in field() method
31 fn special_field(&self, message: &MessageDescriptor, field: &str) -> Customize { in special_field()
36 fn enumeration(&self, enum_type: &EnumDescriptor) -> Customize { in enumeration()
41 fn oneof(&self, oneof: &OneofDescriptor) -> Customize { in oneof() method
90 pub struct Customize { struct
115 pub(crate) enum CustomizeParseParameterError { argument
122 impl Customize { argument
175 pub fn update_with(&mut self, that: &Customize) { in update_with()
[all …]
Dctx.rs31 elem_from_rustproto: &Customize, in child()
50 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize; in customize()
54 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize { in customize()
60 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize { in customize()
66 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize { in customize()
72 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize { in customize()
78 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize { in customize()
89 fn customize(&self, callback: &dyn CustomizeCallback) -> Customize { in customize()
Drustproto_proto.rs9 pub(crate) fn customize_from_rustproto_for_message(source: &MessageOptions) -> Customize { in customize_from_rustproto_for_message()
30 pub(crate) fn customize_from_rustproto_for_enum(_source: &EnumOptions) -> Customize { in customize_from_rustproto_for_enum()
34 pub(crate) fn customize_from_rustproto_for_field(source: &FieldOptions) -> Customize { in customize_from_rustproto_for_field()
55 pub(crate) fn customize_from_rustproto_for_file(source: &FileOptions) -> Customize { in customize_from_rustproto_for_file()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/
Dprotoc_insertion_point.rs14 fn write_protoc_insertion_point(w: &mut CodeWriter, customize: &Customize, arg: &str) { in write_protoc_insertion_point()
23 customize: &Customize, in write_protoc_insertion_point_for_message()
31 customize: &Customize, in write_protoc_insertion_point_for_field()
39 customize: &Customize, in write_protoc_insertion_point_for_special_field()
52 customize: &Customize, in write_protoc_insertion_point_for_enum()
60 customize: &Customize, in write_protoc_insertion_point_for_enum_value()
68 customize: &Customize, in write_protoc_insertion_point_for_oneof()
76 customize: &Customize, in write_protoc_insertion_point_for_oneof_field()
Dfile_descriptor.rs36 customize: &Customize, in write_generate_file_descriptor()
92 customize: &Customize, in write_file_descriptor()
135 customize: &Customize, in write_file_descriptor_data()
173 fn write_file_descriptor_proto(customize: &Customize, w: &mut CodeWriter) { in write_file_descriptor_proto()
Drust_types_values.rs215 pub fn default_value(&self, customize: &Customize, const_expr: bool) -> String { in default_value()
253 pub fn default_value_typed(self, customize: &Customize, const_expr: bool) -> RustValueTyped { in default_value_typed()
Dall.rs21 customize: &Customize, in gen_all()
Dpaths.rs49 customize: &Customize, in proto_path_to_fn_file_descriptor()
Ddescriptor.rs41 customize: &Customize, in write_fn_descriptor()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/field/
Delem.rs135 customize: &Customize, in singular_field_size()
196 customize: &Customize, in write_element_size()
230 customize: &Customize, in write_write_element()
271 customize: &Customize, in field_elem()
Dsingular.rs45 customize: &Customize, in default_value()
Dmod.rs80 customize: &Customize, in default()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/
Dgen_and_write.rs30 customize: &Customize, in gen_and_write()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/field/
Dmod.rs306 customize: &Customize, in field_elem()
448 customize: &Customize, in parse()