| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | exn.rs | 5 use wasmtime::{AsContextMut, ExnRef, ExnRefPre, ExnType, RootScope, Tag}; 22 let mut scope = RootScope::new(&mut store); in wasmtime_exn_new() 46 let mut scope = RootScope::new(&mut store); in wasmtime_exn_tag() 58 let mut scope = RootScope::new(&mut store); in wasmtime_exn_field_count() 71 let mut scope = RootScope::new(&mut store); in wasmtime_exn_field() 83 let mut scope = RootScope::new(&mut store); in wasmtime_context_set_exception()
|
| H A D | global.rs | 6 use wasmtime::{Extern, Global, RootScope}; 87 let mut scope = RootScope::new(&mut store); in wasmtime_global_new() 109 let mut scope = RootScope::new(store); in wasmtime_global_get() 120 let mut scope = RootScope::new(&mut store); in wasmtime_global_set()
|
| H A D | ref.rs | 331 let mut scope = RootScope::new(cx); in wasmtime_anyref_from_raw() 343 let mut scope = RootScope::new(cx); in wasmtime_anyref_from_i31() 405 let mut scope = RootScope::new(cx); in wasmtime_externref_new() 465 let mut scope = RootScope::new(cx); in wasmtime_externref_from_raw() 522 let mut scope = RootScope::new(cx); in wasmtime_eqref_from_i31() 545 let mut scope = RootScope::new(cx); in wasmtime_eqref_i31_get_u() 561 let mut scope = RootScope::new(cx); in wasmtime_eqref_i31_get_s() 642 let mut scope = RootScope::new(&mut cx); in wasmtime_structref_new() 709 let mut scope = RootScope::new(&mut cx); in wasmtime_structref_field() 731 let mut scope = RootScope::new(&mut cx); in wasmtime_structref_set_field() [all …]
|
| H A D | table.rs | 6 use wasmtime::{Extern, Ref, RootScope, Table, TableType, format_err}; 123 let mut scope = RootScope::new(&mut store); in wasmtime_table_new() 148 let mut scope = RootScope::new(store); in wasmtime_table_get() 165 let mut scope = RootScope::new(&mut store); in wasmtime_table_set() 188 let mut scope = RootScope::new(&mut store); in wasmtime_table_grow()
|
| H A D | val.rs | 8 use wasmtime::{AsContextMut, Func, HeapType, Ref, RootScope, Val, ValType}; 230 pub fn from_val(cx: &mut RootScope<impl AsContextMut>, val: Val) -> wasmtime_val_t { in from_val() 300 pub unsafe fn to_val(&self, cx: &mut RootScope<impl AsContextMut>) -> Val { in to_val()
|
| H A D | async.rs | 11 AsContextMut, Func, Instance, Result, RootScope, StackCreator, StackMemory, Trap, Val, 220 mut store: RootScope<WasmtimeStoreContextMut<'_>>, in do_func_call_async() 254 let mut scope = RootScope::new(store); in wasmtime_func_call_async()
|
| H A D | func.rs | 14 AsContext, AsContextMut, Error, Extern, Func, Result, RootScope, StoreContext, StoreContextMut, 354 let mut scope = RootScope::new(&mut store); in wasmtime_func_call()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/disabled/ |
| H A D | rooting.rs | 121 pub struct RootScope<C> struct 129 impl<C> RootScope<C> impl 138 impl<T> AsContext for RootScope<T> implementation 149 impl<T> AsContextMut for RootScope<T> implementation
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | gc.rs | 60 let mut scope = RootScope::new(&mut store); in smoke_test_gc_impl() 111 let mut scope = RootScope::new(&mut store); in wasm_dropping_refs() 241 let mut scope = RootScope::new(&mut store); in drop_externref_via_table_set() 734 let mut scope = RootScope::new(&mut store); in rooted_gets_collected_after_scope_exit() 753 let mut scope = RootScope::new(&mut store); in owned_rooted_gets_collected_after_unrooting() 817 let mut scope = RootScope::new(&mut store); in to_raw_from_raw_doesnt_leak() 836 let mut scope = RootScope::new(&mut store); in table_fill_doesnt_leak() 860 let mut scope = RootScope::new(&mut store); in table_copy_doesnt_leak() 887 let mut scope = RootScope::new(&mut store); in table_set_doesnt_leak() 914 let mut scope = RootScope::new(&mut store); in table_grow_doesnt_leak() [all …]
|
| H A D | arrays.rs | 44 let mut scope = RootScope::new(&mut store); in array_new_unrooted_initial_elem() 129 let mut scope = RootScope::new(&mut store); in array_new_fixed_unrooted_initial_elem() 285 let mut scope = RootScope::new(&mut store); in array_get_on_unrooted() 359 let mut scope = RootScope::new(&mut store); in array_set_on_unrooted() 380 let mut scope = RootScope::new(&mut store); in array_set_given_unrooted() 469 let mut scope = RootScope::new(&mut store); in array_ty_unrooted() 522 let mut scope = RootScope::new(&mut store); in array_elems_unrooted()
|
| H A D | structs.rs | 46 let mut scope = RootScope::new(&mut store); in struct_new_unrooted_field() 159 let mut scope = RootScope::new(&mut store); in struct_field_on_unrooted() 213 let mut scope = RootScope::new(&mut store); in struct_set_field_on_unrooted() 234 let mut scope = RootScope::new(&mut store); in struct_set_field_with_unrooted() 310 let mut scope = RootScope::new(&mut store); in struct_ty_unrooted() 356 let mut scope = RootScope::new(&mut store); in struct_fields_unrooted()
|
| H A D | i31ref.rs | 13 let mut scope = RootScope::new(&mut store); in always_pop_i31ref_lifo_roots()
|
| H A D | exnrefs.rs | 60 let mut scope = RootScope::new(&mut store); in exn_objects()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | rooting.rs | 1362 pub struct RootScope<C> struct 1370 impl<C> Drop for RootScope<C> implementation 1379 impl<C> RootScope<C> implementation 1414 RootScope { store, scope } in new() 1448 impl<T> AsContext for RootScope<T> implementation 1459 impl<T> AsContextMut for RootScope<T> implementation
|
| /wasmtime-44.0.1/crates/fuzzing/src/ |
| H A D | oracles.rs | 960 let mut scope = RootScope::new(&mut store); in gc_ops()
|