Home
last modified time | relevance | path

Searched refs:readable (Results 1 – 25 of 66) sorted by relevance

123

/wasmtime-44.0.1/tests/misc_testsuite/component-model/async/
H A Dfutures-must-write.wast5 ;; a value while closing the readable end of a future (in $D) before reading
23 ;; create a new future, return the readable end to the caller
73 (import "" "future.drop-readable" (func $future.drop-readable (param i32)))
78 … (func $drop-readable-future-before-read (export "drop-readable-future-before-read") (result i32)
85 ;; ok to immediately drop the readable end
86 (call $future.drop-readable (local.get $fr))
105 (canon future.drop-readable $FT (core func $future.drop-readable))
113 (export "future.drop-readable" (func $future.drop-readable))
118 …(func (export "drop-readable-future-before-read") (result u32) (canon lift (core func $core "drop-
124 …(func (export "drop-readable-future-before-read") (alias export $d "drop-readable-future-before-re…
[all …]
H A Dstream-cancel-finished-op.wast15 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
27 (import "" "future.drop-readable" (func $future.drop-readable (param i32)))
137 (call $stream.drop-readable (local.get $reader))
167 (call $future.drop-readable (local.get $reader))
192 (core func $stream.drop-readable (canon stream.drop-readable $s))
200 (core func $future.drop-readable (canon future.drop-readable $f))
211 (export "stream.drop-readable" (func $stream.drop-readable))
223 (export "future.drop-readable" (func $future.drop-readable))
239 …-write" (u32.const 1)) "cannot write to stream after being notified that the readable end dropped")
241 …-write" (u32.const 2)) "cannot write to stream after being notified that the readable end dropped")
[all …]
H A Dsync-streams.wast25 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
73 (call $stream.drop-readable (local.get $rx))
86 (canon stream.drop-readable $ST (core func $stream.drop-readable))
95 (export "stream.drop-readable" (func $stream.drop-readable))
118 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
139 (call $stream.drop-readable (local.get $rx))
162 (canon stream.drop-readable $ST (core func $stream.drop-readable))
171 (export "stream.drop-readable" (func $stream.drop-readable))
H A Dfutures.wast73 ;; future.drop-readable
76 (import "" "future.drop-readable" (func $future-drop-readable (param i32)))
79 (core func $future-drop-readable (canon future.drop-readable $future-type))
80 …i (instantiate $m (with "" (instance (export "future.drop-readable" (func $future-drop-readable)))…
H A Dpartial-stream-copies.wast27 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
44 ;; check the incoming readable stream end
63 ;; return the readable end of the outgoing stream to the caller
107 (call $stream.drop-readable (global.get $insr))
119 (canon stream.drop-readable $ST (core func $stream.drop-readable))
129 (export "stream.drop-readable" (func $stream.drop-readable))
151 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
170 ;; call 'transform' which will return a readable stream $outsr eagerly
209 (call $stream.drop-readable (local.get $outsr))
222 (canon stream.drop-readable $ST (core func $stream.drop-readable))
[all …]
H A Dtrap-if-done.wast152 (import "" "future.drop-readable" (func $future.drop-readable (param i32)))
154 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
212 ;; drop our readable end before writer can write
213 (call $future.drop-readable (local.get $fr))
294 (call $stream.drop-readable (local.get $sr))
321 ;; then drop our readable end
322 (call $stream.drop-readable (local.get $sr))
393 (canon future.drop-readable $FT (core func $future.drop-readable))
396 (canon stream.drop-readable $ST (core func $stream.drop-readable))
412 (export "future.drop-readable" (func $future.drop-readable))
[all …]
H A Dstreams.wast92 ;; stream.drop-readable
95 (import "" "stream.drop-readable" (func $stream-drop-readable (param i32)))
98 (core func $stream-drop-readable (canon stream.drop-readable $stream-type))
99 …i (instantiate $m (with "" (instance (export "stream.drop-readable" (func $stream-drop-readable)))…
H A Dfuture-cancel-write-dropped.wast11 (core func $drop-read (canon future.drop-readable $f))
H A Dfuture-cancel-write-completed.wast14 (core func $drop-read (canon future.drop-readable $f))
/wasmtime-44.0.1/tests/all/
H A Dpulley_provenance_test_async_component.wat119 (import "" "stream.drop-readable" (func $stream.drop-readable (param i32)))
142 (call $stream.drop-readable (global.get $r))
166 ;; Reap the readable status on the `$r` handle now.
181 (core func $stream.drop-readable (canon stream.drop-readable $s))
192 (export "stream.drop-readable" (func $stream.drop-readable))
/wasmtime-44.0.1/crates/fuzzing/wit/
H A Dfuzz.wit30 // take a future readable end through the `future-take` import.
35 future-drop-readable(u32),
50 // take a stream readable end through the `stream-take` import.
55 stream-drop-readable(u32),
/wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/
H A Dregs.rs45 $reg:expr => $readable:ident, $writable:ident;
51 pub fn $readable() -> Reg {
58 Writable::from_reg($readable())
/wasmtime-44.0.1/cranelift/isle/
H A DTODO12 - Slightly nicer human-readable generated code
/wasmtime-44.0.1/crates/wasi-common/src/sync/
H A Dnet.rs226 async fn readable(&self) -> Result<(), Error> {
227 let (readable, _writeable) = is_read_write(&self.0)?;
228 if readable { Ok(()) } else { Err(Error::io()) }
/wasmtime-44.0.1/crates/wasi-common/src/tokio/
H A Dfile.rs177 async fn readable(&self) -> Result<(), Error> {
188 let _ = asyncfd.readable().await?;
/wasmtime-44.0.1/crates/wasi/src/p3/wit/deps/
H A Dcli.wit73 /// If the stream's readable end is dropped the future will resolve to success.
95 /// Otherwise if there is an error the readable end of the stream will be
111 /// Otherwise if there is an error the readable end of the stream will be
/wasmtime-44.0.1/crates/wasi-http/src/p3/wit/deps/
H A Dcli.wit73 /// If the stream's readable end is dropped the future will resolve to success.
95 /// Otherwise if there is an error the readable end of the stream will be
111 /// Otherwise if there is an error the readable end of the stream will be
/wasmtime-44.0.1/crates/wasi-common/src/tokio/sched/
H A Dunix.rs60 .readable() in poll_oneoff()
/wasmtime-44.0.1/crates/wasi-common/src/
H A Dfile.rs130 async fn readable(&self) -> Result<(), Error> { in readable() method
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dtcp.rs102 self.stream.readable().await.unwrap(); in ready()
/wasmtime-44.0.1/tests/misc_testsuite/component-model/
H A Dfixed_length_lists.wast9 ;; are not expected to be easily human readable.
/wasmtime-44.0.1/crates/environ/
H A DLICENSE109 include a readable copy of the attribution notices contained
/wasmtime-44.0.1/crates/cache/
H A DLICENSE109 include a readable copy of the attribution notices contained
/wasmtime-44.0.1/cranelift/module/
H A DLICENSE109 include a readable copy of the attribution notices contained
/wasmtime-44.0.1/winch/codegen/
H A DLICENSE109 include a readable copy of the attribution notices contained

123