| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p1_interesting_paths.rs | 18 wasip1::path_open(dir_fd, 0, "/dir/nested/file", 0, 0, 0, 0) in test_interesting_paths() 24 let mut file_fd = wasip1::path_open( in test_interesting_paths() 42 wasip1::path_open(dir_fd, 0, "dir/nested/file\0", 0, 0, 0, 0) in test_interesting_paths() 50 wasip1::path_open(dir_fd, 0, "dir/nested/file/", 0, 0, 0, 0) in test_interesting_paths() 58 wasip1::path_open(dir_fd, 0, "dir/nested/file///", 0, 0, 0, 0) in test_interesting_paths() 65 file_fd = wasip1::path_open(dir_fd, 0, "dir/nested/", 0, 0, 0, 0) in test_interesting_paths() 74 file_fd = wasip1::path_open(dir_fd, 0, "dir/nested///", 0, 0, 0, 0) in test_interesting_paths() 85 wasip1::path_open(dir_fd, 0, &bad_path, 0, 0, 0, 0) in test_interesting_paths()
|
| H A D | p1_nofollow_errors.rs | 15 wasip1::path_open(dir_fd, 0, "symlink", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_nofollow_errors() 23 wasip1::path_open(dir_fd, 0, "symlink", 0, 0, 0, 0) in test_nofollow_errors() 30 let file_fd = wasip1::path_open( in test_nofollow_errors() 51 let file_fd = wasip1::path_open(dir_fd, 0, "target", wasip1::OFLAGS_CREAT, 0, 0, 0) in test_nofollow_errors() 58 wasip1::path_open(dir_fd, 0, "symlink", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_nofollow_errors() 66 wasip1::path_open(dir_fd, 0, "symlink", 0, 0, 0, 0) in test_nofollow_errors() 73 wasip1::path_open( in test_nofollow_errors()
|
| H A D | p1_path_rename.rs | 16 wasip1::path_open(dir_fd, 0, "source", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_path_rename() 22 let mut fd = wasip1::path_open(dir_fd, 0, "target", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_path_rename() 39 wasip1::path_open(dir_fd, 0, "source", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_path_rename() 45 fd = wasip1::path_open(dir_fd, 0, "target", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_path_rename() 87 wasip1::path_open(dir_fd, 0, "source", 0, 0, 0, 0) in test_path_rename() 93 fd = wasip1::path_open(dir_fd, 0, "target", 0, 0, 0, 0).expect("opening renamed path"); in test_path_rename() 111 wasip1::path_open(dir_fd, 0, "source", 0, 0, 0, 0).expect_err("opening a nonexistent path"), in test_path_rename() 116 fd = wasip1::path_open(dir_fd, 0, "target", 0, 0, 0, 0).expect("opening renamed path"); in test_path_rename()
|
| H A D | p1_dangling_fd.rs | 10 let fd = wasip1::path_open(dir_fd, 0, "file", wasip1::OFLAGS_CREAT, 0, 0, 0).unwrap(); in test_dangling_fd() 12 let file_fd = wasip1::path_open(dir_fd, 0, "file", 0, 0, 0, 0).expect("failed to open"); in test_dangling_fd() 18 let fd = wasip1::path_open(dir_fd, 0, "file", wasip1::OFLAGS_CREAT, 0, 0, 0).unwrap(); in test_dangling_fd() 23 let subdir_fd = wasip1::path_open(dir_fd, 0, "subdir", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_dangling_fd()
|
| H A D | p1_path_open_preopen.rs | 39 let _ = wasip1::path_open( in path_open_preopen() 51 let _ = wasip1::path_open(FIRST_PREOPEN, 0, ".", 0, 0, 0, 0).expect("open with empty rights"); in path_open_preopen() 54 let _ = wasip1::path_open(FIRST_PREOPEN, 0, ".", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in path_open_preopen() 58 let _ = wasip1::path_open( in path_open_preopen() 70 let err = wasip1::path_open( in path_open_preopen()
|
| H A D | p1_fd_filestat_set.rs | 10 let file_fd = wasip1::path_open( in test_fd_filestat_set_size_rw() 42 let file_fd = wasip1::path_open(dir_fd, 0, "file", wasip1::OFLAGS_CREAT, 0, 0, 0) in test_fd_filestat_set_size_ro() 47 let file_fd = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_READ, 0, 0) in test_fd_filestat_set_size_ro() 75 let file_fd = wasip1::path_open(dir_fd, 0, "file", wasip1::OFLAGS_CREAT, 0, 0, 0) in test_fd_filestat_set_times() 81 wasip1::path_open(dir_fd, 0, "file", 0, rights, 0, 0).expect("failed to create file"); in test_fd_filestat_set_times()
|
| H A D | p1_path_link.rs | 59 wasip1::path_open(dir_fd, 0, "file", wasip1::OFLAGS_CREAT, 0, 0, 0).expect("create file"); in test_path_link() 64 let file_fd = wasip1::path_open(dir_fd, 0, "file", 0, 0, 0, 0).expect("open file"); in test_path_link() 70 let link_fd = wasip1::path_open(dir_fd, 0, "link", 0, 0, 0, 0).expect("open link"); in test_path_link() 78 let subdir_fd = wasip1::path_open(dir_fd, 0, "subdir", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_path_link() 82 let link_fd = wasip1::path_open(subdir_fd, 0, "link", 0, 0, 0, 0).expect("open link in subdir"); in test_path_link() 118 let subdir_fd = wasip1::path_open(dir_fd, 0, "subdir", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_path_link()
|
| H A D | p1_path_open_lots.rs | 10 let f_readonly = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_READ, 0, 0) in test_path_open_lots() 25 let f_readonly = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_READ, 0, 0) in test_path_open_lots() 40 let f = wasip1::path_open( in test_path_open_lots() 63 let f = wasip1::path_open( in test_path_open_lots()
|
| H A D | p1_renumber.rs | 12 let fd_from = wasip1::path_open( in test_renumber() 32 let fd_to = wasip1::path_open( in test_renumber() 79 let fd_file3 = wasip1::path_open( in test_renumber() 100 let fd_file4 = wasip1::path_open( in test_renumber()
|
| H A D | p1_file_write.rs | 8 let file_fd = wasip1::path_open( in test_file_long_write() 47 let file_fd = wasip1::path_open(dir_fd, 0, filename, 0, wasip1::RIGHTS_FD_READ, 0, 0) in test_file_long_write() 88 let file_fd = wasip1::path_open( in test_file_long_write() 99 let file_fd = wasip1::path_open(dir_fd, 0, filename, 0, wasip1::RIGHTS_FD_READ, 0, 0) in test_file_long_write()
|
| H A D | p1_symlink_create.rs | 8 let target_fd = wasip1::path_open(dir_fd, 0, "target", wasip1::OFLAGS_CREAT, 0, 0, 0) in create_symlink_to_file() 16 let target_file_via_symlink = wasip1::path_open( in create_symlink_to_file() 45 let target_dir_via_symlink = wasip1::path_open( in create_symlink_to_directory()
|
| H A D | p1_path_open_dirfd_not_dir.rs | 8 let file_fd = wasip1::path_open(dir_fd, 0, "file", wasip1::OFLAGS_CREAT, 0, 0, 0) in test_dirfd_not_dir() 12 wasip1::path_open(file_fd, 0, "foo", wasip1::OFLAGS_CREAT, 0, 0, 0) in test_dirfd_not_dir()
|
| H A D | p1_dangling_symlink.rs | 13 wasip1::path_open(dir_fd, 0, "symlink", wasip1::OFLAGS_DIRECTORY, 0, 0, 0) in test_dangling_symlink() 22 wasip1::path_open(dir_fd, 0, "symlink", 0, 0, 0, 0) in test_dangling_symlink()
|
| H A D | p1_path_open_read_write.rs | 9 let f_readonly = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_READ, 0, 0) in test_path_open_read_write() 49 let f_writeonly = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_WRITE, 0, 0) in test_path_open_read_write() 81 let f_readwrite = wasip1::path_open( in test_path_open_read_write()
|
| H A D | p1_fd_readdir.rs | 102 let file_fd = wasip1::path_open( in test_fd_readdir() 121 let nested_fd = wasip1::path_open(dir_fd, 0, "nested", 0, 0, 0, 0) in test_fd_readdir() 175 let file_fd = wasip1::path_open( in test_fd_readdir_lots() 212 let file_fd = wasip1::path_open( in test_fd_readdir_unicode_boundary() 245 let file_fd = wasip1::path_open( in test_fd_readdir_past_end()
|
| H A D | p1_file_truncation.rs | 10 let file_fd = wasip1::path_open( in test_file_truncation() 36 let file_fd = wasip1::path_open( in test_file_truncation()
|
| H A D | p1_file_unbuffered_write.rs | 8 let fd_read = wasip1::path_open( in test_file_unbuffered_write() 24 let fd_write = wasip1::path_open(dir_fd, 0, "file", 0, wasip1::RIGHTS_FD_WRITE, 0, 0) in test_file_unbuffered_write()
|
| H A D | p1_path_filestat.rs | 13 let file_fd = wasip1::path_open( in test_path_filestat() 36 wasip1::path_open( in test_path_filestat()
|
| H A D | p1_file_pread_pwrite.rs | 8 let file_fd = wasip1::path_open( in test_file_pread_pwrite() 133 let file_fd = wasip1::path_open( in test_file_pwrite_and_file_pos() 182 let file_fd = wasip1::path_open( in test_file_pwrite_and_append()
|
| H A D | p1_file_seek_tell.rs | 8 let file_fd = wasip1::path_open( in test_file_seek_tell() 89 let file_fd = wasip1::path_open( in seek_and_o_append()
|
| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | typenames.witx | 202 ;;; If `path_open` is set, includes the right to invoke 203 ;;; `path_open` with `fdflags::dsync`. 215 ;;; If `path_open` is set, includes the right to invoke 216 ;;; `path_open` with `fdflags::rsync` and `fdflags::dsync`. 231 ;;; If `path_open` is set, the right to invoke `path_open` with `oflags::creat`. 239 ;;; The right to invoke `path_open`. 240 $path_open 252 ;;; If `path_open` is set, includes the right to invoke `path_open` with `oflags::trunc`. 410 ;;; are created through this file descriptor, e.g., through `path_open`. 441 ;;; Open flags used by `path_open`.
|
| /wasmtime-44.0.1/crates/wasi/witx/p0/ |
| H A D | typenames.witx | 202 ;;; If `rights::path_open` is set, includes the right to invoke 203 ;;; `path_open` with `fdflags::dsync`. 215 ;;; If `rights::path_open` is set, includes the right to invoke 216 ;;; `path_open` with `fdflags::rsync` and `fdflags::dsync`. 231 ;;; If `rights::path_open` is set, the right to invoke `path_open` with `oflags::creat`. 239 ;;; The right to invoke `path_open`. 240 $path_open 252 … ;;; If `rights::path_open` is set, includes the right to invoke `path_open` with `oflags::trunc`. 408 ;;; are created through this file descriptor, e.g., through `path_open`. 439 ;;; Open flags used by `path_open`.
|
| /wasmtime-44.0.1/crates/wasi/witx/p1/ |
| H A D | typenames.witx | 202 ;;; If `path_open` is set, includes the right to invoke 203 ;;; `path_open` with `fdflags::dsync`. 215 ;;; If `path_open` is set, includes the right to invoke 216 ;;; `path_open` with `fdflags::rsync` and `fdflags::dsync`. 231 ;;; If `path_open` is set, the right to invoke `path_open` with `oflags::creat`. 239 ;;; The right to invoke `path_open`. 240 $path_open 252 ;;; If `path_open` is set, includes the right to invoke `path_open` with `oflags::trunc`. 412 ;;; are created through this file descriptor, e.g., through `path_open`. 443 ;;; Open flags used by `path_open`.
|
| /wasmtime-44.0.1/crates/wasi-common/witx/preview1/ |
| H A D | typenames.witx | 202 ;;; If `path_open` is set, includes the right to invoke 203 ;;; `path_open` with `fdflags::dsync`. 215 ;;; If `path_open` is set, includes the right to invoke 216 ;;; `path_open` with `fdflags::rsync` and `fdflags::dsync`. 231 ;;; If `path_open` is set, the right to invoke `path_open` with `oflags::creat`. 239 ;;; The right to invoke `path_open`. 240 $path_open 252 ;;; If `path_open` is set, includes the right to invoke `path_open` with `oflags::trunc`. 412 ;;; are created through this file descriptor, e.g., through `path_open`. 443 ;;; Open flags used by `path_open`.
|
| /wasmtime-44.0.1/crates/wasi-common/witx/preview0/ |
| H A D | typenames.witx | 202 ;;; If `rights::path_open` is set, includes the right to invoke 203 ;;; `path_open` with `fdflags::dsync`. 215 ;;; If `rights::path_open` is set, includes the right to invoke 216 ;;; `path_open` with `fdflags::rsync` and `fdflags::dsync`. 231 ;;; If `rights::path_open` is set, the right to invoke `path_open` with `oflags::creat`. 239 ;;; The right to invoke `path_open`. 240 $path_open 252 … ;;; If `rights::path_open` is set, includes the right to invoke `path_open` with `oflags::trunc`. 408 ;;; are created through this file descriptor, e.g., through `path_open`. 439 ;;; Open flags used by `path_open`.
|