Home
last modified time | relevance | path

Searched refs:fd_pwrite (Results 1 – 20 of 20) sorted by relevance

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_file_pread_pwrite.rs28 let mut nwritten = wasip1::fd_pwrite(file_fd, &[ciovec], 0).expect("writing bytes at offset 0"); in test_file_pread_pwrite()
62 nwritten = wasip1::fd_pwrite(file_fd, ciovecs.as_slice(), offset.try_into().unwrap()) in test_file_pread_pwrite()
115 nwritten = wasip1::fd_pwrite(file_fd, &[ciovec], 2).expect("writing bytes at offset 2"); in test_file_pread_pwrite()
156 let n = wasip1::fd_pwrite(file_fd, &[ciovec], 50).expect("writing bytes at offset 2"); in test_file_pwrite_and_file_pos()
169 let n = wasip1::fd_pwrite(file_fd, &[ciovec], 50).expect("writing bytes at offset 50"); in test_file_pwrite_and_file_pos()
200 let n = wasip1::fd_pwrite(file_fd, &[ciovec], 50).expect("writing bytes at offset 50"); in test_file_pwrite_and_append()
206 let n = wasip1::fd_pwrite(file_fd, &[ciovec], 0).expect("writing bytes at offset 50"); in test_file_pwrite_and_append()
H A Dp1_cli_hostcall_fuel.rs51 assert_eq!(wasip1::fd_pwrite(fd, &ciovs, 0), Err(wasip1::ERRNO_NOMEM)); in big_iovecs()
68 assert_eq!(wasip1::fd_pwrite(fd, &ciovs, 0), Err(wasip1::ERRNO_NOMEM)); in big_iovecs()
H A Dp1_path_open_lots.rs79 let nwritten = wasip1::fd_pwrite(f, &[ciovec], 0).expect("write failed"); in test_path_open_lots()
H A Dp1_dir_fd_op_failures.rs48 let r = wasip1::fd_pwrite(dir_fd, &[ciovec], 0); in test_fd_dir_ops()
/wasmtime-44.0.1/crates/wasi/src/
H A Dp0.rs32 fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
51 fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
272 async fn fd_pwrite( in fd_pwrite() method
280 let result = Snapshot1::fd_pwrite(self, memory, fd.into(), ciovs.cast(), offset).await?; in fd_pwrite()
H A Dp1.rs864 fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
883 fd_pwrite, poll_oneoff, path_create_directory, path_filestat_get,
1802 async fn fd_pwrite( in fd_pwrite() method
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dwasi.rs196 fn fd_pwrite( in fd_pwrite() method
H A Dwasi.witx188 (@interface func (export "fd_pwrite")
H A Dtypenames.witx223 ;;; If `rights::fd_seek` is set, includes the right to invoke `fd_pwrite`.
/wasmtime-44.0.1/crates/wasi-common/src/snapshots/
H A Dpreview_0.rs583 async fn fd_pwrite( in fd_pwrite() method
590 Ok(Snapshot1::fd_pwrite(self, memory, fd.into(), ciovs.cast(), offset).await?) in fd_pwrite()
H A Dpreview_1.rs495 async fn fd_pwrite( in fd_pwrite() method
/wasmtime-44.0.1/crates/wasi/witx/p1/
H A Dwasi_snapshot_preview1.witx190 (@interface func (export "fd_pwrite")
H A Dtypenames.witx223 ;;; If `rights::fd_seek` is set, includes the right to invoke `fd_pwrite`.
/wasmtime-44.0.1/crates/wasi/witx/p0/
H A Dtypenames.witx223 ;;; If `rights::fd_seek` is set, includes the right to invoke `fd_pwrite`.
H A Dwasi_unstable.witx193 (@interface func (export "fd_pwrite")
/wasmtime-44.0.1/crates/wasi-common/witx/preview1/
H A Dwasi_snapshot_preview1.witx190 (@interface func (export "fd_pwrite")
H A Dtypenames.witx223 ;;; If `rights::fd_seek` is set, includes the right to invoke `fd_pwrite`.
/wasmtime-44.0.1/crates/wasi-common/witx/preview0/
H A Dwasi_unstable.witx193 (@interface func (export "fd_pwrite")
H A Dtypenames.witx223 ;;; If `rights::fd_seek` is set, includes the right to invoke `fd_pwrite`.
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dlib.rs1192 pub unsafe extern "C" fn fd_pwrite( in fd_pwrite() function