Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 7 of 7) sorted by relevance

/DragonOS/user/apps/test-symlink/src/
H A Dmain.rs7 use std::path::Path;
20 assert!(Path::new(target).exists(), "Target file was not created"); in main()
21 assert!(Path::new(dir).exists(), "Target dir was not created"); in main()
25 assert!(Path::new(symlink_path).exists(), "Symlink was not created"); in main()
38 assert!(!Path::new(symlink_path).exists(), "Symlink was not deleted"); in main()
39 assert!(!Path::new(target).exists(), "Target file was not deleted"); in main()
40 assert!(!Path::new(dir).exists(), "Directory was not deleted"); in main()
48 let path = Path::new("mnt/myramfs"); in mount_test_ramfs()
/DragonOS/user/apps/test-mount/src/
H A Dmain.rs5 use std::path::Path;
9 let path = Path::new("mnt/tmp"); in main()
21 let path = Path::new("mnt/tmp/tmp"); in main()
/DragonOS/kernel/crates/intertrait/macros/src/
H A Ditem_type.rs4 use syn::{DeriveInput, Path};
11 pub fn process(flags: &HashSet<Flag>, paths: Vec<Path>, input: DeriveInput) -> TokenStream { in process() argument
H A Dargs.rs5 use syn::{Error, Ident, Path, Token, Type};
26 pub paths: Vec<Path>,
53 paths = Punctuated::<Path, Token![,]>::parse_terminated(input)? in parse()
H A Ditem_impl.rs8 AngleBracketedGenericArguments, Binding, GenericArgument, ImplItem, ItemImpl, Path,
45 fn fully_bound_trait(path: &Path, items: &[ImplItem]) -> impl ToTokens { in fully_bound_trait() argument
/DragonOS/kernel/crates/unified-init/macros/src/
H A Dlib.rs10 ItemFn, Path,
97 if let syn::Type::Path(type_path) = output_type { in check_function_signature()
130 if let syn::Type::Path(type_path) = type_arg { in check_function_signature()
188 initializer_instance: Path,
206 let initializer = syn::Path::from(ident); in parse()
/DragonOS/user/apps/test-chown/src/
H A Dmain.rs15 path::Path,
125 let path = Path::new("mnt/myramfs"); in mount_test_ramfs()
155 let path = Path::new("mnt/myramfs"); in umount_test_ramfs()