Home
last modified time | relevance | path

Searched refs:cbor_decref (Results 1 – 25 of 49) 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.c32 cbor_decref(&item); in test_serialize_uint8_embed()
41 cbor_decref(&item); in test_serialize_uint8()
50 cbor_decref(&item); in test_serialize_uint16()
60 cbor_decref(&item); in test_serialize_uint32()
72 cbor_decref(&item); in test_serialize_uint64()
82 cbor_decref(&item); in test_serialize_negint8_embed()
92 cbor_decref(&item); in test_serialize_negint8()
102 cbor_decref(&item); in test_serialize_negint16()
113 cbor_decref(&item); in test_serialize_negint32()
126 cbor_decref(&item); 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(&tag); in test_all_tag_values_supported()
[all …]
H A Dpretty_printer_test.c38 cbor_decref(&item); in test_uint()
45 cbor_decref(&item); in test_negint()
54 cbor_decref(&item); in test_definite_bytestring()
71 cbor_decref(&item); in test_indefinite_bytestring()
81 cbor_decref(&item); in test_definite_string()
98 cbor_decref(&item); in test_indefinite_string()
109 cbor_decref(&item); in test_multibyte_string()
120 cbor_decref(&item); in test_definite_array()
131 cbor_decref(&item); in test_indefinite_array()
144 cbor_decref(&item); in test_definite_map()
[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_invalid_utf()
239 cbor_decref(&string); in test_inline_creation()
[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 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()
75 cbor_decref(&float_ctrl); in test_null()
87 cbor_decref(&float_ctrl); in test_undef()
104 cbor_decref(&float_ctrl); in test_bool()
116 cbor_decref(&float_ctrl); in test_bool()
144 cbor_decref(&float_ctrl); in test_ctrl_on_float()
H A Dcallbacks_test.c70 cbor_decref(&bytestring); in test_builder_byte_string_callback_append()
103 cbor_decref(&bytestring); in test_builder_byte_string_callback_append_alloc_failure()
138 cbor_decref(&bytestring); in test_builder_byte_string_callback_append_item_alloc_failure()
173 cbor_decref(&bytestring); in test_builder_byte_string_callback_append_parent_alloc_failure()
212 cbor_decref(&string); in test_builder_string_callback_append()
245 cbor_decref(&string); in test_builder_string_callback_append_alloc_failure()
279 cbor_decref(&string); in test_builder_string_callback_append_item_alloc_failure()
313 cbor_decref(&string); in test_builder_string_callback_append_parent_alloc_failure()
344 cbor_decref(&array); in test_append_array_failure()
374 cbor_decref(&map); 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()
/freebsd/contrib/libcbor/examples/
H A Dcrash_course.c37 cbor_decref(&float_item); in item_examples()
38 cbor_decref(&string_item); in item_examples()
39 cbor_decref(&array_item); in item_examples()
64 cbor_decref(&decoded_item); in encode_decode()
65 cbor_decref(&item); in encode_decode()
87 cbor_decref(&first_array_element); in reference_counting()
91 cbor_decref(&array_item); in reference_counting()
102 cbor_decref(&item); in reference_counting()
103 cbor_decref(&item_copy); in reference_counting()
116 cbor_decref(&first_array_element); in moving_values()
[all …]
H A Dcbor_sequence.c34 cbor_decref(&int_item); in write_cbor_sequence()
39 cbor_decref(&string_item); in write_cbor_sequence()
44 cbor_decref(&array_item); in write_cbor_sequence()
86 cbor_decref(&item); in read_cbor_sequence()
/freebsd/contrib/libcbor/src/
H A Dcbor.c114 cbor_decref(&stack.top->item); in cbor_load()
185 cbor_decref(&res); in cbor_copy()
189 cbor_decref(&chunk_copy); in cbor_copy()
190 cbor_decref(&res); in cbor_copy()
193 cbor_decref(&chunk_copy); in cbor_copy()
211 cbor_decref(&res); in cbor_copy()
215 cbor_decref(&chunk_copy); in cbor_copy()
216 cbor_decref(&res); in cbor_copy()
219 cbor_decref(&chunk_copy); in cbor_copy()
237 cbor_decref(&res); 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()
433 cbor_decref(&pk_cbor); in cbor_blob_from_ec_point()
489 cbor_decref(&item); in encode_cred_attstmt()
491 cbor_decref(&x5c_cbor); in encode_cred_attstmt()
495 cbor_decref(&kv[i].key); in encode_cred_attstmt()
497 cbor_decref(&kv[i].value); in encode_cred_attstmt()
575 cbor_decref(&authdata_cbor); in encode_cred_authdata()
/freebsd/contrib/libcbor/src/cbor/
H A Dcommon.c89 void cbor_decref(cbor_item_t** item_ref) { in cbor_decref() function
106 cbor_decref(&handle[i]); in cbor_decref()
119 cbor_decref(&handle[i]); in cbor_decref()
130 if (handle[i] != NULL) cbor_decref(&handle[i]); in cbor_decref()
138 cbor_decref(&handle->key); in cbor_decref()
139 if (handle->value != NULL) cbor_decref(&handle->value); in cbor_decref()
146 cbor_decref(&item->metadata.tag_metadata.tagged_item); in cbor_decref()
160 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(&new_chunk); in cbor_builder_string_callback()
/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_attobj.c197 cbor_decref(&item); in unpack()
233 cbor_decref(&argv[i]); in pack()
236 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()
/freebsd/contrib/libcbor/oss-fuzz/
H A Dcbor_load_fuzzer.cc81 cbor_decref(&copied); in LLVMFuzzerTestOneInput()
82 cbor_decref(&item); in LLVMFuzzerTestOneInput()

12