Searched refs:Path (Results 1 – 7 of 7) sorted by relevance
/DragonOS/user/apps/test-symlink/src/ |
H A D | main.rs | 7 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 D | main.rs | 5 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 D | item_type.rs | 4 use syn::{DeriveInput, Path}; 11 pub fn process(flags: &HashSet<Flag>, paths: Vec<Path>, input: DeriveInput) -> TokenStream { in process() argument
|
H A D | args.rs | 5 use syn::{Error, Ident, Path, Token, Type}; 26 pub paths: Vec<Path>, 53 paths = Punctuated::<Path, Token![,]>::parse_terminated(input)? in parse()
|
H A D | item_impl.rs | 8 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 D | lib.rs | 10 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 D | main.rs | 15 path::Path, 125 let path = Path::new("mnt/myramfs"); in mount_test_ramfs() 155 let path = Path::new("mnt/myramfs"); in umount_test_ramfs()
|