Home
last modified time | relevance | path

Searched refs:root_module (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Dcontext.rs324 root_module: ModuleId, field
545 let root_module = Self::build_root_module(ItemId(0)); in new() localVariable
546 let root_module_id = root_module.id().as_module_id_unchecked(); in new()
549 items: vec![Some(root_module)], in new()
553 root_module: root_module_id, in new()
664 if item.id() != self.root_module { in add_item()
730 assert!(item.id() != self.root_module); in add_item_to_module()
1084 .chain(Some(immut_self.root_module.into())) in process_replacements()
1101 let new_module = new_module.unwrap_or(self.root_module.into()); in process_replacements()
1183 assert!(self.current_module == self.root_module); in assert_no_dangling_item_traversal()
[all …]
Ditem.rs459 let parent = ctx.root_module().into(); in new_opaque_type()
571 self.id() != ctx.root_module() in is_toplevel()
583 if parent_item.id() == ctx.root_module() { in is_toplevel()
853 .filter(|id| *id != ctx.root_module()) in real_canonical_name()
1029 vec![ctx.resolve_item(ctx.root_module()).name(ctx).get()]; in compute_path()
1037 .chain(iter::once(ctx.root_module().into())) in compute_path()
1285 let module = ctx.root_module().into(); in builtin_type()
1833 let parent = ctx.root_module().into(); in type_param()
/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py653 root_module = ''
672 if module == root_module and root_init_template:
/external/rust/crates/bindgen/src/
Dlib.rs2504 let root = context.root_module(); in parse()
2510 context.current_module() == context.root_module(), in parse()
/external/rust/crates/bindgen/src/codegen/
Dmod.rs87 let root = ctx.root_module().canonical_name(ctx); in root_import()
520 if item.id() == ctx.root_module() { in codegen()
574 result.push(if item.id() == ctx.root_module() { in codegen()
4201 context.resolve_item(context.root_module()).codegen( in codegen()