Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/crates/wasi-common/src/sync/sched/
H A Dunix.rs57 let (nbytes, rwsub) = match rwsub { in poll_oneoff()
70 rwsub.complete(nbytes, RwEventFlags::HANGUP); in poll_oneoff()
72 rwsub.complete(nbytes, RwEventFlags::empty()); in poll_oneoff()
/wasmtime-44.0.1/crates/wasi/src/cli/
H A Dworker_thread_stdin.rs111 Ok(nbytes) => { in create()
112 bytes.truncate(nbytes); in create()
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_sleep_quickly_but_lots.rs92 nbytes: 0, in empty_event()
H A Dp1_cli_hostcall_fuel.rs111 nbytes: 0, in big_poll()
/wasmtime-44.0.1/crates/wasi-common/src/snapshots/
H A Dpreview_0.rs947 Ok((nbytes, flags)) => types::Event { in poll_oneoff()
952 nbytes, in poll_oneoff()
967 Ok((nbytes, flags)) => types::Event { in poll_oneoff()
972 nbytes, in poll_oneoff()
1076 nbytes: 0, in fd_readwrite_empty()
H A Dpreview_1.rs1076 Ok((nbytes, flags)) => types::Event { in poll_oneoff()
1081 nbytes, in poll_oneoff()
1096 Ok((nbytes, flags)) => types::Event { in poll_oneoff()
1101 nbytes, in poll_oneoff()
1507 nbytes: 0, in fd_readwrite_empty()
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dlib.rs1704 let nbytes = if let StreamType::File(file) = &streams.type_ { in fd_write() localVariable
1712 let nbytes = BlockingMode::Blocking.write(wasi_stream, bytes)?; in fd_write() localVariable
1727 file.position.set(file.position.get() + nbytes as u64); in fd_write()
1731 *nwritten = nbytes; in fd_write()
2250 let (error, nbytes, flags) = match subscription.u.tag { in poll_oneoff()
2267 let nbytes = stat.size.saturating_sub(file.position.get()); in poll_oneoff() localVariable
2270 nbytes, in poll_oneoff()
2271 if nbytes == 0 { in poll_oneoff()
2309 fd_readwrite: EventFdReadwrite { nbytes, flags }, in poll_oneoff()
/wasmtime-44.0.1/crates/wasi/src/
H A Dp1.rs2346 nbytes: 1, in poll_oneoff()
2507 nbytes: 0, in poll_oneoff()
2522 nbytes: 1, in poll_oneoff()
2532 let nbytes = size.saturating_sub(pos); in poll_oneoff() localVariable
2538 flags: if nbytes == 0 { in poll_oneoff()
2543 nbytes: 1, in poll_oneoff()
2565 nbytes: 1, in poll_oneoff()
2574 nbytes: 1, in poll_oneoff()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dpipe.rs168 Ok(nbytes) if nbytes == 0 => sender.send(Err(StreamError::Closed)).await, in new()
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dtypenames.witx513 (field $nbytes $filesize)
/wasmtime-44.0.1/crates/wasi/witx/p0/
H A Dtypenames.witx511 (field $nbytes $filesize)
/wasmtime-44.0.1/crates/wasi/witx/p1/
H A Dtypenames.witx515 (field $nbytes $filesize)
/wasmtime-44.0.1/crates/wasi-common/witx/preview1/
H A Dtypenames.witx515 (field $nbytes $filesize)
/wasmtime-44.0.1/crates/wasi-common/witx/preview0/
H A Dtypenames.witx511 (field $nbytes $filesize)