/external/rust/crates/protobuf/src/ |
D | descriptorx.rs | 326 fn rust_name(&self) -> String { in rust_name() method 341 self.rust_name() in rust_fq_name() 447 fn rust_name(&self) -> String; in rust_name() method 451 fn rust_name(&self) -> String { in rust_name() method 504 fn rust_name(&self) -> String; in rust_name() method 508 fn rust_name(&self) -> String { in rust_name() method 551 pub fn rust_name(&self) -> String { in rust_name() method 552 self.field.rust_name() in rust_name() 588 pub fn rust_name(&self) -> String { in rust_name() method 591 self.message.rust_name(), in rust_name() [all …]
|
/external/rust/crates/protobuf-codegen/src/ |
D | oneof.rs | 9 use rust_name::RustIdent; 64 oneof_type_name: RustType::Oneof(oneof.rust_name().to_string()), in parse() 104 field.rust_name in parse() 141 let rust_name = oneof.rust_name(); in parse() localVariable 145 type_name: RustType::Oneof(rust_name.to_string()), in parse() 193 variant.field.rust_name, in write_enum()
|
D | enums.rs | 69 let rust_name = if enum_with_scope.get_scope().get_file_descriptor().get_name() in new() localVariable 73 enum_with_scope.rust_name().to_string() in new() 95 type_name: rust_name, in new() 111 p.rust_name().get(), in values_all() 129 p.rust_name().get(), in values_unique() 138 EnumValueGen::parse(v.proto, &self.type_name, v.rust_name().get()) in value_by_name() 362 &first_value.rust_name() in write_impl_default()
|
D | scope.rs | 7 use crate::rust_name::RustIdent; 8 use crate::rust_name::RustIdentWithPath; 288 fn rust_name(&self) -> RustIdent { in rust_name() method 303 self.rust_name() in rust_fq_name() 420 pub fn rust_name(&self) -> RustIdent { in rust_name() method 503 pub fn rust_name(&self) -> RustIdent { in rust_name() method 535 pub fn rust_name(&self) -> RustIdentWithPath { in rust_name() method 538 self.message.rust_name(), in rust_name()
|
D | message.rs | 12 use rust_name::RustIdentWithPath; 77 type_name: message.rust_name().into(), in new() 304 self.type_name, field.rust_name in write_descriptor_field() 308 self.type_name, field.rust_name in write_descriptor_field() 312 w.write_line(&format!("{}::has_{},", self.type_name, field.rust_name)); in write_descriptor_field() 313 w.write_line(&format!("{}::get_{},", self.type_name, field.rust_name)); in write_descriptor_field() 514 w.comment(&format!("{}: <group>", &field.rust_name)); in write_struct() 533 &field.rust_name.get(), in write_struct()
|
D | file.rs | 2 use crate::rust_name::RustIdent; 48 use crate::rust_name::RustIdent;
|
D | file_and_mod.rs | 1 use rust_name::RustRelativePath;
|
D | rust_types_values.rs | 8 use rust_name::RustIdent; 455 pub(crate) fn rust_name(field_type: FieldDescriptorProto_Type) -> RustType { in rust_name() function 511 format!("super::{}", message_or_enum.rust_name()) in type_name_to_rust_relative() 513 format!("{}", message_or_enum.rust_name()) in type_name_to_rust_relative()
|
D | lib.rs | 44 mod rust_name; module
|
/external/rust/crates/bindgen/src/ir/ |
D | objc.rs | 58 rust_name: String, field 89 pub fn rust_name(&self) -> String { in rust_name() method 217 let rust_name = split_name.join("_"); in new() localVariable 221 rust_name: rust_name.to_owned(), in new() 235 pub fn rust_name(&self) -> &str { in rust_name() method 236 self.rust_name.as_ref() in rust_name()
|
D | ty.rs | 1192 name = interface.rust_name(); in from_clang_ty()
|
/external/rust/cxx/syntax/ |
D | parse.rs | 62 let mut rust_name = None; in parse_struct() localVariable 71 rust_name: Some(&mut rust_name), in parse_struct() 129 let mut rust_name = None; in parse_struct() localVariable 136 rust_name: Some(&mut rust_name), in parse_struct() 148 let name = pair(Namespace::default(), &ident, cxx_name, rust_name); in parse_struct() 160 let name = pair(namespace, &item.ident, cxx_name, rust_name); in parse_struct() 187 let mut rust_name = None; in parse_enum() localVariable 197 rust_name: Some(&mut rust_name), in parse_enum() 237 let name = pair(namespace, &item.ident, cxx_name, rust_name); in parse_enum() 269 let mut rust_name = None; in parse_variant() localVariable [all …]
|
D | attrs.rs | 35 pub rust_name: Option<&'a mut Option<Ident>>, field 114 if let Some(rust_name) = &mut parser.rust_name { in parse() 115 **rust_name = Some(attr); in parse()
|
/external/rust/crates/protobuf-codegen/src/field/ |
D | mod.rs | 19 use rust_name::RustIdent; 20 use rust_name::RustIdentWithPath; 261 FieldElem::Primitive(t, PrimitiveTypeVariant::Default) => rust_name(t), in rust_storage_type() 371 RustIdent::from(enum_with_scope.values()[0].rust_name().to_owned()), in field_elem() 435 pub rust_name: RustIdent, field 504 rust_name: field.rust_name(), in parse() 589 self.rust_name in variant_path() 640 t => rust_name(t), in os_write_fn_param_type() 1036 format!("self.{}", self.rust_name) in self_field() 1163 self.rust_name, in write_for_self_field() [all …]
|
/external/rust/cxx/book/src/ |
D | attributes.md | 59 #[rust_name = "i32_overloaded_function"] 61 #[rust_name = "str_overloaded_function"] 67 The `#[rust_name = "..."]` attribute replaces the name that Rust should use for
|
/external/rust/crates/protobuf/src/reflect/ |
D | message.rs | 69 rust_name: &'static str, in new_non_generic_by_rust_name() 74 let proto = find_message_by_rust_name(file, rust_name); in new_non_generic_by_rust_name() 200 rust_name: &'static str, in new() 205 MessageDescriptor::new_non_generic_by_rust_name(rust_name, fields, file, factory) in new()
|
D | enums.rs | 61 pub fn new(rust_name: &'static str, file: &'static FileDescriptorProto) -> EnumDescriptor { in new() 62 let proto = find_enum_by_rust_name(file, rust_name); in new()
|
/external/rust/cxx/tests/ffi/ |
D | lib.rs | 198 #[rust_name = "i32_overloaded_method"] 200 #[rust_name = "str_overloaded_method"] 202 #[rust_name = "i32_overloaded_function"] 204 #[rust_name = "str_overloaded_function"] 228 #[rust_name = "c_return_borrow_elided"]
|
/external/rust/crates/bindgen/src/codegen/ |
D | mod.rs | 774 let rust_name = ctx.rust_ident(&name); in codegen() localVariable 783 pub type #rust_name = #inner_rust_type ; in codegen() 860 let rust_name = ctx.rust_ident(&name); in codegen() localVariable 896 :: #inner_rust_type as #rust_name ; in codegen() 904 pub type #rust_name in codegen() 923 pub struct #rust_name in codegen() 972 impl ::#prefix::ops::Deref for #rust_name { in codegen() 979 impl ::#prefix::ops::DerefMut for #rust_name { in codegen() 3961 ctx.rust_ident(format!("{}{}", prefix, method.rust_name())); in objc_method_codegen() 3990 self.methods().iter().map(|m| m.rust_name()).collect(); in codegen() [all …]
|