Home
last modified time | relevance | path

Searched refs:name_ident (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/bindgen/src/codegen/
Dimpl_partialeq.rs56 let name_ident = ctx.rust_ident_raw(getter_name); in gen_partialeq_impl() localVariable
58 self.#name_ident () == other.#name_ident () in gen_partialeq_impl()
80 name_ident: proc_macro2::Ident, in gen_field()
82 quote! { self.#name_ident == other.#name_ident } in gen_field()
85 let name_ident = ctx.rust_ident(name); in gen_field() localVariable
104 TypeKind::Opaque => quote_equals(name_ident), in gen_field()
109 &self. #name_ident [..] == &other. #name_ident [..] in gen_field()
112 quote_equals(name_ident) in gen_field()
118 quote_equals(name_ident) in gen_field()
121 &self. #name_ident [..] == &other. #name_ident [..] in gen_field()
Dimpl_debug.rs102 let name_ident = ctx.rust_ident_raw(getter_name); in impl_debug() localVariable
104 self.#name_ident () in impl_debug()
121 let name_ident = ctx.rust_ident(name); in impl_debug() localVariable
138 name_ident: proc_macro2::TokenStream, in impl_debug()
143 self.#name_ident in impl_debug()
162 TypeKind::ObjCSel => debug_print(name, quote! { #name_ident }), in impl_debug()
168 debug_print(name, quote! { #name_ident }) in impl_debug()
186 debug_print(name, quote! { #name_ident }) in impl_debug()
197 self.#name_ident in impl_debug()
239 _ => debug_print(name, quote! { #name_ident }), in impl_debug()