Lines Matching refs:int32

16 	int32_t int32;  in ZTEST()  local
35 zassert_false(zcbor_int32_decode(state_d, &int32), NULL); in ZTEST()
44 zassert_false(zcbor_int32_decode(state_d, &int32), NULL); in ZTEST()
708 int32_t int32 = 12345678; in ZTEST() local
713 zassert_true(zcbor_int_encode(state_e, &int32, sizeof(int32)), NULL); in ZTEST()
719 int32 = -12345678; in ZTEST()
724 zassert_true(zcbor_int_encode(state_e, &int32, sizeof(int32)), NULL); in ZTEST()
746 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int8)), NULL); in ZTEST()
747 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int16)), NULL); in ZTEST()
748 zassert_true(zcbor_int_decode(state_d, &int32, sizeof(int32)), NULL); in ZTEST()
751 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int32)), NULL); in ZTEST()
756 zassert_equal(int32, 12345678, "%d\r\n", int32); in ZTEST()
763 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int8)), NULL); in ZTEST()
764 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int16)), NULL); in ZTEST()
765 zassert_true(zcbor_int_decode(state_d, &int32, sizeof(int32)), NULL); in ZTEST()
768 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int32)), NULL); in ZTEST()
773 zassert_equal(int32, -12345678, NULL); in ZTEST()
779 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int8)), NULL); in ZTEST()
780 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int16)), NULL); in ZTEST()
781 zassert_true(zcbor_int_decode(state_d, &int32, sizeof(int32)), NULL); in ZTEST()
784 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int32)), NULL); in ZTEST()
788 zassert_equal(int32, INT16_MIN - 1, NULL); in ZTEST()
799 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int8)), NULL); in ZTEST()
800 zassert_false(zcbor_int_decode(state_d, &int32, sizeof(int16)), NULL); in ZTEST()
801 zassert_true(zcbor_int_decode(state_d, &int32, sizeof(int32)), NULL); in ZTEST()
804 zassert_false(zcbor_int_decode(state_d, &int64, sizeof(int32)), NULL); in ZTEST()
808 zassert_equal(int32, INT16_MAX + 1, NULL); in ZTEST()