Searched refs:error (Results 1 – 14 of 14) sorted by relevance
| /zcbor-latest/src/ |
| D | zcbor_print.c | 67 const char *zcbor_error_str(int error) in zcbor_error_str() argument 72 switch(error) { in zcbor_error_str() 103 void zcbor_print_error(int error) in zcbor_print_error() argument 105 zcbor_do_print("%s\r\n", zcbor_error_str(error)); in zcbor_print_error()
|
| D | zcbor_decode.c | 947 goto error; in zcbor_unordered_map_search() 971 goto error; in zcbor_unordered_map_search() 976 error: in zcbor_unordered_map_search()
|
| D | zcbor_common.c | 162 state_array[0].constant_state->error = ZCBOR_SUCCESS; in zcbor_new_state()
|
| /zcbor-latest/include/ |
| D | zcbor_print.h | 29 state->constant_state ? state->constant_state->error : 0)) 80 const char *zcbor_error_str(int error); 82 void zcbor_print_error(int error);
|
| D | zcbor_common.h | 144 int error; member 356 return !(cs && cs->stop_on_error && cs->error); in zcbor_check_error() 366 int err = state->constant_state->error; in zcbor_pop_error() 368 state->constant_state->error = ZCBOR_SUCCESS; in zcbor_pop_error() 378 return state->constant_state->error; in zcbor_peek_error() 390 state->constant_state->error = err; in zcbor_error()
|
| /zcbor-latest/samples/pet/include/ |
| D | pet_decode.h | 25 #error "The type file was generated with a different default_max_qty than this file"
|
| D | pet_encode.h | 25 #error "The type file was generated with a different default_max_qty than this file"
|
| /zcbor-latest/samples/pet/src/ |
| D | pet_decode.c | 20 #error "The type file was generated with a different default_max_qty than this file"
|
| D | pet_encode.c | 20 #error "The type file was generated with a different default_max_qty than this file"
|
| /zcbor-latest/ |
| D | RELEASE_NOTES.md | 47 * Fix a bug where empty groups and lists would give an error 123 * zcbor_debug.h: Add function for getting error string and printing it 251 * zcbor.py: Raise argparse error on insufficient --output-* args 257 * zcbor_encode.c: Fix error for big-endian architectures 286 * tests: Fix an error in manifest3.cddl (encode/test1) (naming collision with 'uri') 320 * Add zcbor_peek_error() for reading the error value without clearing it. 386 * Add error value to state, which is populated when a function fails (returns `false`). 387 …* Add a `stop_on_error` feature that makes functions abort when an error has occurred (to avoid ch… 435 * zcbor.py: Fix error in 'convert' where a bstr dict value was incorrectly translated
|
| D | README.md | 102 …tatements instruct the current function to return a `ZCBOR_ERR_ASSERTION` error. If `ZCBOR_VERBOSE… 103 …). This makes all zcbor functions abort their execution if called when an error has already happen… 537 will cause a compile error. If so, tweak the CDDL
|
| /zcbor-latest/tests/scripts/ |
| D | test_repo_files.py | 11 from urllib.error import HTTPError
|
| /zcbor-latest/tests/unit/test1_unit_tests/src/ |
| D | main.c | 237 …equal(ZCBOR_ERR_NO_PAYLOAD, state_e->constant_state->error, "%d\r\n", state_e->constant_state->err… in ZTEST() 317 …qual(ZCBOR_ERR_WRONG_VALUE, state_d->constant_state->error, "%d\r\n", state_d->constant_state->err… in ZTEST() 675 zassert_true(zcbor_list_start_encode(state_e1, 10), "%d\r\n", state_e1->constant_state->error); in ZTEST()
|
| /zcbor-latest/zcbor/ |
| D | zcbor.py | 3186 parser.error("Please specify at least one of --decode or --encode.") 3191 parser.error(
|