| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | adapter.wast | 35 (func (export "realloc") (param i32 i32 i32 i32) (result i32) 44 (realloc (func $i "realloc")) 53 (realloc (func $i "realloc")) 62 (realloc (func $i "realloc")) 71 (realloc (func $i "realloc")) 121 (func (export "realloc") (param i32 i32 i32 i32) (result i32) 131 (realloc (func $m "realloc")) 137 (assert_trap (invoke "empty-list" (list.const)) "realloc return: beyond end of memory")
|
| H A D | strings.wast | 44 (realloc (func $m "realloc")) 94 (realloc (func $m "realloc")) 143 (realloc (func $m "realloc")) 194 (realloc (func $m "realloc")) 226 ;; - first realloc fails to hold latin1 227 ;; - second realloc is too big 228 ;; - third realloc shrinks 274 (realloc (func $m "realloc")) 310 ;; - first realloc fails to hold latin1 311 ;; - second realloc is out of bounds [all …]
|
| H A D | big-strings.wast | 10 (func (export "realloc") (param i32 i32 i32 i32) (result i32) unreachable) 17 (realloc (func $i "realloc")) 58 ;; `realloc`.
|
| H A D | string-transcode-invalid.wast | 9 (func (export "realloc") (param i32 i32 i32 i32) (result i32) i32.const 0) 14 (canon lift (core func $i "recv") (realloc (func $i "realloc")) (memory $i "memory") 25 (func (export "realloc") (param i32 i32 i32 i32) (result i32) i32.const 0)
|
| H A D | error-context-trap-in-post-return.wast | 6 (func (export "realloc") (param i32 i32 i32 i32) (result i32) unreachable) 14 (realloc (func $memory "realloc"))))
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/async/ |
| H A D | many-params-with-retptr.wast | 16 (export "realloc" (func $realloc)) 17 …(func $realloc (;0;) (type $#type0) (param $old_ptr i32) (param $old_size i32) (param $align i32) … 90 (realloc (func $libc "realloc")) 98 (import "libc" "realloc" (func $realloc (type $#type2))) 122 call $realloc 137 (realloc (func $libc "realloc")) 162 (realloc (func $libc "realloc"))
|
| H A D | error-context.wast | 18 (func (export "realloc") (param i32 i32 i32 i32) (result i32) unreachable) 25 …ssage (canon error-context.debug-message (memory $libc "memory") (realloc (func $libc "realloc")))) 43 (func (export "realloc") (param i32 i32 i32 i32) (result i32) 71 …ssage (canon error-context.debug-message (memory $libc "memory") (realloc (func $libc "realloc"))))
|
| H A D | task-builtins.wast | 182 ;; context.get should be what was set in `realloc` 194 (realloc (func $libc "realloc")) 294 (realloc (func $libc "realloc")) 301 (realloc (func $libc "realloc")) 307 (realloc (func $libc "realloc")) 314 (realloc (func $libc "realloc")) 438 (realloc (func $libc "realloc")) 648 (memory $libc "memory") (realloc (func $libc "realloc")) (core func $future.read)) 651 (memory $libc "memory") (realloc (func $libc "realloc")) (core func $stream.read)) 702 … (canon lift (core func $M "run-future") (memory $libc "memory") (realloc (func $libc "realloc")) [all …]
|
| H A D | intra-streams.wast | 6 (func (export "realloc") (param i32 i32 i32 i32) (result i32) 15 …func $stream.read (canon stream.read $s async (memory $libc "m") (realloc (func $libc "realloc"))))
|
| H A D | intra-futures.wast | 6 (func (export "realloc") (param i32 i32 i32 i32) (result i32) 15 …func $future.read (canon future.read $s async (memory $libc "m") (realloc (func $libc "realloc"))))
|
| H A D | futures.wast | 26 ;; future.read; with realloc 29 (func (export "realloc") (param i32 i32 i32 i32) (result i32) unreachable) 37 …ad (canon future.read $future-type async (memory $libc "memory") (realloc (func $libc "realloc"))))
|
| H A D | streams-massive-send.wast | 174 (func (export "realloc") (param i32 i32 i32 i32) (result i32) unreachable) 206 (realloc (func $libc "realloc")) 212 (realloc (func $libc "realloc"))
|
| H A D | streams.wast | 35 ;; stream.read; with realloc 38 (func (export "realloc") (param i32 i32 i32 i32) (result i32) unreachable) 46 …ad (canon stream.read $stream-type async (memory $libc "memory") (realloc (func $libc "realloc"))))
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | pulley_provenance_test_component.wat | 16 (func $realloc (export "realloc") 83 (memory $libc "memory") (realloc (func $libc "realloc")))) 85 (memory $libc "memory") (realloc (func $libc "realloc")))) 160 (realloc (func $libc "realloc")))) 163 (realloc (func $libc "realloc"))))
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/ |
| H A D | options.rs | 135 pub fn realloc( in realloc() method 148 let realloc = match options.data_model { in realloc() localVariable 150 CanonicalOptionsDataModel::LinearMemory(m) => m.realloc.unwrap(), in realloc() 152 let realloc = instance.runtime_realloc(realloc); in realloc() localVariable 166 ReallocFunc::call_raw(&mut StoreContextMut(store), &realloc_ty, realloc, params)? in realloc()
|
| /wasmtime-44.0.1/crates/c-api/tests/component/ |
| H A D | utils.h | 8 (func $realloc (export "realloc")
|
| /wasmtime-44.0.1/examples/min-platform/embedding/src/ |
| H A D | allocator.rs | 55 unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc() method 60 .realloc(ptr, layout.size(), layout.align(), new_size) in realloc()
|
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p2_cli_export_cabi_realloc.rs | 25 alloc::realloc(old_ptr, layout, new_len) in cabi_realloc()
|
| /wasmtime-44.0.1/crates/environ/src/component/translate/ |
| H A D | adapt.rs | 158 realloc: Option<dfg::CoreDef>, 422 realloc, in adapter_options() 427 if let Some(def) = realloc { in adapter_options()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | fact.rs | 152 realloc: Option<FuncIndex>, field 351 realloc, in import_options() 367 let realloc = realloc.as_ref().map(|func| { in import_options() localVariable 384 realloc, in import_options()
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | dfg.rs | 535 realloc: Option<ReallocId>, 838 CanonicalOptionsDataModel::LinearMemory { memory, realloc } => { in convert_options() 841 realloc: realloc.map(|mem| self.runtime_realloc(mem)), in convert_options() 878 fn runtime_realloc(&mut self, realloc: ReallocId) -> RuntimeReallocIndex { in runtime_realloc() 880 realloc, in runtime_realloc() 882 |me, realloc| me.core_def(&me.dfg.reallocs[realloc]), in runtime_realloc()
|
| H A D | translate.rs | 415 realloc: Option<FuncIndex>, 921 realloc: None, in translate_payload() 942 realloc: None, in translate_payload() 1564 let mut realloc = None; in canonical_options() localVariable 1584 realloc = Some(idx); in canonical_options() 1622 LocalDataModel::LinearMemory { memory, realloc } in canonical_options()
|
| /wasmtime-44.0.1/crates/core/src/ |
| H A D | alloc.rs | 63 let ptr = unsafe { std_alloc::alloc::realloc(ptr, layout, new_size) }; in try_realloc()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | instance.rs | 897 GlobalInitializer::ExtractRealloc(realloc) => { in run() 898 self.extract_realloc(store.0, realloc) in run() 946 fn extract_realloc(&mut self, store: &mut StoreOpaque, realloc: &ExtractRealloc) { in extract_realloc() 947 let func_ref = match lookup_vmdef(store, self.id, &realloc.def) { in extract_realloc() 952 .set_runtime_realloc(realloc.index, func_ref); in extract_realloc()
|
| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | list.rs | 249 fn realloc( in realloc() method 408 block = pool.realloc(idx - 1, sclass, sclass + 1, len + 1); in push() 444 block = pool.realloc(idx - 1, sclass, new_sclass, len + 1); in grow() 559 block = pool.realloc(block, sclass, sclass - 1, len); in remove_last() 618 block = pool.realloc(idx - 1, sclass, new_sclass, new_len + 1); in truncate()
|