Home
last modified time | relevance | path

Searched refs:ZCBOR_ERR_WRONG_RANGE (Results 1 – 7 of 7) sorted by relevance

/zcbor-3.6.0/samples/pet/src/
Dpet_decode.c34 …day.len <= 8)) || (zcbor_error(state, ZCBOR_ERR_WRONG_RANGE), false))) || (zcbor_error(state, ZCBO… in decode_Pet()
Dpet_encode.c33 …day.len <= 8)) || (zcbor_error(state, ZCBOR_ERR_WRONG_RANGE), false))) || (zcbor_error(state, ZCBO… in encode_Pet()
/zcbor-3.6.0/tests/encode/test3_corner_cases/src/
Dmain.c52 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
56 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
66 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
74 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
78 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Numbers(output, in ZTEST()
222 zassert_equal(ZCBOR_ERR_WRONG_RANGE, res, "%d\r\n", res); in ZTEST()
394 …zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Strings(output3, sizeof(output3), &strings2, &out… in ZTEST()
396 …zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Strings(output3, sizeof(output3), &strings2, &out… in ZTEST()
918 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_Range(output, sizeof(output), &input5_inv, in ZTEST()
1018 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_encode_ValueRange(output, sizeof(output), &input3_inval, in ZTEST()
[all …]
/zcbor-3.6.0/tests/decode/test5_corner_cases/src/
Dmain.c233 zassert_equal(ZCBOR_ERR_WRONG_RANGE, ret, "%d\r\n", ret); in ZTEST()
246 zassert_equal(sizeof(numbers2.int32) == 4 ? ZCBOR_ERR_INT_SIZE : ZCBOR_ERR_WRONG_RANGE, in ZTEST()
249 zassert_equal(sizeof(numbers2.int32) == 4 ? ZCBOR_ERR_INT_SIZE : ZCBOR_ERR_WRONG_RANGE, in ZTEST()
363 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_NumberMap(payload_number_map4_inv, in ZTEST()
1280 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_ValueRange(payload_value_range3_inv, in ZTEST()
1282 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_ValueRange(payload_value_range4_inv, in ZTEST()
1284 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_ValueRange(payload_value_range5_inv, in ZTEST()
1286 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_ValueRange(payload_value_range6_inv, in ZTEST()
1294 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_ValueRange(payload_value_range10_inv, in ZTEST()
1296 zassert_equal(ZCBOR_ERR_WRONG_RANGE, cbor_decode_ValueRange(payload_value_range11_inv, in ZTEST()
[all …]
/zcbor-3.6.0/include/
Dzcbor_print.h139 ZCBOR_ERR_CASE(ZCBOR_ERR_WRONG_RANGE) in zcbor_error_str()
Dzcbor_common.h257 #define ZCBOR_ERR_WRONG_RANGE 12 macro
/zcbor-3.6.0/tests/unit/test1_unit_tests/src/
Dmain.c997 test_str(ZCBOR_ERR_WRONG_RANGE); in ZTEST()