Lines Matching refs:transform
6 ;; This test has two components $C and $D, where $D imports and calls $C.transform
7 ;; $C.transform takes and returns a stream<u8>
8 ;; Before $C.transform blocks the first time, it supplies a 12-byte read buffer
9 ;; When $D.run regains control after $C.transform blocks, it can perform multiple
30 ;; $ws is waited on by 'transform'
35 ;; $insr/$outsw are read/written by 'transform'
41 (func $transform (export "transform") (param i32) (result i32)
132 (func (export "transform") (param "in" (stream u8)) (result (stream u8)) (canon lift
133 (core func $cm "transform")
139 (import "transform" (func $transform (param "in" (stream u8)) (result (stream u8))))
153 (import "" "transform" (func $transform (param i32 i32) (result i32)))
170 ;; call 'transform' which will return a readable stream $outsr eagerly
172 (local.set $ret (call $transform (local.get $insr) (local.get $retp)))
195 ;; wait for transform to read our write and drop all the streams
224 (canon lower (func $transform) async (memory $memory "mem") (core func $transform'))
235 (export "transform" (func $transform'))
241 (instance $d (instantiate $D (with "transform" (func $c "transform"))))