| /wasmtime-44.0.1/cranelift/bforest/src/ |
| H A D | set.rs | 96 self.root in contains() 146 if let Some(root) = self.root.take() { in clear() 159 if let Some(root) = self.root.expand() { in retain() 184 root: self.root, in iter() 223 root: &mut container.root, in new() 247 self.root in prev() 249 .and_then(|root| self.path.prev(root, self.pool).map(|(k, _)| k)) in prev() 281 self.root.map(|root| self.path.first(root, self.pool).0) in goto_first() 299 *self.root = root.into(); in try_insert() 334 self.root.map(|root| self.pool.verify_tree(root, self.comp)); in verify() [all …]
|
| H A D | map.rs | 123 self.root.expand().and_then(|root| { in get_or_less() 171 if let Some(root) = self.root.take() { in clear() 186 if let Some(root) = self.root.expand() { in retain() 227 root: self.root, in iter() 236 root: self.root, in into_iter() 345 root.expand().and_then(|root| self.path.prev(root, pool)) in prev() 373 root.expand().and_then(|root| { in goto() 387 root.map(|root| self.path.first(root, pool).1) in goto_first() 471 root: &container.root, in new() 554 root: &mut container.root, in new() [all …]
|
| H A D | path.rs | 51 root: Node, in find() 55 let mut node = root; in find() 93 let mut node = root; in first() 206 let mut node = root; in goto_subtree_last() 228 self.node[0] = root; in set_root_node() 755 assert_eq!(p.node[0], root); in search_single_leaf() 761 assert_eq!(p.node[0], root); in search_single_leaf() 767 assert_eq!(p.node[0], root); in search_single_leaf() 771 match pool[root] { in search_single_leaf() 787 assert_eq!(p.node[0], root); in search_single_leaf() [all …]
|
| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | import.rs | 346 .root() in attempt_to_leave_during_malloc() 741 .root() in test_stack_and_heap_args_and_rets() 765 .root() in test_stack_and_heap_args_and_rets() 790 .root() in test_stack_and_heap_args_and_rets() 815 .root() in test_stack_and_heap_args_and_rets() 859 .root() in test_stack_and_heap_args_and_rets() 872 .root() in test_stack_and_heap_args_and_rets() 889 .root() in test_stack_and_heap_args_and_rets() 902 .root() in test_stack_and_heap_args_and_rets() 1037 .root() in bad_import_alignment() [all …]
|
| H A D | resources.rs | 41 .root() in host_resource_types() 44 .root() in host_resource_types() 402 .root() in drop_host_twice() 467 .root() in manually_destroy() 529 .root() in dynamic_type() 586 .root() in dynamic_val() 762 .root() in active_borrows_at_end_of_call() 818 .root() in thread_through_borrow() 821 .root() in thread_through_borrow() 866 .root() in borrows_must_be_dropped_before_lifting() [all …]
|
| H A D | linker.rs | 12 linker.root().resource("a:b/[email protected]", ty, |_, _| Ok(()))?; in old_import_importing_new_item() 35 linker.root().resource("a:b/[email protected]", ty, |_, _| Ok(()))?; in new_import_importing_old_item() 59 linker.root().resource("a:b/[email protected]", t1, |_, _| Ok(()))?; in import_both_old_and_new() 60 linker.root().resource("a:b/[email protected]", t2, |_, _| Ok(()))?; in import_both_old_and_new() 87 linker.root().resource("a:b/[email protected]", t1, |_, _| Ok(()))?; in missing_import_selects_max() 88 linker.root().resource("a:b/[email protected]", t2, |_, _| Ok(()))?; in missing_import_selects_max()
|
| H A D | async.rs | 79 let mut root = linker.root(); in smoke_func_wrap() localVariable 80 root.func_wrap_async("i", |_: StoreContextMut<()>, _: ()| { in smoke_func_wrap() 147 .root() in resume_separate_thread() 289 .root() in drop_resource_async() 809 .root() in run_wasm_in_call_async() 851 let mut root = linker.root(); in require_concurrency_support() localVariable 854 root.func_wrap_concurrent::<(), (), _>("f1", |_, _| { todo!() }) in require_concurrency_support() 858 root.func_new_concurrent("f2", |_, _, _, _| { todo!() }) in require_concurrency_support() 935 linker.root().func_wrap_concurrent("f", |_, ()| { in cancel_host_task_does_not_leak() 1004 .root() in sync_lower_async_host_does_not_leak() [all …]
|
| H A D | missing_async.rs | 73 .root() in require_async_after_linker_with_func_wrap_async() 97 .root() in require_async_after_linker_with_func_wrap_concurrent() 119 .root() in require_async_after_linker_with_func_new_async() 143 .root() in require_async_after_linker_with_func_new_concurrent()
|
| H A D | nested.rs | 99 .root() in nested_many_instantiations() 166 .root() in thread_options_through_inner()
|
| H A D | call_hook.rs | 48 .root() in call_wrapped_func() 222 .root() in call_wrapped_async_func() 262 .root() in trapping() 465 .root() in timeout_async_hook() 550 linker.root().func_wrap_async("f", |mut store, _: ()| { in drop_suspended_async_hook()
|
| /wasmtime-44.0.1/crates/fuzzing/ |
| H A D | build.rs | 15 let mut root = env::current_dir().unwrap(); in main() localVariable 16 root.pop(); // chop off 'fuzzing' in main() 17 root.pop(); // chop off 'crates' in main() 19 let mut tests = wasmtime_test_util::wast::find_tests(&root).unwrap(); in main()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | pulley.rs | 256 .root() in pulley_provenance_test_components() 259 .root() in pulley_provenance_test_components() 262 .root() in pulley_provenance_test_components() 265 .root() in pulley_provenance_test_components() 270 .root() in pulley_provenance_test_components() 273 .root() in pulley_provenance_test_components() 328 .root() in pulley_provenance_test_components() 339 .root() in pulley_provenance_test_components() 345 .root() in pulley_provenance_test_components() 351 .root() in pulley_provenance_test_components() [all …]
|
| /wasmtime-44.0.1/crates/c-api/tests/component/ |
| H A D | define_module.cc | 41 auto root = linker.root(); in TEST() local 42 auto xyz = root.add_instance("x:y/z").unwrap(); in TEST()
|
| H A D | linker.cc | 12 linker.root().add_module("x", m).unwrap(); in TEST() 13 linker.root().add_module("x", m).err(); in TEST() 15 linker.root().add_module("x", m).unwrap(); in TEST()
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | restrictions.wast | 3 "root-level component imports are not supported") 7 "exporting a component from the root component is not supported") 22 "root-level component imports are not supported")
|
| H A D | simple.wast | 28 "root-level component imports are not supported") 34 "exporting a component from the root component is not supported")
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/store/ |
| H A D | gc.rs | 21 root: Option<VMGcRef>, in gc() 28 let root = root.map(|r| scope.gc_roots_mut().push_lifo_root(store_id, r)); in gc() localVariable 34 root.map(|r| { in gc()
|
| /wasmtime-44.0.1/crates/cranelift/src/debug/transform/ |
| H A D | simulate.rs | 336 let root_id = unit.root(); in generate_simulated_dwarf() 337 let root = unit.get_mut(root_id); in generate_simulated_dwarf() localVariable 340 root.set(gimli::DW_AT_producer, write::AttributeValue::StringRef(id)); in generate_simulated_dwarf() 341 root.set( in generate_simulated_dwarf() 345 root.set(gimli::DW_AT_name, write::AttributeValue::StringRef(name_id)); in generate_simulated_dwarf() 346 root.set( in generate_simulated_dwarf() 350 root.set( in generate_simulated_dwarf()
|
| H A D | synthetic.rs | 67 let unit_die = unit.get_mut(unit.root()); in create_unit() 93 let root_id = unit.root(); in create_vmctx_ptr_die() 178 let root_id = unit.root(); in create_wasm_ptr_die()
|
| /wasmtime-44.0.1/crates/environ/src/graphs/ |
| H A D | dfs.rs | 25 pub fn add_root(&mut self, root: Node) { in add_root() 26 self.stack.push(DfsEvent::Pre(root)); in add_root()
|
| /wasmtime-44.0.1/crates/wiggle/macro/src/ |
| H A D | lib.rs | 169 let root = Path::new(env!("DEBUG_OUTPUT_DIR")); in from_witx() localVariable 171 let path = root.join(format!("wiggle{n}.rs")); in from_witx()
|
| /wasmtime-44.0.1/crates/explorer/src/ |
| H A D | .eslintrc.yml | 1 root: true
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | wast.rs | 33 pub fn find_tests(root: &Path) -> Result<Vec<WastTest>> { in find_tests() 36 let spec_tests = root.join("tests/spec_testsuite"); in find_tests() 44 let misc_tests = root.join("tests/misc_testsuite"); in find_tests() 48 let cm_tests = root.join("tests/component-model/test"); in find_tests()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | dominator_tree.rs | 396 let mut root = v; in eval() localVariable 398 self.eval_worklist.push(root); in eval() 399 root = self.stree[root].ancestor; in eval() 401 if self.stree[root].ancestor < last_linked { in eval() 406 let mut prev = root; in eval() 407 let root = self.stree[prev].ancestor; in eval() localVariable 416 self.stree[curr].ancestor = root; in eval()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | linker.rs | 142 pub fn root(&mut self) -> LinkerInstance<'_, T> { in root() method 160 self.root().into_instance(name) in instance() 229 let (root, _) = &env_component.import_types[*import]; in instantiate_pre() 234 let mut cur = self.map.get(root, &self.strings).unwrap(); in instantiate_pre() 366 &mut self.root(), in define_unknown_imports_as_traps()
|