Searched refs:zcbor_peek_error (Results 1 – 8 of 8) sorted by relevance
| /zcbor-latest/samples/hello_world/src/ |
| D | main.c | 25 printf("Encoding failed: %d\r\n", zcbor_peek_error(encoding_state)); in main() 36 printf("Decoding failed: %d\r\n", zcbor_peek_error(decoding_state)); in main()
|
| /zcbor-latest/tests/unit/test1_unit_tests/src/ |
| D | main.c | 277 zassert_equal(ZCBOR_ERR_NO_PAYLOAD, zcbor_peek_error(state_e), NULL); in ZTEST() 279 zassert_equal(ZCBOR_SUCCESS, zcbor_peek_error(state_e), NULL); in ZTEST() 896 zassert_equal(ZCBOR_ERR_INVALID_VALUE_ENCODING, zcbor_peek_error(state_e), NULL); in ZTEST() 914 …rt_equal(ZCBOR_ERR_INVALID_VALUE_ENCODING, zcbor_peek_error(state_d), "%s\n", zcbor_error_str(zcbo… in ZTEST() 916 …rt_equal(ZCBOR_ERR_INVALID_VALUE_ENCODING, zcbor_peek_error(state_d), "%s\n", zcbor_error_str(zcbo… in ZTEST() 1044 zassert_true(ret, "err: %d\n", zcbor_peek_error(state_d)); in ZTEST() 1050 zassert_true(ret, "err: %d\n", zcbor_peek_error(state_d)); in ZTEST() 1083 zassert_true(ret, "err: %d\n", zcbor_peek_error(state_d)); in ZTEST() 1155 zassert_true(ret, "err: %d\n", zcbor_peek_error(state)); in decode_inner_map() 1231 …zassert_equal(ZCBOR_ERR_ELEM_NOT_FOUND, zcbor_peek_error(state_d), "err: %d\n", zcbor_peek_error(s… in ZTEST() [all …]
|
| /zcbor-latest/tests/unit/test2_cpp/src/ |
| D | main.cpp | 67 printf("Encode error: %d\r\n", zcbor_peek_error(state_e)); in main() 104 printf("Decode error: %d\r\n", zcbor_peek_error(state_d)); in main()
|
| /zcbor-latest/samples/pet/src/ |
| D | pet_decode.c | 26 zcbor_log("%s error: %s\r\n", func, zcbor_error_str(zcbor_peek_error(state))); \
|
| D | pet_encode.c | 26 zcbor_log("%s error: %s\r\n", func, zcbor_error_str(zcbor_peek_error(state))); \
|
| D | main.c | 72 printf("Encoding failed for pet2: %d\r\n", zcbor_peek_error(encoding_state)); in get_pet2()
|
| /zcbor-latest/include/ |
| D | zcbor_common.h | 373 static inline int zcbor_peek_error(const zcbor_state_t *state) in zcbor_peek_error() function
|
| /zcbor-latest/ |
| D | RELEASE_NOTES.md | 320 * Add zcbor_peek_error() for reading the error value without clearing it.
|