/development/tools/external_crates/crate_health/src/ |
D | crate_type.rs | 36 pub struct Crate { struct 46 impl NamedAndVersioned for Crate { argument 58 impl IsUpgradableTo for Crate {} implementation 60 impl Crate { implementation 65 ) -> Crate { in new() argument 67 Crate { in new() 75 pub fn from<P: Into<PathBuf>>(cargo_toml: &impl AsRef<Path>, root: P) -> Result<Crate> { in from() argument 86 cargo::core::EitherManifest::Real(r) => Ok(Crate::new(r, root, relpath)), in from() 277 impl Migratable for Crate { implementation 313 let krate = Crate::from(&cargo_toml, &"/")?; in test_from_and_properties() [all …]
|
D | crate_collection.rs | 27 android_bp::generate_android_bps, Crate, CrateError, NameAndVersion, NameAndVersionMap, 35 crates: BTreeMap<NameAndVersion, Crate>, 47 match Crate::from(&entry.path(), &self.repo_root.as_path()) { in add_from()
|
D | reports.rs | 18 crates_with_multiple_versions, crates_with_single_version, CompatibleVersionPair, Crate, 77 pub fn table<'a>(&self, crates: impl Iterator<Item = &'a Crate>) -> Result<String> { in table() 90 pub fn health_table<'a>(&self, crates: impl Iterator<Item = &'a Crate>) -> Result<String> { in health_table() 137 crate_pairs: impl Iterator<Item = CompatibleVersionPair<'a, Crate>>, in migratable_table() argument 161 crates: impl Iterator<Item = &'a Crate>, in migration_ineligible_table() 190 crate_pairs: impl Iterator<Item = VersionPair<'a, Crate>>, in migration_eligible_table() argument
|
D | android_bp.rs | 27 use crate::{Crate, NameAndVersion, NameAndVersionMap, NamedAndVersioned, RepoPath}; 29 pub fn generate_android_bps<'a, T: Iterator<Item = &'a Crate>>( in generate_android_bps()
|
D | migration.rs | 25 copy_dir, crate_type::diff_android_bp, most_recent_version, CompatibleVersionPair, Crate, 34 impl<'a> CompatibleVersionPair<'a, Crate> {
|
D | lib.rs | 25 pub use self::crate_type::{diff_android_bp, Crate, Migratable};
|
/development/tools/cargo_embargo/src/cargo/ |
D | metadata.rs | 17 use super::{Crate, CrateType, Extern, ExternType}; 107 pub fn parse_cargo_metadata_str(cargo_metadata: &str, cfg: &VariantConfig) -> Result<Vec<Crate>> { in parse_cargo_metadata_str() argument 118 ) -> Result<Vec<Crate>> { in parse_cargo_metadata() argument 165 crates.push(Crate { in parse_cargo_metadata() 189 crates.push(Crate { in parse_cargo_metadata() 674 fn normalize_package_dir(mut c: Crate) -> Crate { in parse_metadata() argument 696 let expected_crates: Vec<Vec<Crate>> = serde_json::from_reader::<_, Vec<Vec<Crate>>>( in parse_metadata() 701 .map(|crates: Vec<Crate>| crates.into_iter().map(normalize_package_dir).collect()) in parse_metadata() 717 .collect::<Vec<Crate>>() in parse_metadata() 719 .collect::<Vec<Vec<Crate>>>(); in parse_metadata()
|
D | cargo_out.rs | 16 use super::{Crate, CrateType, Extern, ExternType}; 34 pub fn parse_cargo_out(cargo_output: &CargoOutput) -> Result<Vec<Crate>> { in parse_cargo_out() argument 52 ) -> Result<Vec<Crate>> { in parse_cargo_out_str() argument 61 let c = Crate::from_rustc_invocation(rustc, metadata, &cargo_out.tests) in parse_cargo_out_str() 231 impl Crate { implementation 236 ) -> Result<Crate> { in from_rustc_invocation() argument 237 let mut out = Crate::default(); in from_rustc_invocation()
|
/development/tools/cargo_embargo/src/ |
D | main.rs | 43 cargo_out::parse_cargo_out, metadata::parse_cargo_metadata_str, Crate, CrateType, ExternType, 284 fn make_all_crates(args: &Args, cfg: &Config, intermediates_dir: &Path) -> Result<Vec<Vec<Crate>>> { in make_all_crates() argument 288 fn make_crates(args: &Args, cfg: &VariantConfig, intermediates_dir: &Path) -> Result<Vec<Crate>> { in make_crates() argument 384 fn group_by_package(crates: Vec<Vec<Crate>>) -> BTreeMap<PathBuf, Vec<Vec<Crate>>> { in group_by_package() argument 385 let mut module_by_package: BTreeMap<PathBuf, Vec<Vec<Crate>>> = BTreeMap::new(); in group_by_package() 401 crates: Vec<Vec<Crate>>, in write_all_build_files() argument 599 crates: &[Vec<Crate>], in write_build_files() argument 687 crates: &[Crate], in generate_android_bp() argument 751 crates: &[Crate], in generate_rules_mk() argument 849 crate_: &Crate, in crate_to_bp_modules() argument [all …]
|
D | cargo.rs | 80 pub struct Crate { struct
|
/development/tools/cargo_embargo/ |
D | regenerate_all.sh | 42 <tr><th>Crate name</th><th>Generate</th><th>Details</th><th style="width: 25%;">Files</th></tr>
|
/development/scripts/ |
D | cargo2rulesmk.py | 173 class Crate(object): class 690 self.crates: List[Crate] = [] 974 def add_crate(self, crate: Crate): argument 1018 self.add_crate(Crate(self, outf_name).parse(n, args)) 1085 self.add_crate(Crate(self, outf_name).parse(n, args_line))
|