Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 40) sorted by relevance

12

/mcuboot-latest/ci/
Dcompare_versions.py34 if args.old is None or args.new is None:
44 for version in [args.old, args.new]:
51 old, new = versions[0], versions[1] variable
52 for version in [old, new]:
57 if new == old:
60 elif new > old:
61 print("Upgrade detected ({} > {})".format(new, old))
64 print("Downgrade detected ({} < {})".format(new, old))
Dimgtool_run.sh36 python ../ci/compare_versions.py --old $last_release --new $repo_version
Dmynewt_install.sh35 newt new "$build"
/mcuboot-latest/ptest/src/
Dmain.rs47 let limiter = Arc::new(Semaphore::new(ncpus as isize)); in main()
64 let state = State::new(matrix.envs.len()); in main()
68 thread::sleep(Duration::new(15, 0)); in main()
136 fn new(total: usize) -> Arc<Mutex<State>> { in new() method
137 Arc::new(Mutex::new(State { in new()
138 running: HashSet::new(), in new()
139 done: HashSet::new(), in new()
167 match OpenOptions::new() in done()
220 let mut all_tests = HashSet::new(); in from_yaml()
306 let cmdout = Command::new("bash") in run()
[all …]
/mcuboot-latest/sim/mcuboot-sys/src/
Dapi.rs73 pub fn new() -> FlashContext { in new() method
75 flash_map: HashMap::new(), in new()
76 flash_params: HashMap::new(), in new()
85 flash_map: HashMap::new(), in default()
86 flash_params: HashMap::new(), in default()
122 pub fn new() -> CSimContextPtr { in new() method
156 pub fn new() -> Self { in new() method
169 pub static THREAD_CTX: RefCell<FlashContext> = RefCell::new(FlashContext::new());
170 pub static SIM_CTX: RefCell<CSimContextPtr> = RefCell::new(CSimContextPtr::new());
171 pub static RAM_CTX: RefCell<BootsimRamInfo> = RefCell::new(BootsimRamInfo::default());
[all …]
Darea.rs23 pub fn new() -> AreaDesc { in new() method
27 sectors: HashMap::new(), in new()
129 let mut areas_box: Box<CAreaDesc> = Box::new(Default::default()); in get_c()
Dlib.rs23 pub fn new(size: u32, offset: u32) -> RamBlock { in new() method
Dc.rs202 static PSA_INIT_SYNC: Once = Once::new();
205 static MBEDTLS_EXTERNAL_RNG_ENABLE_SYNC: Once = Once::new();
/mcuboot-latest/sim/src/
Dimage.rs140 pub fn new(device: DeviceName, align: usize, erased_val: u8) -> Result<Self, String> { in new() method
197 let ram = RamData::new(&slots); in new()
213 match Self::new(dev, align, erased_val) { in each_device()
230 Box::new(PairDep::new(num_images, image_num, deps)) in make_no_upgrade_image()
232 Box::new(BoringDep::new(image_num, deps)) in make_no_upgrade_image()
300 let dep = BoringDep::new(image_num, &NO_DEPS); in make_bad_secondary_slot_image()
323 let dep = BoringDep::new(image_num, &NO_DEPS); in make_oversized_secondary_slot_image()
346 let dep = BoringDep::new(image_num, &NO_DEPS); in make_erased_secondary_image()
368 let dep = BoringDep::new(image_num, &NO_DEPS); in make_bootstrap_image()
390 let dep = BoringDep::new(image_num, &NO_DEPS); in make_oversized_bootstrap_image()
[all …]
Dtestlog.rs16 static INIT: Once = Once::new();
Dlib.rs131 let args: Args = Docopt::new(USAGE) in main()
141 let mut status = RunStatus::new(); in main()
181 pub fn new() -> RunStatus { in new() method
191 let run = match ImagesBuilder::new(device, align, erased_val) { in run_single()
Ddepends.rs31 pub fn new(number: usize, test: &DepTest) -> BoringDep { in new() method
125 pub fn new(total_image: usize, my_image: usize, deps: &DepTest) -> PairDep { in new() method
Dtlv.rs563 let rng = rand::SystemRandom::new(); in make_tlv()
582 let rng = rand::SystemRandom::new(); in make_tlv()
688 let rng = rand::SystemRandom::new(); in make_tlv()
705 agreement::UnparsedPublicKey::new(&agreement::ECDH_P256, &key_bytes.contents[26..]) in make_tlv()
707 agreement::UnparsedPublicKey::new(&agreement::X25519, &key_bytes.contents[12..]) in make_tlv()
724 let salt = hkdf::Salt::new(hkdf::HKDF_SHA256, &[]); in make_tlv()
746 let block = Aes256::new(&key); in make_tlv()
751 let block = Aes128::new(&key); in make_tlv()
757 let key = hmac::Key::new(hmac::HMAC_SHA256, &derived_key[size..]); in make_tlv()
807 let rng = rand::SystemRandom::new(); in generate_enc_key()
/mcuboot-latest/sim/simflash/src/
Dpdump.rs20 fn new() -> Dumper { in new() method
61 let mut dump = Dumper::new(); in dump()
Dlib.rs101 pub fn new(sectors: Vec<usize>, align: usize, erased_val: u8) -> SimFlash { in new() method
111 bad_region: Vec::new(), in new()
315 let mut f1 = SimFlash::new(vec![4096usize; 256], 1, erased_val); in test_flash()
319 let mut f2 = SimFlash::new(vec![16 * 1024, 16 * 1024, 16 * 1024, 64 * 1024, in test_flash()
352 let mut buf = Vec::new(); in test_device()
/mcuboot-latest/docs/
Dreadme-mynewt.md6 must be added as a new dependency for this app.
36 in this new format. That is done by passing the extra parameter `-2` as in:
43 like listing images and uploading a new image to `slot0`. The serial bootloader
Drelease.md12 2. MINOR version when new functionalities were added in a
65 new release version, including updates to the pseudo keys
108 After the final (non-`rc`) a.b.0 release is made, a new branch must
117 This branch will be used to generate new incremental `PATCH` releases
118 for bug fixes or required minor updates (for example, new `imgtool` features).
DGemfile9 # This is the default theme for new Jekyll sites. You may change this to anything you like.
Drelease-notes.md62 Note that this release, 2.0.0 is a new major number, and contains a small API
89 - espressif: add ESP32-C6, ESP32-C2 and ESP32-H2 new chips support
144 - Add a new flash api `flash_area_get_sector`, along with support for each
308 new swap method was added which allows for upgrades without using a
352 - Update imgtool.py to support the new features
378 multi-images, and a new name for slot0/slot1 which are now called
400 - Abstract logging in MCUboot. This was needed to support the new
480 generate image headers with the new format. There should be no
495 - Allow new types of signatures in the future.
504 - Support for some new targets:
Dreadme-riot.md37 If no key is provided, a new key will be automatically generated. The
/mcuboot-latest/docs/release-notes.d/
Dswap-using-offset.md1 - Added a new swap using offset algorithm which is set with
D00readme.md9 - Implement new features.
/mcuboot-latest/samples/zephyr/hello-world/
DCMakeLists.txt10 # used as a starting point for new applications.
/mcuboot-latest/sim/mcuboot-sys/
Dbuild.rs43 let mut conf = CachedBuild::new(); in main()
522 fn new() -> CachedBuild { in new() method
524 conf: cc::Build::new(), in new()
525 seen: BTreeSet::new(), in new()
/mcuboot-latest/sim/tests/
Dcore.rs183 static IMAGE_NUMBER: AtomicUsize = AtomicUsize::new(0);

12