/mcuboot-3.6.0/sim/src/ |
D | utils.rs | 7 pub fn align_up(num: u32, align: u32) -> u32 { in align_up() 10 (num + (align - 1)) & !(align - 1) in align_up()
|
D | image.rs | 1701 sector.num, sector.base, sector.size); in show_flash()
|
/mcuboot-3.6.0/boot/bootutil/include/bootutil/ |
D | bootutil_public.h | 53 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument 57 #define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) argument
|
D | enc_key_public.h | 36 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument
|
/mcuboot-3.6.0/ext/tinycrypt/tests/include/ |
D | test_ecc_utils.h | 84 int check_ecc_result(const int num, const char *name, 95 int check_code(const int num, const char *name, const int expected,
|
/mcuboot-3.6.0/ext/tinycrypt/tests/ |
D | test_ecc_utils.c | 184 int check_ecc_result(const int num, const char *name, in check_ecc_result() argument 191 TC_PRINT("\n Vector #%02d check %s - FAILURE:\n\n", num, name); in check_ecc_result() 198 TC_PRINT(" Vector #%02d check %s - success\n", num, name); in check_ecc_result() 203 int check_code(const int num, const char *name, const int expected, in check_code() argument 208 TC_ERROR("\n Vector #%02d check %s - FAILURE:\n", num, name); in check_code() 214 TC_PRINT(" Vector #%02d check %s - success (%d=%d)\n", num, name, in check_code()
|
/mcuboot-3.6.0/boot/espressif/port/ |
D | esp_mcuboot.c | 31 # define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument 35 # define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) argument 39 # define ALIGN_OFFSET(num, align) ((num) & ((align) - 1)) argument 43 # define IS_ALIGNED(num, align) (ALIGN_OFFSET((num), (align)) == 0) argument
|
/mcuboot-3.6.0/boot/zephyr/sysbuild/ |
D | CMakeLists.txt | 1 function(mathup num align result) 2 math(EXPR out "(((${num}) + ((${align}) - 1)) & ~((${align}) - 1))")
|
/mcuboot-3.6.0/sim/simflash/src/ |
D | lib.rs | 276 pub num: usize, field 294 Some((num, &size)) => { in next() 298 num, in next() 346 let byte = [(sector.num & 127) as u8]; in test_device() 354 let byte = (sector.num & 127) as u8; in test_device()
|
/mcuboot-3.6.0/ptest/ |
D | Cargo.lock | 80 "num-integer", 81 "num-traits", 179 name = "num-integer" 185 "num-traits", 189 name = "num-traits"
|
/mcuboot-3.6.0/boot/espressif/hal/src/ |
D | secure_boot.c | 26 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument
|
/mcuboot-3.6.0/scripts/imgtool/ |
D | image.py | 99 def align_up(num, align): argument 101 return (num + (align - 1)) & ~(align - 1)
|
/mcuboot-3.6.0/boot/zephyr/ |
D | CMakeLists.txt | 362 function(align_up num align result) 363 math(EXPR out "(((${num}) + ((${align}) - 1)) & ~((${align}) - 1))")
|