| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p2_cli_directory_list.rs | 2 use std::{collections::HashSet, fs, path::PathBuf}; 8 .map(PathBuf::from) in main() 20 .map(PathBuf::from) in main()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | wast.rs | 4 use std::path::PathBuf; 17 scripts: Vec<PathBuf>, 27 precompile_save: Option<PathBuf>, 32 precompile_load: Option<PathBuf>,
|
| H A D | explore.rs | 4 use std::{borrow::Cow, path::PathBuf}; 17 module: PathBuf, 22 output: Option<PathBuf>,
|
| H A D | compile.rs | 5 use std::path::PathBuf; 39 pub output: Option<PathBuf>, 43 pub emit_clif: Option<PathBuf>, 47 pub module: PathBuf, 85 let mut output: PathBuf = self.module.file_name().unwrap().into(); in execute()
|
| /wasmtime-44.0.1/crates/wasi-nn/tests/check/ |
| H A D | mod.rs | 9 path::{Path, PathBuf}, 29 pub fn artifacts_dir() -> PathBuf { in artifacts_dir() 30 PathBuf::from(env!("OUT_DIR")).join("fixtures") in artifacts_dir()
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | interpret.rs | 9 use std::path::PathBuf; 18 files: Vec<PathBuf>, 64 path: Option<PathBuf>, 70 pub fn from_path(path: impl Into<PathBuf>) -> Result<Self, io::Error> { in from_path() 176 files: vec![PathBuf::from("../filetests/filetests/interpreter")], in filetests()
|
| H A D | utils.rs | 6 use std::path::{Path, PathBuf}; 28 pub fn iterate_files<'a>(files: &'a [PathBuf]) -> impl Iterator<Item = PathBuf> + 'a { in iterate_files()
|
| H A D | run.rs | 10 use std::path::{Path, PathBuf}; 18 files: Vec<PathBuf>, 39 let mut special_files: Vec<PathBuf> = vec![]; in run() 76 fn run_single_file(path: &PathBuf) -> Result<()> { in run_single_file()
|
| H A D | souper_harvest.rs | 12 use std::path::PathBuf; 22 input: Vec<PathBuf>, 27 output_dir: PathBuf, 137 fn parse_input(path: PathBuf) -> Result<Vec<Function>> { in parse_input()
|
| H A D | cat.rs | 10 use std::path::{Path, PathBuf}; 17 files: Vec<PathBuf>,
|
| H A D | clif-util.rs | 2 use std::path::PathBuf; 47 files: Vec<PathBuf>, 62 file: PathBuf,
|
| H A D | print_cfg.rs | 11 use std::path::{Path, PathBuf}; 18 files: Vec<PathBuf>,
|
| /wasmtime-44.0.1/crates/wasi-common/src/ |
| H A D | dir.rs | 4 use std::path::PathBuf; 52 async fn read_link(&self, _path: &str) -> Result<PathBuf, Error> { in read_link() argument 98 preopen_path: Option<PathBuf>, // precondition: PathBuf is valid unicode 103 pub fn new(preopen_path: Option<PathBuf>, dir: Box<dyn WasiDir>) -> Self { in new() argument 106 pub fn preopen_path(&self) -> &Option<PathBuf> { in preopen_path() argument
|
| /wasmtime-44.0.1/cranelift/isle/islec/src/ |
| H A D | main.rs | 7 path::PathBuf, 15 output: Option<PathBuf>, 19 inputs: Vec<PathBuf>,
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/ |
| H A D | main.rs | 5 use std::path::PathBuf; 15 codegen: std::path::PathBuf, 51 fn isle_input_files(&self) -> anyhow::Result<Vec<std::path::PathBuf>> { in isle_input_files() argument 97 vec![PathBuf::from( in main()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/ |
| H A D | isle.rs | 28 pub output: std::path::PathBuf, 29 pub inputs: Vec<std::path::PathBuf>, 30 pub untracked_inputs: Vec<std::path::PathBuf>, 34 pub fn inputs(&self) -> Vec<std::path::PathBuf> { in inputs() argument 43 pub fn shared_isle_lower_paths(codegen_crate_dir: &std::path::Path) -> Vec<std::path::PathBuf> { in shared_isle_lower_paths() argument
|
| /wasmtime-44.0.1/crates/gdbstub-component/artifact/ |
| H A D | build.rs | 2 use std::path::PathBuf; 6 let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap()); in main() 13 if !PathBuf::from("../Cargo.toml").exists() { in main()
|
| /wasmtime-44.0.1/crates/test-programs/artifacts/ |
| H A D | build.rs | 5 use std::path::{Path, PathBuf}; 10 let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap()); in main() 20 out_dir: PathBuf, 33 core_wasm: Option<PathBuf>, 64 PathBuf::from("Asset not compiled, WASI_SDK_PATH missing at compile time"); in build() 244 fn compile_component(&self, wasm: &Path, adapter: &[u8]) -> PathBuf { in compile_component() argument 299 fn build_c_or_cpp_test(&mut self, path: PathBuf, name: String, tests: &mut Vec<Test>) { in build_c_or_cpp_test() argument 318 Some(path) => PathBuf::from(path), in build_c_or_cpp_test()
|
| /wasmtime-44.0.1/crates/environ/examples/ |
| H A D | factc.rs | 3 use std::path::{Path, PathBuf}; 39 output: Option<PathBuf>, 46 input: PathBuf,
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | runner.rs | 11 use std::path::{Path, PathBuf}; 21 path: PathBuf, 63 dir_stack: Vec<PathBuf>, 103 pub fn push_dir<P: Into<PathBuf>>(&mut self, dir: P) { in push_dir() 110 pub fn push_test<P: Into<PathBuf>>(&mut self, file: P) { in push_test() 181 fn path_error<E: Error>(&mut self, path: &PathBuf, err: &E) { in path_error() argument
|
| /wasmtime-44.0.1/cranelift/assembler-x64/meta/src/ |
| H A D | lib.rs | 9 use std::path::{Path, PathBuf}; 17 pub fn generate_rust_assembler<P: AsRef<Path>>(dir: P, file: &str) -> PathBuf { in generate_rust_assembler() argument
|
| /wasmtime-44.0.1/crates/cache/src/ |
| H A D | worker.rs | 27 use std::path::{Path, PathBuf}; 62 OnCacheGet(PathBuf), 63 OnCacheUpdate(PathBuf), 179 path: PathBuf, 184 path: PathBuf, 268 fn handle_on_cache_get(&self, path: PathBuf) { in handle_on_cache_get() argument 396 fn directory(&self) -> &PathBuf { in directory() argument 402 fn handle_on_cache_update(&self, path: PathBuf) { in handle_on_cache_update() argument 650 let path_buf: PathBuf; in list_cache_contents() 787 ) -> Option<PathBuf> { in acquire_task_fs_lock() argument [all …]
|
| H A D | config.rs | 11 use std::path::{Path, PathBuf}; 27 directory: Option<PathBuf>, 118 pub fn create_new_config<P: AsRef<Path> + Debug>(config_file: Option<P>) -> Result<PathBuf> { in create_new_config() argument 227 fn default_config_path() -> Result<PathBuf> { in default_config_path() 382 pub fn directory(&self) -> Option<&PathBuf> { in directory() argument 387 pub fn with_directory(&mut self, directory: impl Into<PathBuf>) -> &mut Self { in with_directory()
|
| /wasmtime-44.0.1/crates/fuzzing/ |
| H A D | build.rs | 6 use std::path::PathBuf; 13 let out_dir = PathBuf::from(env::var_os("OUT_DIR").unwrap()); in main()
|
| /wasmtime-44.0.1/examples/wasip2-plugins/src/ |
| H A D | main.rs | 5 use std::path::{Path, PathBuf}; 72 path: PathBuf, in load_plugin() argument 121 plugins: PathBuf,
|