Searched refs:cbor_typeof (Results 1 – 12 of 12) sorted by relevance
26 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_empty_map()41 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_simple_map()61 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_indef_simple_map()88 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_def_nested_map()94 assert_true(cbor_typeof(handle[0].key) == CBOR_TYPE_STRING); in test_def_nested_map()95 assert_true(cbor_typeof(handle[0].value) == CBOR_TYPE_MAP); in test_def_nested_map()97 assert_true(cbor_typeof(inner_handle[0].key) == CBOR_TYPE_STRING); in test_def_nested_map()98 assert_true(cbor_typeof(inner_handle[0].value) == CBOR_TYPE_STRING); in test_def_nested_map()112 assert_true(cbor_typeof(map) == CBOR_TYPE_MAP); in test_streamed_key_map()118 assert_true(cbor_typeof(handle[0].key) == CBOR_TYPE_STRING); in test_streamed_key_map()[all …]
25 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_embedded_tag()37 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int8_tag()49 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int16_tag()61 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int32_tag()74 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_int64_tag()86 assert_true(cbor_typeof(tag) == CBOR_TYPE_TAG); in test_nested_tag()88 assert_true(cbor_typeof(cbor_tag_item(tag)) == CBOR_TYPE_TAG); in test_nested_tag()
143 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_empty_bs()154 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_embedded_bs()173 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_short_bs1()186 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_short_bs2()198 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_half_bs()210 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_int_bs()222 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_long_bs()236 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_zero_indef()252 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_short_indef()276 assert_true(cbor_typeof(bs) == CBOR_TYPE_BYTESTRING); in test_two_indef()
25 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_empty_string()41 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_short_string()59 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_short_multibyte_string()88 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int8_string()122 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int16_string()155 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int32_string()189 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_int64_string()211 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_short_indef_string()
28 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_very_short_int()42 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_short_int()56 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_half_int()70 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_int()84 assert_true(cbor_typeof(number) == CBOR_TYPE_NEGINT); in test_long_int()
25 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_empty_array()38 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_simple_array()64 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_nested_arrays()85 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_indef_arrays()105 assert_true(cbor_typeof(arr) == CBOR_TYPE_ARRAY); in test_nested_indef_arrays()
28 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_very_short_int()48 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_short_int()62 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_half_int()76 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_int()90 assert_true(cbor_typeof(number) == CBOR_TYPE_UINT); in test_long_int()
161 switch (cbor_typeof(item)) { in cbor_copy()243 switch (cbor_typeof(item)) { in _cbor_nested_describe()
10 .. doxygenfunction:: cbor_typeof
137 cbor_type cbor_typeof(
50 cbor_type cbor_typeof(const cbor_item_t *item) { return item->type; } in cbor_typeof() function
22 switch (cbor_typeof(item)) { in cbor_serialize()