Home
last modified time | relevance | path

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

/wasmtime-44.0.1/crates/c-api/src/
H A Dexn.rs5 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 Dglobal.rs6 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 Dref.rs331 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 Dtable.rs6 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 Dval.rs8 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 Dasync.rs11 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 Dfunc.rs14 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 Drooting.rs121 pub struct RootScope<C> struct
129 impl<C> RootScope<C> argument
138 impl<T> AsContext for RootScope<T> implementation
149 impl<T> AsContextMut for RootScope<T> implementation
/wasmtime-44.0.1/tests/all/
H A Dgc.rs60 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 Darrays.rs44 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 Dstructs.rs46 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 Di31ref.rs13 let mut scope = RootScope::new(&mut store); in always_pop_i31ref_lifo_roots()
H A Dexnrefs.rs60 let mut scope = RootScope::new(&mut store); in exn_objects()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Drooting.rs1362 pub struct RootScope<C> struct
1370 impl<C> Drop for RootScope<C> argument
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 Doracles.rs960 let mut scope = RootScope::new(&mut store); in gc_ops()