Home
last modified time | relevance | path

Searched refs:CountDrops (Results 1 – 3 of 3) sorted by relevance

/wasmtime-44.0.1/crates/core/tests/
H A Dtests.rs32 struct CountDrops(Arc<AtomicU32>); struct
34 impl CountDrops { implementation
36 CountDrops(drops.clone()) in new()
40 impl Drop for CountDrops { implementation
46 impl fmt::Display for CountDrops { implementation
52 impl core::error::Error for CountDrops {} implementation
95 let error = Error::new(CountDrops::new(&drops)); in new_drops()
466 .context(CountDrops::new(&drops)) in downcast_drops_everything()
467 .context(CountDrops::new(&drops)); in downcast_drops_everything()
477 .context(CountDrops(drops.clone())) in downcast_drops_everything()
[all …]
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doracles.rs826 CountDrops::new(&expected_drops, num_dropped.clone()), in gc_ops()
830 CountDrops::new(&expected_drops, num_dropped.clone()), in gc_ops()
834 CountDrops::new(&expected_drops, num_dropped.clone()), in gc_ops()
864 .downcast_ref::<CountDrops>() in gc_ops()
872 .downcast_ref::<CountDrops>() in gc_ops()
880 .downcast_ref::<CountDrops>() in gc_ops()
902 CountDrops::new(&expected_drops, num_dropped.clone()), in gc_ops()
906 CountDrops::new(&expected_drops, num_dropped.clone()), in gc_ops()
1005 struct CountDrops(Arc<AtomicUsize>); in gc_ops() struct
1007 impl CountDrops { in gc_ops() implementation
[all …]
/wasmtime-44.0.1/tests/all/
H A Dgc.rs83 struct CountDrops(Arc<AtomicUsize>); struct
85 impl Drop for CountDrops { implementation
112 let r = ExternRef::new(&mut scope, CountDrops(num_refs_dropped.clone()))?; in wasm_dropping_refs()
1196 let externref = ExternRef::new(&mut store, CountDrops(num_refs_dropped.clone()))?; in drc_transitive_drop_cons_list()
1247 let e = ExternRef::new(&mut store, CountDrops(num_refs_dropped.clone()))?; in drc_transitive_drop_nested_arrays_tree()