Home
last modified time | relevance | path

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

12

/netbsd-src/external/mit/libcbor/dist/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()
124 cbor_decref(&item); in test_serialize_indefinite_bytestring()
[all …]
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_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_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_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()
90 cbor_decref(&float_ctrl); in test_bool()
97 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 Dtype_6_test.c28 cbor_decref(&tag); in test_embedded_tag()
40 cbor_decref(&tag); in test_int8_tag()
52 cbor_decref(&tag); in test_int16_tag()
64 cbor_decref(&tag); in test_int32_tag()
77 cbor_decref(&tag); in test_int64_tag()
91 cbor_decref(&tag); in test_nested_tag()
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_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_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_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()
/netbsd-src/external/bsd/libfido2/dist/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()
/netbsd-src/external/mit/libcbor/dist/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()
/netbsd-src/external/mit/libcbor/dist/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()
194 cbor_decref(&res); in cbor_builder_byte_string_callback()
239 cbor_decref(&res); in cbor_builder_string_callback()
/netbsd-src/external/mit/libcbor/dist/oss-fuzz/
H A Dcbor_load_fuzzer.cc33 cbor_decref(&copied); in LLVMFuzzerTestOneInput()
34 cbor_decref(&item); in LLVMFuzzerTestOneInput()
/netbsd-src/external/bsd/libfido2/dist/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_largeblob.c95 cbor_decref(&item); in unpack()
131 cbor_decref(&argv[i]); in pack()
134 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_pcsc.c69 cbor_decref(&item); in unpack()
106 cbor_decref(&argv[i]); in pack()
109 cbor_decref(&array); in pack()
H A Dfuzz_credman.c115 cbor_decref(&item); in unpack()
154 cbor_decref(&argv[i]); in pack()
157 cbor_decref(&array); in pack()
/netbsd-src/external/mit/libcbor/dist/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

12