Home
last modified time | relevance | path

Searched refs:OsString (Results 1 – 4 of 4) sorted by relevance

/development/tools/external_crates/license_checker/src/
Dutil.rs16 ffi::{OsStr, OsString},
33 pub(crate) fn normalize_filename(file: impl AsRef<Path>) -> OsString { in normalize_filename() argument
71 assert_eq!(normalize_filename(Path::new("LICENSE")), OsString::from("LICENSE")); in test_normalize_filename()
74 OsString::from("LICENSE"), in test_normalize_filename()
79 OsString::from("LICENSE"), in test_normalize_filename()
84 OsString::from("LICENSE.JPG"), in test_normalize_filename()
89 OsString::from("LICENSE"), in test_normalize_filename()
Dparsed_license_data.rs17 ffi::{OsStr, OsString},
32 file_names: BTreeSet<OsString>,
42 pub fn file_names(&self) -> &BTreeSet<OsString> { in file_names() argument
71 file_names.insert(OsString::from(license_file.to_uppercase())); in try_from()
Dlicenses.rs17 ffi::OsString,
37 license_file_names: BTreeMap<OsString, Licensee>,
/development/tools/external_crates/crate_tool/src/
Dandroid_bp.rs17 ffi::OsString,
28 fn add_bpfmt_to_path(repo_root: impl AsRef<Path>) -> Result<OsString> { in add_bpfmt_to_path() argument