Home
last modified time | relevance | path

Searched refs:dealloc (Results 1 – 23 of 23) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dfree_list.rs140 self.dealloc(index, layout); in add_capacity()
664 free_list.dealloc(a, layout); in dealloc_merge_prev_and_next()
671 free_list.dealloc(b, layout); in dealloc_merge_prev_and_next()
709 free_list.dealloc(a, layout); in dealloc_merge_with_prev_and_not_next()
716 free_list.dealloc(b, layout); in dealloc_merge_with_prev_and_not_next()
862 f.dealloc(a, l); in all_pairwise_alloc_dealloc_orderings()
863 f.dealloc(b, l); in all_pairwise_alloc_dealloc_orderings()
868 f.dealloc(b, l); in all_pairwise_alloc_dealloc_orderings()
869 f.dealloc(a, l); in all_pairwise_alloc_dealloc_orderings()
873 f.dealloc(a, l); in all_pairwise_alloc_dealloc_orderings()
[all …]
H A Ddrc.rs177 fn dealloc(&mut self, gc_ref: VMGcRef) { in dealloc() method
189 self.free_list.as_mut().unwrap().dealloc(index, layout); in dealloc()
258 host_data_table.dealloc(host_data_id); in dec_ref_and_maybe_dealloc()
262 self.dealloc(gc_ref.unchecked_copy()); in dec_ref_and_maybe_dealloc()
986 self.dealloc(gcref); in dealloc_uninit_struct_or_exn()
1010 self.dealloc(arrayref.into()) in dealloc_uninit_array()
/wasmtime-44.0.1/crates/wizer/benches/uap-bench/src/
H A Dlib.rs57 pub extern "C" fn dealloc(ptr: *mut u8, size: usize, align: usize) { in dealloc() function
60 std::alloc::dealloc(ptr, layout); in dealloc()
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dsmoke.rs2 alloc::{Layout, alloc, dealloc},
18 dealloc(self.ptr, self.layout); in drop()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Dhost_data.rs53 pub fn dealloc(&mut self, id: ExternRefHostDataId) -> Box<dyn Any + Send + Sync> { in dealloc() method
55 self.slab.dealloc(id.0) in dealloc()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dgc_heap_pool.rs30 fn dealloc(&mut self, heap: Box<dyn GcHeap>) -> MemoryAllocationIndex { in dealloc() method
133 heaps[allocation_index.index()].dealloc(heap) in deallocate()
/wasmtime-44.0.1/crates/wizer/benches/
H A Duap.rs35 let dealloc = instance in run_iter() localVariable
38 dealloc in run_iter()
/wasmtime-44.0.1/tests/misc_testsuite/component-model/
H A Dresources.wast499 (func (export "dealloc")
510 (func (export "dealloc") (canon lift (core func $i "dealloc")))
521 (export "dealloc-in1" (func $dealloc_in_1))
523 (export "dealloc-in2" (func $dealloc_in_2))
527 (assert_return (invoke "dealloc-in1"))
530 (assert_return (invoke "dealloc-in2"))
559 (func (export "dealloc")
570 (func (export "dealloc") (canon lift (core func $i "dealloc")))
587 (export "dealloc-in1" (func $dealloc_in_1))
593 (assert_return (invoke "dealloc-in1"))
[all …]
/wasmtime-44.0.1/crates/environ/src/collections/
H A Dbtree_map.rs100 self.values.dealloc(id); in insert()
112 Some(self.values.dealloc(id)) in remove()
321 let value = self.values.dealloc(id); in next()
498 e.values.dealloc(id); in or_insert_with_key()
569 let value = self.values.dealloc(id); in remove_entry()
600 self.values.dealloc(id) in remove()
647 self.values.dealloc(id); in insert_entry()
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dasync_post_return_callee.rs37 alloc::dealloc(ptr, Layout::from_size_align(8, 4).unwrap()); in export_post_return_foo()
H A Dasync_round_trip_stackful.rs98 alloc::dealloc(results, layout); in export_foo()
H A Dasync_round_trip_many_stackful.rs110 alloc::dealloc(params, layout); in export_foo()
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doom.rs161 unsafe fn dealloc(&self, ptr: *mut u8, layout: std::alloc::Layout) { in dealloc() method
163 std::alloc::System.dealloc(ptr, layout); in dealloc()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/miri/
H A Dmmap.rs140 alloc::dealloc(self.as_send_sync_ptr().as_ptr(), layout); in drop()
/wasmtime-44.0.1/examples/min-platform/embedding/src/
H A Dallocator.rs64 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc() method
/wasmtime-44.0.1/tests/all/
H A Dstack_creator.rs96 System.dealloc(self.memory.as_ptr(), self.layout); in drop()
/wasmtime-44.0.1/cranelift/jit/src/memory/
H A Dsystem.rs106 alloc::dealloc(self.ptr, layout) in drop()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs231 Err(n) => Ok(Err((self.host_data_table.dealloc(host_data_id), n))), in alloc_externref()
H A Dmmap_vec.rs348 alloc::alloc::dealloc(base.as_mut(), layout.clone()); in drop()
H A Dinstance.rs1968 alloc::alloc::dealloc(self.instance.as_ptr().cast(), layout); in drop()
/wasmtime-44.0.1/crates/core/src/
H A Dslab.rs439 pub fn dealloc(&mut self, id: Id) -> T { in dealloc() method
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Drooting.rs698 let gc_ref = self.owned_rooted.dealloc(*index); in trim_liveness_flags()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtype_registry.rs938 self.types.dealloc(id); in remove_entry_types()