Lines Matching +full:0 +full:x9f

15 unsigned char data1[] = {0x80, 0xFF};
22 assert_true(cbor_array_size(arr) == 0); in test_empty_array()
28 unsigned char data2[] = {0x81, 0x01, 0xFF};
39 assert_uint8(cbor_array_handle(arr)[0], 1); in test_simple_array()
40 cbor_item_t *intermediate = cbor_array_get(arr, 0); in test_simple_array()
54 unsigned char data3[] = {0x82, 0x01, 0x81, 0x01, 0xFF};
64 assert_uint8(cbor_array_handle(arr)[0], 1); in test_nested_arrays()
69 assert_uint8(cbor_array_handle(nested)[0], 1); in test_nested_arrays()
75 unsigned char test_indef_arrays_data[] = {0x9f, 0x01, 0x02, 0xFF};
85 assert_uint8(cbor_array_handle(arr)[0], 1); in test_indef_arrays()
94 unsigned char test_nested_indef_arrays_data[] = {0x9f, 0x01, 0x9f, 0x02,
95 0xFF, 0x03, 0xFF};
105 assert_uint8(cbor_array_handle(arr)[0], 1); in test_nested_indef_arrays()
110 assert_uint8(cbor_array_handle(nested)[0], 2); in test_nested_indef_arrays()
118 assert_size_equal(cbor_array_size(array), 0); in test_array_replace()
125 assert_false(cbor_array_replace(array, 0, three)); in test_array_replace()
139 assert_true(cbor_array_replace(array, 0, three)); in test_array_replace()
142 assert_uint8(cbor_move(cbor_array_get(array, 0)), 3); in test_array_replace()
163 metadata->allocated = 0; in test_array_push_overflow()
164 metadata->end_ptr = 0; in test_array_push_overflow()
183 assert_size_equal(cbor_array_allocated(array), 0); in test_array_push()
185 assert_size_equal(array->metadata.array_metadata.end_ptr, 0); in test_array_push()
193 static unsigned char simple_indef_array[] = {0x9F, 0x01, 0x02, 0xFF};