Home
last modified time | relevance | path

Searched refs:cbor_decref (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-13.1/contrib/libcbor/test/
H A Dcopy_test.c22 cbor_decref(&item); in test_uints()
23 cbor_decref(&copy); in test_uints()
27 cbor_decref(&item); in test_uints()
28 cbor_decref(&copy); in test_uints()
32 cbor_decref(&item); in test_uints()
33 cbor_decref(&copy); in test_uints()
37 cbor_decref(&item); in test_uints()
38 cbor_decref(&copy); in test_uints()
44 cbor_decref(&item); in test_negints()
45 cbor_decref(&copy); in test_negints()
[all …]
H A Dcbor_serialize_test.c27 cbor_decref(&item); in test_serialize_uint8()
35 cbor_decref(&item); in test_serialize_uint16()
44 cbor_decref(&item); in test_serialize_uint32()
55 cbor_decref(&item); in test_serialize_uint64()
64 cbor_decref(&item); in test_serialize_negint8()
73 cbor_decref(&item); in test_serialize_negint16()
83 cbor_decref(&item); in test_serialize_negint32()
95 cbor_decref(&item); in test_serialize_negint64()
106 cbor_decref(&item); in test_serialize_definite_bytestring()
173 cbor_decref(&one); in test_serialize_definite_array()
[all …]
H A Dtype_6_test.c27 cbor_decref(&tag); in test_refcounting()
30 cbor_decref(&item); in test_refcounting()
40 cbor_decref(&tag); in test_embedded_tag()
52 cbor_decref(&tag); in test_int8_tag()
64 cbor_decref(&tag); in test_int16_tag()
76 cbor_decref(&tag); in test_int32_tag()
89 cbor_decref(&tag); in test_int64_tag()
104 cbor_decref(&tag); in test_nested_tag()
106 cbor_decref(&nested_tag); in test_nested_tag()
H A Dtype_0_test.c36 cbor_decref(&number); in test_very_short_int()
56 cbor_decref(&number); in test_short_int()
70 cbor_decref(&number); in test_half_int()
84 cbor_decref(&number); in test_int()
98 cbor_decref(&number); in test_long_int()
106 cbor_decref(&number); in test_refcounting()
108 cbor_decref(&number); in test_refcounting()
121 cbor_decref(&number); in test_inline_creation()
125 cbor_decref(&number); in test_inline_creation()
129 cbor_decref(&number); in test_inline_creation()
[all …]
H A Dtype_3_test.c30 cbor_decref(&string); in test_empty_string()
47 cbor_decref(&string); in test_short_string()
65 cbor_decref(&string); in test_short_multibyte_string()
98 cbor_decref(&string); in test_int8_string()
132 cbor_decref(&string); in test_int16_string()
165 cbor_decref(&string); in test_int32_string()
199 cbor_decref(&string); in test_int64_string()
220 cbor_decref(&string); in test_short_indef_string()
227 cbor_decref(&string); in test_inline_creation()
H A Dtype_2_test.c147 cbor_decref(&bs); in test_empty_bs()
160 cbor_decref(&bs); in test_embedded_bs()
179 cbor_decref(&bs); in test_short_bs1()
191 cbor_decref(&bs); in test_short_bs2()
203 cbor_decref(&bs); in test_half_bs()
215 cbor_decref(&bs); in test_int_bs()
227 cbor_decref(&bs); in test_long_bs()
241 cbor_decref(&bs); in test_zero_indef()
263 cbor_decref(&bs); in test_short_indef()
292 cbor_decref(&bs); in test_two_indef()
[all …]
H A Dtype_7_test.c32 cbor_decref(&float_ctrl); in test_float2()
45 cbor_decref(&float_ctrl); in test_float4()
59 cbor_decref(&float_ctrl); in test_float8()
69 cbor_decref(&float_ctrl); in test_null()
79 cbor_decref(&float_ctrl); in test_undef()
92 cbor_decref(&float_ctrl); in test_bool()
101 cbor_decref(&float_ctrl); in test_bool()
H A Dtype_4_test.c29 cbor_decref(&arr); in test_empty_array()
51 cbor_decref(&new_val); in test_simple_array()
53 cbor_decref(&arr); in test_simple_array()
54 cbor_decref(&intermediate); in test_simple_array()
76 cbor_decref(&arr); in test_nested_arrays()
95 cbor_decref(&arr); in test_indef_arrays()
117 cbor_decref(&arr); in test_nested_indef_arrays()
H A Dmemory_allocation_test.c197 cbor_decref(&chunk); in test_bytestring_add_chunk()
198 cbor_decref(&bytestring); in test_bytestring_add_chunk()
215 cbor_decref(&chunk); in test_string_add_chunk()
216 cbor_decref(&string); in test_string_add_chunk()
232 cbor_decref(&string); in test_array_push()
233 cbor_decref(&array); in test_array_push()
250 cbor_decref(&map); in test_map_add()
251 cbor_decref(&key); in test_map_add()
252 cbor_decref(&value); in test_map_add()
H A Dtype_1_test.c36 cbor_decref(&number); in test_very_short_int()
50 cbor_decref(&number); in test_short_int()
64 cbor_decref(&number); in test_half_int()
78 cbor_decref(&number); in test_int()
92 cbor_decref(&number); in test_long_int()
H A Dtype_5_test.c31 cbor_decref(&map); in test_empty_map()
51 cbor_decref(&map); in test_simple_map()
71 cbor_decref(&map); in test_indef_simple_map()
101 cbor_decref(&map); in test_def_nested_map()
123 cbor_decref(&map); in test_streamed_key_map()
149 cbor_decref(&map); in test_streamed_kv_map()
176 cbor_decref(&map); in test_streamed_streamed_kv_map()
H A Dtype_4_encoders_test.c43 cbor_decref(&array); in test_indef_array_encoding()
44 cbor_decref(&one); in test_indef_array_encoding()
45 cbor_decref(&two); in test_indef_array_encoding()
H A Dpretty_printer_test.c29 cbor_decref(&item); in test_pretty_printer()
34 cbor_decref(&item); in test_pretty_printer()
/freebsd-13.1/contrib/libcbor/src/cbor/
H A Dcommon.c79 void cbor_decref(cbor_item_t **item_ref) { in cbor_decref() function
96 cbor_decref(&handle[i]); in cbor_decref()
110 cbor_decref(&handle[i]); in cbor_decref()
122 if (handle[i] != NULL) cbor_decref(&handle[i]); in cbor_decref()
130 cbor_decref(&handle->key); in cbor_decref()
131 if (handle->value != NULL) cbor_decref(&handle->value); in cbor_decref()
138 cbor_decref(&item->metadata.tag_metadata.tagged_item); in cbor_decref()
153 void cbor_intermediate_decref(cbor_item_t *item) { cbor_decref(&item); } in cbor_intermediate_decref()
/freebsd-13.1/contrib/libfido2/src/
H A Dcbor.c161 cbor_decref(&item); in cbor_parse_reply()
390 cbor_decref(&map); in cbor_flatten_vector()
425 cbor_decref(&flat); in cbor_build_frame()
442 cbor_decref(&item); in cbor_encode_rp_entity()
463 cbor_decref(&item); in cbor_encode_user_entity()
512 cbor_decref(&body); in cbor_encode_pubkey_param()
550 cbor_decref(&key); in cbor_encode_pubkey_list()
556 cbor_decref(&key); in cbor_encode_pubkey_list()
631 cbor_decref(&item); in cbor_encode_cred_opt()
647 cbor_decref(&item); in cbor_encode_assert_opt()
[all …]
H A Dlargeblob.c243 cbor_decref(&item); in largeblob_array_load()
672 cbor_decref(&array); in largeblob_add()
705 cbor_decref(&array); in largeblob_drop()
748 cbor_decref(&item); in fido_dev_largeblob_get()
791 cbor_decref(&item); in fido_dev_largeblob_set()
853 cbor_decref(&item); in fido_dev_largeblob_get_array()
878 cbor_decref(&item); in fido_dev_largeblob_set_array()
/freebsd-13.1/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c42 cbor_decref(&item); in _cbor_builder_append()
46 cbor_decref(&item); in _cbor_builder_append()
76 cbor_decref(&item); /* Give up on our reference */ in _cbor_builder_append()
83 cbor_decref(&item); in _cbor_builder_append()
101 cbor_decref(&res); \
201 cbor_decref(&res); in cbor_builder_byte_string_callback()
251 cbor_decref(&res); in cbor_builder_string_callback()
/freebsd-13.1/contrib/libcbor/oss-fuzz/
H A Dcbor_load_fuzzer.cc33 cbor_decref(&copied); in LLVMFuzzerTestOneInput()
34 cbor_decref(&item); in LLVMFuzzerTestOneInput()
/freebsd-13.1/contrib/libfido2/fuzz/
H A Dfuzz_netlink.c140 cbor_decref(&item); in unpack()
174 cbor_decref(&argv[i]); in pack()
177 cbor_decref(&array); in pack()
H A Dfuzz_hid.c78 cbor_decref(&item); in unpack()
112 cbor_decref(&argv[i]); in pack()
115 cbor_decref(&array); in pack()
H A Dfuzz_largeblob.c94 cbor_decref(&item); in unpack()
130 cbor_decref(&argv[i]); in pack()
133 cbor_decref(&array); in pack()
H A Dfuzz_credman.c114 cbor_decref(&item); in unpack()
153 cbor_decref(&argv[i]); in pack()
156 cbor_decref(&array); in pack()
/freebsd-13.1/contrib/libcbor/doc/source/api/
H A Ditem_reference_counting.rst33 …any pointers to items with refcount zero invalid immediately after calling the :func:`cbor_decref`.
37 .. doxygenfunction:: cbor_decref
/freebsd-13.1/contrib/libcbor/examples/
H A Dcreate_items.c32 cbor_decref(&root); in main()
H A Dreadfile.c75 cbor_decref(&item); in main()

12