Searched refs:rust_name (Results 1 – 8 of 8) sorted by relevance
/third_party/rust/crates/cxx/syntax/ |
D | parse.rs | 64 let mut rust_name = None; in parse_struct() localVariable 74 rust_name: Some(&mut rust_name), in parse_struct() 133 let mut rust_name = None; in parse_struct() localVariable 141 rust_name: Some(&mut rust_name), in parse_struct() 153 let name = pair(Namespace::default(), &ident, cxx_name, rust_name); in parse_struct() 168 let name = pair(namespace, &item.ident, cxx_name, rust_name); in parse_struct() 197 let mut rust_name = None; in parse_enum() localVariable 209 rust_name: Some(&mut rust_name), in parse_enum() 250 let name = pair(namespace, &item.ident, cxx_name, rust_name); in parse_enum() 291 let mut rust_name = None; in parse_variant() localVariable [all …]
|
D | attrs.rs | 37 pub rust_name: Option<&'a mut Option<Ident>>, field 121 if let Some(rust_name) = &mut parser.rust_name { in parse() 122 **rust_name = Some(attr); in parse()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | objc.rs | 57 rust_name: String, field 88 pub fn rust_name(&self) -> String { in rust_name() method 222 let rust_name = split_name.join("_"); in new() localVariable 226 rust_name, in new() 240 pub fn rust_name(&self) -> &str { in rust_name() method 241 self.rust_name.as_ref() in rust_name()
|
D | ty.rs | 1196 name = Some(interface.rust_name()); in from_clang_ty()
|
/third_party/rust/crates/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
|
/third_party/rust/crates/cxx/tests/ffi/ |
D | lib.rs | 208 #[rust_name = "i32_overloaded_method"] 210 #[rust_name = "str_overloaded_method"] 212 #[rust_name = "i32_overloaded_function"] 214 #[rust_name = "str_overloaded_function"] 238 #[rust_name = "c_return_borrow_elided"]
|
/third_party/rust/crates/cxx/macro/src/ |
D | load.rs | 180 let rust_name: Ident = match syn::parse_str(&decl.name) { in traverse() localVariable 217 rust: rust_name, in traverse()
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | mod.rs | 829 let rust_name = ctx.rust_ident(name); in codegen() localVariable 838 pub type #rust_name = #inner_rust_type ; in codegen() 940 let rust_name = ctx.rust_ident(&name); in codegen() localVariable 973 :: #inner_rust_type as #rust_name ; in codegen() 981 pub type #rust_name in codegen() 1002 pub struct #rust_name in codegen() 1051 impl ::#prefix::ops::Deref for #rust_name { in codegen() 1058 impl ::#prefix::ops::DerefMut for #rust_name { in codegen() 4219 let name = format!("{}::{}{}", rust_class_name, prefix, method.rust_name()); in objc_method_codegen() 4258 ctx.rust_ident(format!("{}{}", prefix, method.rust_name())); in objc_method_codegen() [all …]
|