Home
last modified time | relevance | path

Searched refs:PathFlags (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp2_cli_hostcall_fuel.rs44 PathFlags::empty(), in read()
69 PathFlags::empty(), in write()
82 PathFlags::empty(), in write_stream()
98 PathFlags::empty(), in write_stream_blocking()
183 PathFlags::empty(), in write_zeroes()
199 PathFlags::empty(), in write_stream_buffer_too_large()
215 PathFlags::empty(), in write_zeroes_buffer_too_large()
231 PathFlags::empty(), in read_file_big()
H A Dp3_file_write.rs3 Descriptor, DescriptorFlags, ErrorCode, OpenFlags, PathFlags,
37 PathFlags::empty(), in test_file_long_write()
69 PathFlags::empty(), in test_file_long_write()
91 PathFlags::empty(), in test_file_long_write()
100 PathFlags::empty(), in test_file_long_write()
H A Dp3_readdir.rs3 Descriptor, DescriptorFlags, DescriptorType, DirectoryEntry, OpenFlags, PathFlags,
43 PathFlags::empty(), in test_readdir()
54 PathFlags::empty(), in test_readdir()
79 PathFlags::empty(), in test_readdir_lots()
H A Dp2_file_read_write.rs2 use test_programs::wasi::filesystem::types::{DescriptorFlags, OpenFlags, PathFlags};
11 PathFlags::empty(), in main()
H A Dp3_filesystem_file_read_write.rs2 use test_programs::p3::wasi::filesystem::types::{DescriptorFlags, OpenFlags, PathFlags};
17 PathFlags::empty(), in run()
/wasmtime-44.0.1/crates/wasi/src/p2/host/filesystem/
H A Dsync.rs121 path_flags: sync_filesystem::PathFlags, in stat_at() argument
133 path_flags: sync_filesystem::PathFlags, in set_times_at() argument
155 old_path_flags: sync_filesystem::PathFlags, in link_at() argument
176 path_flags: sync_filesystem::PathFlags, in open_at() argument
295 path_flags: sync_filesystem::PathFlags, in metadata_hash_at() argument
447 impl From<sync_filesystem::PathFlags> for async_filesystem::PathFlags { implementation
448 fn from(other: sync_filesystem::PathFlags) -> Self { in from()
450 if other.contains(sync_filesystem::PathFlags::SYMLINK_FOLLOW) { in from()
/wasmtime-44.0.1/crates/wasi/src/p3/filesystem/
H A Dmod.rs165 impl From<types::PathFlags> for crate::filesystem::PathFlags { implementation
166 fn from(flags: types::PathFlags) -> Self { in from()
168 if flags.contains(types::PathFlags::SYMLINK_FOLLOW) { in from()
H A Dhost.rs5 Filesize, MetadataHashValue, NewTimestamp, OpenFlags, PathFlags,
714 path_flags: PathFlags, in stat_at() argument
725 path_flags: PathFlags, in set_times_at() argument
741 old_path_flags: PathFlags, in link_at() argument
756 path_flags: PathFlags, in open_at() argument
858 path_flags: PathFlags, in metadata_hash_at() argument
/wasmtime-44.0.1/crates/wasi/src/
H A Dfilesystem.rs106 pub(crate) struct PathFlags: usize {
852 path_flags: PathFlags, in stat_at() argument
859 let meta = if path_flags.contains(PathFlags::SYMLINK_FOLLOW) { in stat_at()
870 path_flags: PathFlags, in set_times_at() argument
880 if path_flags.contains(PathFlags::SYMLINK_FOLLOW) { in set_times_at()
904 old_path_flags: PathFlags, in link_at() argument
915 if old_path_flags.contains(PathFlags::SYMLINK_FOLLOW) { in link_at()
926 path_flags: PathFlags, in open_at() argument
983 if path_flags.contains(PathFlags::SYMLINK_FOLLOW) { in open_at()
1137 path_flags: PathFlags, in metadata_hash_at() argument
[all …]
H A Dp1.rs960 impl From<types::Lookupflags> for filesystem::PathFlags { implementation
963 filesystem::PathFlags::SYMLINK_FOLLOW in from()
965 filesystem::PathFlags::empty() in from()
1988 .metadata_hash_at(fd.borrowed(), filesystem::PathFlags::empty(), name.clone()) in fd_readdir()
/wasmtime-44.0.1/crates/wasi/src/p2/host/
H A Dfilesystem.rs249 path_flags: types::PathFlags, in stat_at() argument
260 path_flags: types::PathFlags, in set_times_at() argument
276 old_path_flags: types::PathFlags, in link_at() argument
292 path_flags: types::PathFlags, in open_at() argument
460 path_flags: types::PathFlags, in metadata_hash_at() argument
516 impl From<types::PathFlags> for crate::filesystem::PathFlags { implementation
517 fn from(flags: types::PathFlags) -> Self { in from()
519 if flags.contains(types::PathFlags::SYMLINK_FOLLOW) { in from()
/wasmtime-44.0.1/examples/min-platform/embedding/src/
H A Dwasi.rs753 _: wasi::filesystem::types::PathFlags, in stat_at() argument
762 _: wasi::filesystem::types::PathFlags, in set_times_at() argument
772 _: wasi::filesystem::types::PathFlags, in link_at() argument
782 _: wasi::filesystem::types::PathFlags, in open_at() argument
847 _: wasi::filesystem::types::PathFlags, in metadata_hash_at() argument
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dlib.rs1558 .metadata_hash_at(filesystem::PathFlags::empty(), &name) in fd_readdir()
2442 fn at_flags_from_lookupflags(flags: Lookupflags) -> filesystem::PathFlags { in at_flags_from_lookupflags() argument
2444 filesystem::PathFlags::SYMLINK_FOLLOW in at_flags_from_lookupflags()
2446 filesystem::PathFlags::empty() in at_flags_from_lookupflags()