Lines Matching +full:0 +full:xa5
16 unsigned char data1[] = {0x02, 0xFF};
17 unsigned char data2[] = {0x18, 0xFF, 0xFF};
18 unsigned char data3[] = {0x19, 0x01, 0xf4, 0xFF};
19 unsigned char data4[] = {0x1a, 0xa5, 0xf7, 0x02, 0xb3, 0xFF};
20 unsigned char data5[] = {0x1b, 0xa5, 0xf7, 0x02, 0xb3,
21 0xa5, 0xf7, 0x02, 0xb3, 0xFF};
30 assert_true(res.error.code == 0); in test_very_short_int()
50 assert_true(res.error.code == 0); in test_short_int()
64 assert_true(res.error.code == 0); in test_half_int()
78 assert_true(res.error.code == 0); in test_int()
92 assert_true(res.error.code == 0); in test_long_int()
110 number = cbor_load(data5, 0, &res); in test_empty_input()
139 WITH_FAILING_MALLOC({ assert_null(cbor_build_uint8(0xFF)); }); in test_int_creation()
140 WITH_FAILING_MALLOC({ assert_null(cbor_build_uint16(0xFF)); }); in test_int_creation()
141 WITH_FAILING_MALLOC({ assert_null(cbor_build_uint32(0xFF)); }); in test_int_creation()
142 WITH_FAILING_MALLOC({ assert_null(cbor_build_uint64(0xFF)); }); in test_int_creation()