Home
last modified time | relevance | path

Searched refs:resolve_item (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Ditem.rs144 let item = self.ctx.resolve_item(self.item); in next()
170 ctx.resolve_item((*self).into()).as_template_param(ctx, &()) in as_template_param()
212 ctx.resolve_item(*self).canonical_name(ctx) in canonical_name()
228 ctx.resolve_item(*self).namespace_aware_canonical_path(ctx) in namespace_aware_canonical_path()
236 ctx.resolve_item(*self).canonical_path(ctx) in canonical_path()
265 ctx.resolve_item(*self).trace(ctx, tracer, extra); in trace()
493 ctx.resolve_item(*id).as_module().map_or(false, |module| { in codegen_depth()
531 let parent = ctx.resolve_item(self.parent_id); in local_id()
688 item = ctx.resolve_item(inner); in name_target()
691 item = ctx.resolve_item(inst.template_definition()); in name_target()
[all …]
Dtemplate.rs158 ctx.resolve_item(id) in used_template_params()
315 ctx.resolve_item(*arg).path_for_allowlisting(ctx); in is_opaque()
Dcontext.rs89 if ctx.resolve_item(*self).kind().$check_method() {
488 if self.ctx.resolve_item(id).is_blocklisted(self.ctx) { in next()
1064 let old_parent = self.resolve_item(replacement_id).parent_id(); in process_replacements()
1086 let item = immut_self.resolve_item(*id); in process_replacements()
1099 .find(|id| immut_self.resolve_item(*id).is_module()) in process_replacements()
1221 self.resolve_item(ancestor) in assert_every_item_in_a_module()
1344 if self.resolve_item(item).is_blocklisted(self) { in uses_template_parameter()
1413 self.resolve_item(type_id).kind().expect_type() in resolve_type()
1421 self.resolve_item(func_id).kind().expect_function() in resolve_func()
1445 pub fn resolve_item<Id: Into<ItemId>>(&self, item_id: Id) -> &Item { in resolve_item() method
[all …]
Dtraversal.rs217 ctx.resolve_item(edge.to).is_enabled_for_codegen(ctx) in codegen_edges()
Dty.rs316 ctx.resolve_item(inner) in sanitized_name()
Dcomp.rs1457 .resolve_item(item) in from_ty()
/external/rust/crates/bindgen/src/codegen/
Dimpl_partialeq.rs32 let ty_item = ctx.resolve_item(base.ty); in gen_partialeq_impl()
48 let ty_item = ctx.resolve_item(fd.ty()); in gen_partialeq_impl()
137 let inner_item = ctx.resolve_item(t); in gen_field()
Dimpl_debug.rs77 ctx.resolve_item(self.ty()).impl_debug(ctx, name) in impl_debug()
228 ctx.resolve_item(t).impl_debug(ctx, name) in impl_debug()
Dmod.rs516 ctx.resolve_item(*child).codegen(ctx, result, &()); in codegen()
1533 let bitfield_ty_item = ctx.resolve_item(bf.ty()); in codegen()
1608 let bitfield_ty_item = ctx.resolve_item(self.ty()); in codegen()
1754 let inner_item = ctx.resolve_item(base.ty); in codegen()
2019 let child_item = ctx.resolve_item(*ty); in codegen()
2037 ctx.resolve_item(*var).codegen(ctx, result, &()); in codegen()
2287 let function_item = ctx.resolve_item(self.signature()); in codegen_method()
2297 let signature_item = ctx.resolve_item(function.signature()); in codegen_method()
3399 ctx.resolve_item((*self).into()).try_get_layout(ctx, &()) in try_get_layout()
3414 ctx.resolve_item((*self).into()).try_to_rust_ty(ctx, &()) in try_to_rust_ty()
[all …]
/external/rust/crates/bindgen/src/ir/analysis/
Dtemplate_params.rs424 ctx.resolve_item(item).as_type().map(|ty| match ty.kind() { in new()
529 let item = self.ctx.resolve_item(id); in constrain()
Dhas_destructor.rs96 let item = self.ctx.resolve_item(id); in constrain()
Dhas_vtable.rs156 let item = self.ctx.resolve_item(id); in constrain()
Dhas_type_param_in_array.rs114 let item = self.ctx.resolve_item(id); in constrain()
Dhas_float.rs108 let item = self.ctx.resolve_item(id); in constrain()
Dderive.rs684 let item = self.ctx.resolve_item(id); in constrain()