Home
last modified time | relevance | path

Searched refs:error (Results 1 – 14 of 14) sorted by relevance

/zcbor-latest/src/
Dzcbor_print.c67 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()
Dzcbor_decode.c947 goto error; in zcbor_unordered_map_search()
971 goto error; in zcbor_unordered_map_search()
976 error: in zcbor_unordered_map_search()
Dzcbor_common.c162 state_array[0].constant_state->error = ZCBOR_SUCCESS; in zcbor_new_state()
/zcbor-latest/include/
Dzcbor_print.h29 state->constant_state ? state->constant_state->error : 0))
80 const char *zcbor_error_str(int error);
82 void zcbor_print_error(int error);
Dzcbor_common.h144 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/
Dpet_decode.h25 #error "The type file was generated with a different default_max_qty than this file"
Dpet_encode.h25 #error "The type file was generated with a different default_max_qty than this file"
/zcbor-latest/samples/pet/src/
Dpet_decode.c20 #error "The type file was generated with a different default_max_qty than this file"
Dpet_encode.c20 #error "The type file was generated with a different default_max_qty than this file"
/zcbor-latest/
DRELEASE_NOTES.md47 * 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
DREADME.md102 …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/
Dtest_repo_files.py11 from urllib.error import HTTPError
/zcbor-latest/tests/unit/test1_unit_tests/src/
Dmain.c237 …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/
Dzcbor.py3186 parser.error("Please specify at least one of --decode or --encode.")
3191 parser.error(