Home
last modified time | relevance | path

Searched refs:num (Results 1 – 13 of 13) sorted by relevance

/mcuboot-3.6.0/sim/src/
Dutils.rs7 pub fn align_up(num: u32, align: u32) -> u32 { in align_up()
10 (num + (align - 1)) & !(align - 1) in align_up()
Dimage.rs1701 sector.num, sector.base, sector.size); in show_flash()
/mcuboot-3.6.0/boot/bootutil/include/bootutil/
Dbootutil_public.h53 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument
57 #define ALIGN_DOWN(num, align) ((num) & ~((align) - 1)) argument
Denc_key_public.h36 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument
/mcuboot-3.6.0/ext/tinycrypt/tests/include/
Dtest_ecc_utils.h84 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/
Dtest_ecc_utils.c184 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/
Desp_mcuboot.c31 # 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/
DCMakeLists.txt1 function(mathup num align result)
2 math(EXPR out "(((${num}) + ((${align}) - 1)) & ~((${align}) - 1))")
/mcuboot-3.6.0/sim/simflash/src/
Dlib.rs276 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/
DCargo.lock80 "num-integer",
81 "num-traits",
179 name = "num-integer"
185 "num-traits",
189 name = "num-traits"
/mcuboot-3.6.0/boot/espressif/hal/src/
Dsecure_boot.c26 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) argument
/mcuboot-3.6.0/scripts/imgtool/
Dimage.py99 def align_up(num, align): argument
101 return (num + (align - 1)) & ~(align - 1)
/mcuboot-3.6.0/boot/zephyr/
DCMakeLists.txt362 function(align_up num align result)
363 math(EXPR out "(((${num}) + ((${align}) - 1)) & ~((${align}) - 1))")