Home
last modified time | relevance | path

Searched refs:err (Results 1 – 12 of 12) sorted by relevance

/mcuboot-latest/samples/zephyr/
Dtest-compile.go27 err := run()
28 if err != nil {
29 log.Fatal(err)
36 zipper, err := NewBuilds()
37 if err != nil {
38 return err
48 err = c.Run()
49 if err != nil {
50 return err
53 err = zipper.Capture(group.ShortName)
[all …]
Drun-tests.go48 err := run()
49 if err != nil {
50 log.Fatal(err)
61 logFile, err := os.Create(*logOut)
62 if err != nil {
63 return err
73 extractor, err = NewExtractor(*preBuilt)
74 if err != nil {
75 return err
89 err = runCommands(test.Build, lg)
[all …]
/mcuboot-latest/boot/espressif/hal/src/
Dflash_encrypt.c130 esp_err_t err = esp_flash_encrypt_init(); in esp_flash_encrypt_check_and_update() local
131 if (err != ESP_OK) { in esp_flash_encrypt_check_and_update()
132 ESP_LOGE(TAG, "Initialization of Flash encryption key failed (%d)", err); in esp_flash_encrypt_check_and_update()
133 return err; in esp_flash_encrypt_check_and_update()
136 err = esp_flash_encrypt_contents(); in esp_flash_encrypt_check_and_update()
137 if (err != ESP_OK) { in esp_flash_encrypt_check_and_update()
138 ESP_LOGE(TAG, "Encryption flash contents failed (%d)", err); in esp_flash_encrypt_check_and_update()
139 return err; in esp_flash_encrypt_check_and_update()
142 err = esp_flash_encrypt_enable(); in esp_flash_encrypt_check_and_update()
143 if (err != ESP_OK) { in esp_flash_encrypt_check_and_update()
[all …]
/mcuboot-latest/boot/espressif/
Dmain.c123 esp_err_t err; in main() local
151 err = check_and_generate_secure_boot_keys(); in main()
152 if (err != ESP_OK) { in main()
196 err = esp_secure_boot_enable_secure_features(); in main()
197 if (err != ESP_OK) { in main()
202 err = esp_efuse_batch_write_commit(); in main()
203 if (err != ESP_OK) { in main()
204 BOOT_LOG_ERR("Error programming security eFuses (err=0x%x).", err); in main()
237 err = esp_flash_encrypt_init(); in main()
238 if (err != ESP_OK) { in main()
[all …]
/mcuboot-latest/boot/zcbor/include/
Dzcbor_common.h207 #define ZCBOR_ERR(err) \ argument
209 zcbor_log("ZCBOR_ERR(%d) ", err); \
210 zcbor_error(state, err); \
214 #define ZCBOR_ERR_IF(expr, err) \ argument
217 zcbor_log("ZCBOR_ERR_IF(" #expr ", %d) ", err); \
218 ZCBOR_ERR(err); \
350 int err = state->constant_state->error; in zcbor_pop_error() local
353 return err; in zcbor_pop_error()
367 static inline void zcbor_error(zcbor_state_t *state, int err) in zcbor_error() argument
374 state->constant_state->error = err; in zcbor_error()
Dzcbor_print.h128 #define ZCBOR_ERR_CASE(err) case err: \ in zcbor_error_str() argument
129 return #err; /* The literal is static per C99 6.4.5 paragraph 5. */\ in zcbor_error_str()
/mcuboot-latest/ptest/src/
Dmain.rs173 Err(ref err) if err.kind() == ErrorKind::AlreadyExists => continue, in done()
174 Err(err) => { in done()
175 error!("Unable to write log file to current directory: {:?}", err); in done()
187 Err(err) => { in done()
188 error!("Unable to run test {:?} ({:?}", key, err); in done()
/mcuboot-latest/boot/zcbor/src/
Dzcbor_common.c299 int err = zcbor_pop_error(state); in zcbor_entry_function() local
301 err = (err == ZCBOR_SUCCESS) ? ZCBOR_ERR_UNKNOWN : err; in zcbor_entry_function()
302 return err; in zcbor_entry_function()
Dzcbor_decode.c76 static void err_restore(zcbor_state_t *state, int err) in err_restore() argument
80 zcbor_error(state, err); in err_restore()
83 #define ERR_RESTORE(err) \ argument
85 err_restore(state, err); \
/mcuboot-latest/sim/src/
Dlib.rs115 let err = format!("Could not deserialize '{}' as alignment", n); in visit_u32() localVariable
116 return Err(E::custom(err)); in visit_u32()
/mcuboot-latest/sim/mcuboot-sys/src/
Dapi.rs323 fn map_err(err: Result<()>) -> libc::c_int { in map_err()
324 match err { in map_err()
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c1447 int err; in boot_serial_in_dec() local
1448 err = base64_decode( &out[*out_off], maxout - *out_off, &rc, in, inlen - 2); in boot_serial_in_dec()
1449 if (err) { in boot_serial_in_dec()
1453 int err; in boot_serial_in_dec() local
1454err = base64_decode((unsigned char *)&out[*out_off], maxout - *out_off, &rc, (unsigned char *)in, … in boot_serial_in_dec()
1455 if (err) { in boot_serial_in_dec()