Searched refs:PatchCollection (Results 1 – 2 of 2) sorted by relevance
/external/toolchain-utils/llvm_tools/patch_sync/src/ |
D | patch_parsing.rs | 45 pub struct PatchCollection { struct 51 impl PatchCollection { argument 306 impl std::fmt::Display for PatchCollection { implementation 343 pub cur_collection: PatchCollection, 344 pub new_patches: PatchCollection, 358 let cur_collection = PatchCollection::parse_from_file(patches_path) in new_patches() 363 let old_collection = PatchCollection::parse_from_str( in new_patches() 371 let new_patches: PatchCollection = cur_collection.subtract(&old_collection)?; in new_patches() 391 pub fn filter_patches_by_platform(collection: &PatchCollection, platform: &str) -> PatchCollection { in filter_patches_by_platform() argument 400 pub fn validate_patches(collection: &PatchCollection, platform: &str) -> Result<()> { in validate_patches() argument [all …]
|
D | main.rs | 16 use patch_parsing::{filter_patches_by_platform, PatchCollection, PatchDictSchema, VersionRange}; 91 let make_collection = |platform: &str, patches_fp: &Path| -> Result<PatchCollection> { in show_subcmd() 92 let parsed_collection = PatchCollection::parse_from_file(patches_fp) in show_subcmd() 229 new_cros_patches: PatchCollection, 230 cur_cros_collection: PatchCollection, 233 new_android_patches: PatchCollection, 234 cur_android_collection: PatchCollection, 288 other_platform_collection: &PatchCollection, in filter_version_changes() argument 304 fn display_patches(prelude: &str, collection: &PatchCollection) { in display_patches() argument
|