| /wasmtime-44.0.1/crates/wasi-common/src/sync/sched/ |
| H A D | unix.rs | 57 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 D | worker_thread_stdin.rs | 111 Ok(nbytes) => { in create() 112 bytes.truncate(nbytes); in create()
|
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p1_sleep_quickly_but_lots.rs | 92 nbytes: 0, in empty_event()
|
| H A D | p1_cli_hostcall_fuel.rs | 111 nbytes: 0, in big_poll()
|
| /wasmtime-44.0.1/crates/wasi-common/src/snapshots/ |
| H A D | preview_0.rs | 947 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 D | preview_1.rs | 1076 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 D | lib.rs | 1704 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 D | p1.rs | 2346 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 D | pipe.rs | 168 Ok(nbytes) if nbytes == 0 => sender.send(Err(StreamError::Closed)).await, in new()
|
| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | typenames.witx | 513 (field $nbytes $filesize)
|
| /wasmtime-44.0.1/crates/wasi/witx/p0/ |
| H A D | typenames.witx | 511 (field $nbytes $filesize)
|
| /wasmtime-44.0.1/crates/wasi/witx/p1/ |
| H A D | typenames.witx | 515 (field $nbytes $filesize)
|
| /wasmtime-44.0.1/crates/wasi-common/witx/preview1/ |
| H A D | typenames.witx | 515 (field $nbytes $filesize)
|
| /wasmtime-44.0.1/crates/wasi-common/witx/preview0/ |
| H A D | typenames.witx | 511 (field $nbytes $filesize)
|