Searched refs:cbor_typeof (Results 1 – 13 of 13) sorted by relevance
28 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_empty_map()43 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_simple_map()63 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_indef_simple_map()90 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_def_nested_map()96 assert_true(cbor_typeof(handle[0].key) == CBOR_TYPE_STRING); in test_def_nested_map()97 assert_true(cbor_typeof(handle[0].value) == CBOR_TYPE_MAP); in test_def_nested_map()99 assert_true(cbor_typeof(inner_handle[0].key) == CBOR_TYPE_STRING); in test_def_nested_map()100 assert_true(cbor_typeof(inner_handle[0].value) == CBOR_TYPE_STRING); in test_def_nested_map()114 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_streamed_key_map()120 assert_true(cbor_typeof(handle[0].key) == CBOR_TYPE_STRING); in test_streamed_key_map()[all …]
32 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_embedded_tag() 44 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int8_tag() 56 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int16_tag() 68 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int32_tag() 81 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int64_tag() 93 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_nested_tag() 96 assert_true(cbor_typeof(nested_tag) == CBOR_TYPE_TAG); in test_nested_tag() 117 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_build_tag_failure() 130 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in main()
139 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_empty_bs()150 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_embedded_bs()169 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_short_bs1()182 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_short_bs2()194 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_half_bs()206 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_int_bs()218 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_long_bs()232 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_zero_indef()248 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_short_indef()272 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_two_indef()
21 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_empty_string() 37 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_short_string() 55 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_short_multibyte_string() 84 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int8_string() 118 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int16_string() 151 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int32_string() 185 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int64_string() 207 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_short_indef_string() 226 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_string_creation()
24 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_very_short_int()38 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_short_int()52 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_half_int()66 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_int()80 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_long_int()
25 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_very_short_int()45 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_short_int()59 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_half_int()73 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_int()87 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_long_int()
53 assert_true(cbor_typeof(bytestring) == CBOR_TYPE_BYTESTRING); in test_builder_byte_string_callback_append() 61 assert_true(cbor_typeof(bytestring) == CBOR_TYPE_BYTESTRING); in test_builder_byte_string_callback_append() 95 assert_true(cbor_typeof(bytestring) == CBOR_TYPE_BYTESTRING); in test_builder_byte_string_callback_append_alloc_failure() 129 assert_true(cbor_typeof(bytestring) == CBOR_TYPE_BYTESTRING); in test_builder_byte_string_callback_append_item_alloc_failure() 163 assert_true(cbor_typeof(bytestring) == CBOR_TYPE_BYTESTRING); in test_builder_byte_string_callback_append_parent_alloc_failure() 231 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_builder_string_callback_append_alloc_failure() 263 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_builder_string_callback_append_item_alloc_failure() 295 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_builder_string_callback_append_parent_alloc_failure()
20 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_empty_array()33 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_simple_array()59 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_nested_arrays()80 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_indef_arrays()100 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_nested_indef_arrays()
10 .. doxygenfunction:: cbor_typeof
23 switch (cbor_typeof(item)) { in cbor_serialize()63 switch (cbor_typeof(item)) { in cbor_serialized_size()
157 CBOR_EXPORT cbor_type cbor_typeof(
54 cbor_type cbor_typeof(const cbor_item_t *item) { return item->type; } in cbor_typeof() function
156 switch (cbor_typeof(item)) { in cbor_copy() 310 switch (cbor_typeof(item)) { in _cbor_nested_describe()