Lines Matching refs:realloc
125 ;; Test calling intrinsics during `realloc` and their values should be set for
140 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
182 ;; context.get should be what was set in `realloc`
194 (realloc (func $libc "realloc"))
202 ;; Test when realloc is called to communicate return values that various
268 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
294 (realloc (func $libc "realloc"))
301 (realloc (func $libc "realloc"))
307 (realloc (func $libc "realloc"))
314 (realloc (func $libc "realloc"))
327 ;; runtime will then call `realloc` above for the string return value
412 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
438 (realloc (func $libc "realloc"))
449 ;; runtime will then call `realloc` above for the string return value
467 ;; Test when realloc is called to communicate stream/future values that various
611 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
648 (memory $libc "memory") (realloc (func $libc "realloc")) (core func $future.read))
651 (memory $libc "memory") (realloc (func $libc "realloc")) (core func $stream.read))
665 ;; Set context[0] to 400, then read the future, which should call realloc and set
702 … (canon lift (core func $M "run-future") (memory $libc "memory") (realloc (func $libc "realloc"))
707 … (canon lift (core func $M "run-stream") (memory $libc "memory") (realloc (func $libc "realloc"))