Lines Matching +full:- +full:t
1 // Copyright (c) 2019-2021 Linaro LTD
3 // SPDX-License-Identifier: Apache-2.0
5 //! Support and tests related to the dependency management for multi-image
13 fn my_version(&self, offset: usize, slot: usize) -> ImageVersion; in my_version()
16 fn my_deps(&self, offset: usize, slot: usize) -> Vec<ImageVersion>; in my_deps()
19 fn other_id(&self) -> u8; in other_id()
22 /// A boring image is used when we aren't testing dependencies. There will
31 pub fn new(number: usize, test: &DepTest) -> BoringDep { in new()
40 fn my_version(&self, _offset: usize, slot: usize) -> ImageVersion { in my_version()
42 1 - slot in my_version()
49 fn my_deps(&self, _offset: usize, _slot: usize) -> Vec<ImageVersion> { in my_deps()
53 fn other_id(&self) -> u8 { in other_id()
88 /// Don't provide an upgrade image at all for this image
125 pub fn new(total_image: usize, my_image: usize, deps: &DepTest) -> PairDep { in new()
138 fn my_version(&self, _offset: usize, slot: usize) -> ImageVersion { in my_version()
140 1 - slot in my_version()
147 fn my_deps(&self, _offset: usize, slot: usize) -> Vec<ImageVersion> { in my_deps()
148 // For now, don't put any dependencies in slot zero. They could be in my_deps()
155 DepType::NoUpgrade => panic!("Shouldn't get to this point"), in my_deps()
169 fn other_id(&self) -> u8 { in other_id()
170 (1 - self.number) as u8 in other_id()
179 fn new_synthetic(image_id: u8, slot: u8, minor: u8) -> ImageVersion { in new_synthetic()