Home
last modified time | relevance | path

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

12

/freebsd/contrib/libcbor/test/
H A Dcopy_test.c17 cbor_decref(&item); in test_uints()
18 cbor_decref(&copy); in test_uints()
22 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()
39 cbor_decref(&item); in test_negints()
40 cbor_decref(&copy); in test_negints()
[all …]
H A Dcbor_serialize_test.c33 cbor_decref(&item); in test_serialize_uint8_embed()
42 cbor_decref(&item); in test_serialize_uint8()
51 cbor_decref(&item); in test_serialize_uint16()
61 cbor_decref(&item); in test_serialize_uint32()
73 cbor_decref(&item); in test_serialize_uint64()
83 cbor_decref(&item); in test_serialize_negint8_embed()
93 cbor_decref(&item); in test_serialize_negint8()
103 cbor_decref(&item); in test_serialize_negint16()
114 cbor_decref(&item); in test_serialize_negint32()
127 cbor_decref( in test_serialize_negint64()
[all...]
H A Dtag_test.c22 cbor_decref(&tag); in test_refcounting()
25 cbor_decref(&item); in test_refcounting()
35 cbor_decref(&tag); in test_embedded_tag()
47 cbor_decref(&tag); in test_int8_tag()
59 cbor_decref(&tag); in test_int16_tag()
71 cbor_decref(&tag); in test_int32_tag()
84 cbor_decref(&tag); in test_int64_tag()
99 cbor_decref(&tag); in test_nested_tag()
101 cbor_decref(&nested_tag); in test_nested_tag()
119 cbor_decref( in test_build_tag_failure()
[all...]
H A Darray_test.c24 cbor_decref(&arr); in test_empty_array()
46 cbor_decref(&new_val); in test_simple_array()
48 cbor_decref(&arr); in test_simple_array()
49 cbor_decref(&intermediate); in test_simple_array()
71 cbor_decref(&arr); in test_nested_arrays()
90 cbor_decref(&arr); in test_indef_arrays()
112 cbor_decref(&arr); in test_nested_indef_arrays()
145 cbor_decref(&one); in test_array_replace()
146 cbor_decref(&three); in test_array_replace()
147 cbor_decref(&array); in test_array_replace()
[all …]
H A Dmap_test.c33 cbor_decref(&map); in test_empty_map()
53 cbor_decref(&map); in test_simple_map()
73 cbor_decref(&map); in test_indef_simple_map()
103 cbor_decref(&map); in test_def_nested_map()
125 cbor_decref(&map); in test_streamed_key_map()
151 cbor_decref(&map); in test_streamed_kv_map()
178 cbor_decref(&map); in test_streamed_streamed_kv_map()
189 cbor_decref(&map); in test_map_add_full()
190 cbor_decref(&one); in test_map_add_full()
191 cbor_decref(&two); in test_map_add_full()
[all …]
H A Dbytestring_test.c143 cbor_decref(&bs); in test_empty_bs()
156 cbor_decref(&bs); in test_embedded_bs()
175 cbor_decref(&bs); in test_short_bs1()
187 cbor_decref(&bs); in test_short_bs2()
199 cbor_decref(&bs); in test_half_bs()
211 cbor_decref(&bs); in test_int_bs()
223 cbor_decref(&bs); in test_long_bs()
237 cbor_decref(&bs); in test_zero_indef()
259 cbor_decref(&bs); in test_short_indef()
288 cbor_decref(&bs); in test_two_indef()
[all …]
H A Dstring_test.c26 cbor_decref(&string); in test_empty_string()
43 cbor_decref(&string); in test_short_string()
61 cbor_decref(&string); in test_short_multibyte_string()
94 cbor_decref(&string); in test_int8_string()
128 cbor_decref(&string); in test_int16_string()
161 cbor_decref(&string); in test_int32_string()
195 cbor_decref(&string); in test_int64_string()
216 cbor_decref(&string); in test_short_indef_string()
233 cbor_decref(&string); in test_string_creation()
239 cbor_decref( in test_string_creation()
[all...]
H A Duint_test.c33 cbor_decref(&number); in test_very_short_int()
53 cbor_decref(&number); in test_short_int()
67 cbor_decref(&number); in test_half_int()
81 cbor_decref(&number); in test_int()
95 cbor_decref(&number); in test_long_int()
103 cbor_decref(&number); in test_refcounting()
105 cbor_decref(&number); in test_refcounting()
118 cbor_decref(&number); in test_inline_creation()
122 cbor_decref(&number); in test_inline_creation()
126 cbor_decref(&number); in test_inline_creation()
[all …]
H A Dfloat_ctrl_test.c34 cbor_decref(&float_ctrl); in test_float2()
47 cbor_decref(&float_ctrl); in test_float4()
63 cbor_decref(&float_ctrl); in test_float8()
73 cbor_decref(&float_ctrl); in test_null()
83 cbor_decref(&float_ctrl); in test_undef()
98 cbor_decref(&float_ctrl); in test_bool()
108 cbor_decref(&float_ctrl); in test_bool()
H A Dcallbacks_test.c69 cbor_decref(&bytestring); in test_builder_byte_string_callback_append()
101 cbor_decref(&bytestring); in test_builder_byte_string_callback_append_alloc_failure()
135 cbor_decref(&bytestring); in test_builder_byte_string_callback_append_item_alloc_failure()
169 cbor_decref(&bytestring); in test_builder_byte_string_callback_append_parent_alloc_failure()
206 cbor_decref(&string); in test_builder_string_callback_append()
237 cbor_decref(&string); in test_builder_string_callback_append_alloc_failure()
269 cbor_decref(&string); in test_builder_string_callback_append_item_alloc_failure()
301 cbor_decref(&string); in test_builder_string_callback_append_parent_alloc_failure()
330 cbor_decref(&array); in test_append_array_failure()
359 cbor_decref( in test_append_map_failure()
[all...]
H A Dnegint_test.c32 cbor_decref(&number); in test_very_short_int()
46 cbor_decref(&number); in test_short_int()
60 cbor_decref(&number); in test_half_int()
74 cbor_decref(&number); in test_int()
88 cbor_decref(&number); in test_long_int()
H A Darray_encoders_test.c40 cbor_decref(&array); in test_indef_array_encoding()
41 cbor_decref(&one); in test_indef_array_encoding()
42 cbor_decref(&two); in test_indef_array_encoding()
H A Dpretty_printer_test.c38 cbor_decref(&item); in main()
45 cbor_decref(&item);
54 cbor_decref(&item);
71 cbor_decref(&item);
81 cbor_decref(&item);
98 cbor_decref(&item);
109 cbor_decref(&item);
120 cbor_decref(&item);
131 cbor_decref(&item);
144 cbor_decref(
[all...]
/freebsd/contrib/libcbor/src/
H A Dcbor.c112 cbor_decref(&stack.top->item); in cbor_load()
175 cbor_decref(&res); in cbor_copy()
179 cbor_decref(&chunk_copy); in cbor_copy()
180 cbor_decref(&res); in cbor_copy()
183 cbor_decref(&chunk_copy); in cbor_copy()
201 cbor_decref(&res); in cbor_copy()
205 cbor_decref(&chunk_copy); in cbor_copy()
206 cbor_decref(&res); in cbor_copy()
209 cbor_decref(&chunk_copy); in cbor_copy()
227 cbor_decref( in cbor_copy()
[all...]
/freebsd/contrib/libfido2/src/
H A Dcbor.c162 cbor_decref(&item); in cbor_parse_reply()
172 cbor_decref(&item[i]); in cbor_vector_free()
249 cbor_decref(&pair.key); in cbor_add_bytestring()
251 cbor_decref(&pair.value); in cbor_add_bytestring()
278 cbor_decref(&pair.key); in cbor_add_string()
280 cbor_decref(&pair.value); in cbor_add_string()
307 cbor_decref(&pair.key); in cbor_add_bool()
309 cbor_decref(&pair.value); in cbor_add_bool()
336 cbor_decref(&pair.key); in cbor_add_uint8()
338 cbor_decref(&pair.value); in cbor_add_uint8()
[all …]
H A Du2f.c134 cbor_decref(&item); in authdata_fake()
138 cbor_decref(&item); in authdata_fake()
432 cbor_decref(&pk_cbor); in cbor_blob_from_ec_point()
488 cbor_decref(&item); in encode_cred_attstmt()
490 cbor_decref(&x5c_cbor); in encode_cred_attstmt()
494 cbor_decref(&kv[i].key); in encode_cred_attstmt()
496 cbor_decref(&kv[i].value); in encode_cred_attstmt()
574 cbor_decref(&authdata_cbor); in encode_cred_authdata()
H A Dlargeblob.c255 cbor_decref(&item); in largeblob_array_load()
687 cbor_decref(&array); in largeblob_add()
721 cbor_decref(&array); in largeblob_drop()
765 cbor_decref(&item); in fido_dev_largeblob_get()
809 cbor_decref(&item); in fido_dev_largeblob_set()
873 cbor_decref(&item); in fido_dev_largeblob_get_array()
899 cbor_decref(&item); in fido_dev_largeblob_set_array()
/freebsd/contrib/libcbor/src/cbor/
H A Dcommon.c83 void cbor_decref(cbor_item_t **item_ref) { in cbor_decref() function
100 cbor_decref(&handle[i]); in cbor_decref()
114 cbor_decref(&handle[i]); in cbor_decref()
126 if (handle[i] != NULL) cbor_decref(&handle[i]); in cbor_decref()
134 cbor_decref(&handle->key); in cbor_decref()
135 if (handle->value != NULL) cbor_decref(&handle->value); in cbor_decref()
142 cbor_decref(&item->metadata.tag_metadata.tagged_item); in cbor_decref()
156 void cbor_intermediate_decref(cbor_item_t *item) { cbor_decref(&item); } in cbor_intermediate_decref()
/freebsd/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c46 cbor_decref(&item); in _cbor_builder_append()
49 cbor_decref(&item); in _cbor_builder_append()
61 cbor_decref(&item); in _cbor_builder_append()
80 cbor_decref(&item); in _cbor_builder_append()
84 cbor_decref(&item); in _cbor_builder_append()
102 cbor_decref(&item); /* Give up on our reference */ in _cbor_builder_append()
110 cbor_decref(&item); in _cbor_builder_append()
137 cbor_decref(&res); \
242 cbor_decref(&new_chunk); in cbor_builder_byte_string_callback()
282 cbor_decref( in cbor_builder_string_callback()
[all...]
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_netlink.c54 cbor_decref(&item); in unpack()
88 cbor_decref(&argv[i]); in pack()
91 cbor_decref(&array); in pack()
H A Dfuzz_hid.c82 cbor_decref(&item); in unpack()
117 cbor_decref(&argv[i]); in pack()
120 cbor_decref(&array); in pack()
H A Dfuzz_largeblob.c95 cbor_decref(&item); in unpack()
131 cbor_decref(&argv[i]); in pack()
134 cbor_decref(&array); in pack()
H A Dfuzz_pcsc.c69 cbor_decref(&item); in unpack()
106 cbor_decref(&argv[i]); in pack()
109 cbor_decref(&array); in pack()
/freebsd/contrib/libcbor/oss-fuzz/
H A Dcbor_load_fuzzer.cc81 cbor_decref(&copied); in LLVMFuzzerTestOneInput()
82 cbor_decref(&item); in LLVMFuzzerTestOneInput()
/freebsd/contrib/libcbor/doc/source/api/
H A Ditem_reference_counting.rst30 …ers any pointers to items with refcount zero invalid immediately after calling :func:`cbor_decref`.
34 .. doxygenfunction:: cbor_decref

12