Lines Matching refs:func

8     (import "" "backpressure.inc" (func $backpressure-inc))
10 (core func $backpressure-inc (canon backpressure.inc))
11 …(core instance $i (instantiate $m (with "" (instance (export "backpressure.inc" (func $backpressur…
17 (import "" "backpressure.dec" (func $backpressure-dec))
19 (core func $backpressure-dec (canon backpressure.dec))
20 …(core instance $i (instantiate $m (with "" (instance (export "backpressure.dec" (func $backpressur…
26 (import "" "task.return" (func $task-return (param i32)))
28 (core func $task-return (canon task.return (result u32)))
29 …(core instance $i (instantiate $m (with "" (instance (export "task.return" (func $task-return))))))
37 (import "" "waitable-set.wait" (func $waitable-set-wait (param i32 i32) (result i32)))
39 (core func $waitable-set-wait (canon waitable-set.wait (memory $libc "memory")))
40 …(core instance $i (instantiate $m (with "" (instance (export "waitable-set.wait" (func $waitable-s…
48 (import "" "waitable-set.poll" (func $waitable-set-poll (param i32 i32) (result i32)))
50 (core func $waitable-set-poll (canon waitable-set.poll (memory $libc "memory")))
51 …(core instance $i (instantiate $m (with "" (instance (export "waitable-set.poll" (func $waitable-s…
57 (import "" "thread.yield" (func $thread-yield (result i32)))
59 (core func $thread-yield (canon thread.yield))
60 …(core instance $i (instantiate $m (with "" (instance (export "thread.yield" (func $thread-yield)))…
66 (import "" "subtask.drop" (func $subtask-drop (param i32)))
68 (core func $subtask-drop (canon subtask.drop))
69 …(core instance $i (instantiate $m (with "" (instance (export "subtask.drop" (func $subtask-drop)))…
75 (import "" "subtask.cancel" (func $subtask-drop (param i32) (result i32)))
77 (core func $subtask-cancel (canon subtask.cancel))
78 …(core instance $i (instantiate $m (with "" (instance (export "subtask.cancel" (func $subtask-cance…
83 (core func $backpressure.inc (canon backpressure.inc))
84 (core func $backpressure.dec (canon backpressure.dec))
85 (core func $context.get (canon context.get i32 0))
86 (core func $context.set (canon context.set i32 0))
89 (import "" "backpressure.inc" (func $backpressure.inc))
90 (import "" "backpressure.dec" (func $backpressure.dec))
91 (import "" "context.get" (func $context.get (result i32)))
92 (import "" "context.set" (func $context.set (param i32)))
96 (func (export "run")
99 (func (export "post-return")
114 (export "backpressure.inc" (func $backpressure.inc))
115 (export "backpressure.dec" (func $backpressure.dec))
116 (export "context.get" (func $context.get))
117 (export "context.set" (func $context.set))
119 (func (export "run")
120 (canon lift (core func $dm "run") (post-return (func $dm "post-return"))))
128 (core func $backpressure.inc (canon backpressure.inc))
129 (core func $backpressure.dec (canon backpressure.dec))
130 (core func $context.get (canon context.get i32 0))
131 (core func $context.set (canon context.set i32 0))
134 (import "" "backpressure.inc" (func $backpressure.inc))
135 (import "" "backpressure.dec" (func $backpressure.dec))
136 (import "" "context.get" (func $context.get (result i32)))
137 (import "" "context.set" (func $context.set (param i32)))
140 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
162 (export "backpressure.inc" (func $backpressure.inc))
163 (export "backpressure.dec" (func $backpressure.dec))
164 (export "context.get" (func $context.get))
165 (export "context.set" (func $context.set))
169 (import "" "backpressure.inc" (func $backpressure.inc))
170 (import "" "backpressure.dec" (func $backpressure.dec))
171 (import "" "context.get" (func $context.get (result i32)))
172 (import "" "context.set" (func $context.set (param i32)))
174 (func (export "run") (param i32 i32)
187 (export "backpressure.inc" (func $backpressure.inc))
188 (export "backpressure.dec" (func $backpressure.dec))
189 (export "context.get" (func $context.get))
190 (export "context.set" (func $context.set))
192 (func (export "run") (param "x" string)
193 (canon lift (core func $m "run")
194 (realloc (func $libc "realloc"))
209 (core func $task.return (canon task.return (result string) (memory $libc "memory")))
212 (import "" "task.return" (func $task.return (param i32 i32)))
214 (func (export "run-sync") (result i32)
225 (func (export "run-async") (result i32)
232 (func (export "run-async-cb") (param i32 i32 i32) (result i32) unreachable)
237 (export "task.return" (func $task.return))
241 (func (export "run-sync") (result string)
242 (canon lift (core func $m "run-sync") (memory $libc "memory"))
244 (func (export "run-async") async (result string)
245 (canon lift (core func $m "run-async") (memory $libc "memory") async
246 (callback (func $m "run-async-cb")))
252 (export "run-sync" (func (result string)))
253 (export "run-async" (func async (result string)))
256 (core func $backpressure.inc (canon backpressure.inc))
257 (core func $backpressure.dec (canon backpressure.dec))
258 (core func $context.get (canon context.get i32 0))
259 (core func $context.set (canon context.set i32 0))
262 (import "" "backpressure.inc" (func $backpressure.inc))
263 (import "" "backpressure.dec" (func $backpressure.dec))
264 (import "" "context.get" (func $context.get (result i32)))
265 (import "" "context.set" (func $context.set (param i32)))
268 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
285 (export "backpressure.inc" (func $backpressure.inc))
286 (export "backpressure.dec" (func $backpressure.dec))
287 (export "context.get" (func $context.get))
288 (export "context.set" (func $context.set))
291 (core func $sync-to-sync
292 (canon lower (func $a "run-sync")
294 (realloc (func $libc "realloc"))
297 (core func $async-to-sync
298 (canon lower (func $a "run-sync")
301 (realloc (func $libc "realloc"))
304 (core func $sync-to-async
305 (canon lower (func $a "run-async")
307 (realloc (func $libc "realloc"))
310 (core func $async-to-async
311 (canon lower (func $a "run-async")
314 (realloc (func $libc "realloc"))
319 (import "" "context.set" (func $context.set (param i32)))
320 (import "" "context.get" (func $context.get (result i32)))
321 (import "" "sync-to-sync" (func $sync-to-sync (param i32)))
322 (import "" "sync-to-async" (func $sync-to-async (param i32)))
323 (import "" "async-to-sync" (func $async-to-sync (param i32) (result i32)))
324 (import "" "async-to-async" (func $async-to-async (param i32) (result i32)))
331 (func (export "sync-to-sync")
337 (func (export "sync-to-async")
343 (func (export "async-to-sync")
355 (func (export "async-to-async")
368 (export "context.set" (func $context.set))
369 (export "context.get" (func $context.get))
370 (export "sync-to-sync" (func $sync-to-sync))
371 (export "sync-to-async" (func $sync-to-async))
372 (export "async-to-sync" (func $async-to-sync))
373 (export "async-to-async" (func $async-to-async))
375 (func (export "sync-to-sync") async (canon lift (core func $m "sync-to-sync")))
376 (func (export "sync-to-async") async (canon lift (core func $m "sync-to-async")))
377 (func (export "async-to-sync") async (canon lift (core func $m "async-to-sync")))
378 (func (export "async-to-async") async (canon lift (core func $m "async-to-async")))
383 (export "sync-to-sync" (func $b "sync-to-sync"))
384 (export "sync-to-async" (func $b "sync-to-async"))
385 (export "async-to-sync" (func $b "async-to-sync"))
386 (export "async-to-async" (func $b "async-to-async"))
397 (export "return-hi" (func (result string)))
400 (core func $backpressure.inc (canon backpressure.inc))
401 (core func $backpressure.dec (canon backpressure.dec))
402 (core func $context.get (canon context.get i32 0))
403 (core func $context.set (canon context.set i32 0))
406 (import "" "backpressure.inc" (func $backpressure.inc))
407 (import "" "backpressure.dec" (func $backpressure.dec))
408 (import "" "context.get" (func $context.get (result i32)))
409 (import "" "context.set" (func $context.set (param i32)))
412 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
429 (export "backpressure.inc" (func $backpressure.inc))
430 (export "backpressure.dec" (func $backpressure.dec))
431 (export "context.get" (func $context.get))
432 (export "context.set" (func $context.set))
435 (core func $run
436 (canon lower (func $host "return-hi")
438 (realloc (func $libc "realloc"))
443 (import "" "context.set" (func $context.set (param i32)))
444 (import "" "context.get" (func $context.get (result i32)))
445 (import "" "run" (func $run (param i32)))
447 (func (export "run")
458 (export "context.set" (func $context.set))
459 (export "context.get" (func $context.get))
460 (export "run" (func $run))
462 (func (export "run") (canon lift (core func $m "run")))
476 (export "run-future" (func async (param "future" $FT) (result u32)))
477 (export "run-stream" (func async (param "stream" $ST) (result u32)))
482 …(core func $run-reader-future (canon lower (func $reader "run-future") (memory $libc "memory") asy…
483 …(core func $run-reader-stream (canon lower (func $reader "run-stream") (memory $libc "memory") asy…
485 (import "" "future.write" (func $future.write (param i32 i32) (result i32)))
486 (import "" "stream.write" (func $stream.write (param i32 i32 i32) (result i32)))
487 (import "" "waitable.join" (func $waitable.join (param i32 i32)))
488 (import "" "waitable-set.new" (func $waitable-set.new (result i32)))
489 (import "" "stream.new" (func $stream.new (result i64)))
490 (import "" "future.new" (func $future.new (result i64)))
491 (import "" "task.return" (func $task.return (param i32)))
492 (import "" "run-reader-future" (func $run-reader-future (param i32 i32) (result i32)))
493 (import "" "run-reader-stream" (func $run-reader-stream (param i32 i32) (result i32)))
505 (func (export "run") (result i32)
544 …(func (export "run-cb") (param $event_code i32) (param $index i32) (param $payload i32) (result i3…
573 (canon future.new $FT (core func $future.new))
575 (memory $libc "memory") (core func $future.write))
576 (canon stream.new $ST (core func $stream.new))
578 (memory $libc "memory") (core func $stream.write))
579 (canon waitable.join (core func $waitable.join))
580 (canon waitable-set.new (core func $waitable-set.new))
581 (canon task.return (result u32) (memory $libc "memory") (core func $task.return))
582 (canon context.set i32 0 (core func $context.set))
586 (export "future.new" (func $future.new))
587 (export "future.write" (func $future.write))
588 (export "stream.new" (func $stream.new))
589 (export "stream.write" (func $stream.write))
590 (export "waitable.join" (func $waitable.join))
591 (export "waitable-set.new" (func $waitable-set.new))
592 (export "task.return" (func $task.return))
593 (export "run-reader-future" (func $run-reader-future))
594 (export "run-reader-stream" (func $run-reader-stream))
597 (func (export "run") async (result u32)
598 (canon lift (core func $M "run") (memory $libc "memory")
599 async (callback (func $M "run-cb")))
605 (import "" "backpressure.inc" (func $backpressure.inc))
606 (import "" "backpressure.dec" (func $backpressure.dec))
607 (import "" "context.get" (func $context.get (result i32)))
608 (import "" "context.set" (func $context.set (param i32)))
611 (func (export "realloc") (param i32 i32 i32 i32) (result i32)
632 (core func $backpressure.inc (canon backpressure.inc))
633 (core func $backpressure.dec (canon backpressure.dec))
634 (core func $context.get (canon context.get i32 0))
635 (core func $context.set (canon context.set i32 0))
638 (export "backpressure.inc" (func $backpressure.inc))
639 (export "backpressure.dec" (func $backpressure.dec))
640 (export "context.get" (func $context.get))
641 (export "context.set" (func $context.set))
646 (canon future.new $FT (core func $future.new))
648 (memory $libc "memory") (realloc (func $libc "realloc")) (core func $future.read))
649 (canon stream.new $ST (core func $stream.new))
651 (memory $libc "memory") (realloc (func $libc "realloc")) (core func $stream.read))
652 (canon waitable.join (core func $waitable.join))
653 (canon waitable-set.new (core func $waitable-set.new))
654 (canon waitable-set.wait (memory $libc "memory") (core func $waitable-set.wait))
655 (canon task.return (result u32) (memory $libc "memory") (core func $task.return))
658 (import "" "future.read" (func $future.read (param i32 i32) (result i32)))
659 (import "" "stream.read" (func $stream.read (param i32 i32 i32) (result i32)))
660 (import "" "context.set" (func $context.set (param i32)))
661 (import "" "context.get" (func $context.get (result i32)))
662 (import "" "task.return" (func $task.return (param i32)))
667 (func (export "run-future") (param $fr i32) (result i32)
680 (func (export "run-stream") (param $sr i32) (result i32)
692 (func (export "run-cb") (param i32 i32 i32) (result i32) unreachable))
695 (export "future.read" (func $future.read))
696 (export "stream.read" (func $stream.read))
697 (export "context.set" (func $context.set))
698 (export "context.get" (func $context.get))
699 (export "task.return" (func $task.return))
701 (func (export "run-future") async (param "future" $FT) (result u32)
702 … (canon lift (core func $M "run-future") (memory $libc "memory") (realloc (func $libc "realloc"))
703 async (callback (func $M "run-cb"))
706 (func (export "run-stream") async (param "stream" $ST) (result u32)
707 … (canon lift (core func $M "run-stream") (memory $libc "memory") (realloc (func $libc "realloc"))
708 async (callback (func $M "run-cb"))
718 (func (export "run") (alias export $Writer "run"))