Home
last modified time | relevance | path

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

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_path_rename.rs4 use test_programs::preview1::{TestConfig, assert_errno, create_file, open_scratch_directory};
58 create_file(dir_fd, "target/file"); in test_path_rename()
82 create_file(dir_fd, "source"); in test_path_rename()
103 create_file(dir_fd, "source"); in test_path_rename()
104 create_file(dir_fd, "target"); in test_path_rename()
126 create_file(dir_fd, "source"); in test_path_rename()
H A Dp1_path_symlink_trailing_slashes.rs4 use test_programs::preview1::{assert_errno, config, create_file, open_scratch_directory};
42 create_file(dir_fd, "target"); in test_path_symlink_trailing_slashes()
53 create_file(dir_fd, "target"); in test_path_symlink_trailing_slashes()
H A Dp1_readlink.rs4 use test_programs::preview1::{create_file, open_scratch_directory};
8 create_file(dir_fd, "target"); in test_readlink()
39 create_file(dir_fd, filename); in test_incremental_readlink()
H A Dp1_path_open_create_existing.rs4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory};
7 create_file(dir_fd, "file"); in test_path_open_create_existing()
H A Dp1_remove_directory.rs4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory};
19 create_file(dir_fd, "file"); in test_remove_directory()
H A Dp1_unlink_file_trailing_slashes.rs4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory};
32 create_file(dir_fd, "file"); in test_unlink_file_trailing_slashes()
H A Dp1_path_exists.rs4 use test_programs::preview1::{create_file, open_scratch_directory};
20 create_file(dir_fd, "subdir/file"); in test_path_exists()
H A Dp1_interesting_paths.rs4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory};
14 create_file(dir_fd, "dir/nested/file"); in test_interesting_paths()
H A Dp1_path_open_lots.rs4 use test_programs::preview1::{create_file, open_scratch_directory};
7 create_file(dir_fd, "file"); in test_path_open_lots()
H A Dp1_path_open_read_write.rs4 use test_programs::preview1::{assert_errno, create_file, open_scratch_directory};
7 create_file(dir_fd, "file"); in test_path_open_read_write()
H A Dp1_path_link.rs4 use test_programs::preview1::{assert_errno, config, create_file, open_scratch_directory};
90 create_file(dir_fd, "link"); in test_path_link()
/wasmtime-44.0.1/crates/c-api/src/
H A Dwasi.rs29 unsafe fn create_file(path: *const c_char) -> Option<File> { in create_file() function
140 let file = match create_file(path) { in wasi_config_set_stdout_file()
268 let file = match create_file(path) { in wasi_config_set_stderr_file()
/wasmtime-44.0.1/crates/test-programs/src/
H A Dpreview1.rs43 pub unsafe fn create_file(dir_fd: wasip1::Fd, filename: &str) { in create_file() function