Home
last modified time | relevance | path

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

/third_party/rust/crates/bindgen/bindgen/ir/
Dcontext.rs324 root_module: ModuleId, field
556 let root_module = Self::build_root_module(ItemId(0)); in new() localVariable
557 let root_module_id = root_module.id().as_module_id_unchecked(); in new()
563 items: vec![Some(root_module)], in new()
568 root_module: root_module_id, in new()
681 if item.id() != self.root_module { in add_item()
749 assert!(item.id() != self.root_module); in add_item_to_module()
1102 .chain(Some(immut_self.root_module.into())) in process_replacements()
1120 new_module.unwrap_or_else(|| self.root_module.into()); in process_replacements()
1206 assert!(self.current_module == self.root_module); in assert_no_dangling_item_traversal()
[all …]
Ditem.rs461 let parent = ctx.root_module().into(); in new_opaque_type()
582 self.id() != ctx.root_module() in is_toplevel()
594 if parent_item.id() == ctx.root_module() { in is_toplevel()
869 .filter(|id| *id != ctx.root_module()) in real_canonical_name()
1051 vec![ctx.resolve_item(ctx.root_module()).name(ctx).get()]; in compute_path()
1059 .chain(iter::once(ctx.root_module().into())) in compute_path()
1325 let module = ctx.root_module().into(); in builtin_type()
1882 let parent = ctx.root_module().into(); in type_param()
/third_party/node/deps/v8/src/d8/
Dd8.cc1316 Local<Module> root_module; in DoHostImportModuleDynamically() local
1320 root_module = module_it->second.Get(isolate); in DoHostImportModuleDynamically()
1323 .ToLocal(&root_module)) { in DoHostImportModuleDynamically()
1330 if (root_module->InstantiateModule(realm, ResolveModuleCallback) in DoHostImportModuleDynamically()
1332 maybe_result = root_module->Evaluate(realm); in DoHostImportModuleDynamically()
1344 Local<Value> module_namespace = root_module->GetModuleNamespace(); in DoHostImportModuleDynamically()
1378 Local<Module> root_module; in ExecuteModule() local
1382 root_module = module_it->second.Get(isolate); in ExecuteModule()
1385 .ToLocal(&root_module)) { in ExecuteModule()
1392 if (root_module->InstantiateModule(realm, ResolveModuleCallback) in ExecuteModule()
[all …]
/third_party/rust/crates/bindgen/bindgen/
Dlib.rs2916 let root = context.root_module(); in parse()
2922 context.current_module() == context.root_module(), in parse()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs113 let root = ctx.root_module().canonical_name(ctx); in root_import()
557 if item.id() == ctx.root_module() { in codegen()
611 result.push(if item.id() == ctx.root_module() { in codegen()
4517 context.resolve_item(context.root_module()).codegen( in codegen()