Home
last modified time | relevance | path

Searched refs:rel (Results 1 – 5 of 5) sorted by relevance

/development/tools/external_crates/crate_health/src/
Dcrate_type.rs111 if let Some(dirname) = self.path.rel().file_name().and_then(|x| x.to_str()) { in staging_dir_name()
120 if self.path.rel().starts_with("external/rust/crates") { in aosp_url()
121 if self.path.rel().ends_with(self.name()) { in aosp_url()
126 } else if self.path.rel().parent()?.ends_with(self.name()) { in aosp_url()
129 self.path().rel().parent()?.display(), in aosp_url()
130 self.path().rel().file_name()?.to_str()? in aosp_url()
151 !NOT_CRATES_IO.iter().any(|prefix| self.path().rel().starts_with(prefix)) in is_crates_io()
158 MIGRATION_DENYLIST.iter().any(|prefix| self.path().rel().starts_with(prefix)) in is_migration_denied()
213 &self.android_bp().rel(), in diff_android_bp()
214 &self.staging_path().join(&"Android.bp").rel(), in diff_android_bp()
Dmigration.rs87 &self.source.android_bp().rel(), in diff_android_bps()
88 &self.dest.staging_path().join(&"Android.bp").rel(), in diff_android_bps()
100 source.add_from(&source_dir.rel())?; in migrate()
116 dest.add_from(&pseudo_crate.get_path().join(&"vendor").rel())?; in migrate()
Dmain.rs237 .arg(pair.source.path().rel()) in main()
238 .arg(pair.dest.staging_path().rel()) in main()
252 .arg(pair.source.path().rel()) in main()
253 .arg(pair.dest.staging_path().rel()) in main()
Drepo_path.rs41 pub fn rel(&self) -> &Path { in rel() method
63 assert_eq!(p.rel(), Path::new("bar")); in test_basic()
/development/tools/idegen/src/com/android/idegen/
DModule.java117 String rel = moduleRoot.getCanonicalPath().substring( in calculateRelativePartToRepoRoot() local
121 for (int i = 0; i < rel.length(); i++) { in calculateRelativePartToRepoRoot()
122 if (rel.charAt(i) == '/') { in calculateRelativePartToRepoRoot()