/freebsd/contrib/libcbor/test/ |
H A D | copy_test.c | 14 static void test_uints(void **_CBOR_UNUSED(_state)) { in test_uints() 36 static void test_negints(void **_CBOR_UNUSED(_state)) { in test_negints() 81 static void test_def_string(void **_CBOR_UNUSED(_state)) { in test_def_string() 103 static void test_def_array(void **_CBOR_UNUSED(_state)) { in test_def_array() 123 static void test_def_map(void **_CBOR_UNUSED(_state)) { in test_def_map() 136 static void test_indef_map(void **_CBOR_UNUSED(_state)) { in test_indef_map() 149 static void test_tag(void **_CBOR_UNUSED(_state)) { in test_tag() 158 static void test_ctrls(void **_CBOR_UNUSED(_state)) { in test_ctrls() 165 static void test_floats(void **_CBOR_UNUSED(_state)) { in test_floats() 231 void **_CBOR_UNUSED(_state)) { in test_bytestring_second_chunk_alloc_failure() [all …]
|
H A D | cbor_stream_decode_test.c | 12 static void test_no_data(void **_CBOR_UNUSED(_state)) { in test_no_data() 17 static void test_uint8_embedded_decoding(void **_CBOR_UNUSED(_state)) { in test_uint8_embedded_decoding() 36 static void test_uint8_decoding(void **_CBOR_UNUSED(_state)) { in test_uint8_decoding() 47 static void test_uint16_decoding(void **_CBOR_UNUSED(_state)) { in test_uint16_decoding() 55 static void test_uint32_decoding(void **_CBOR_UNUSED(_state)) { in test_uint32_decoding() 64 static void test_uint64_decoding(void **_CBOR_UNUSED(_state)) { in test_uint64_decoding() 91 static void test_negint8_decoding(void **_CBOR_UNUSED(_state)) { in test_negint8_decoding() 102 static void test_negint16_decoding(void **_CBOR_UNUSED(_state)) { in test_negint16_decoding() 110 static void test_negint32_decoding(void **_CBOR_UNUSED(_state)) { in test_negint32_decoding() 653 static void test_true_decoding(void **_CBOR_UNUSED(_state)) { in test_true_decoding() [all …]
|
H A D | cbor_serialize_test.c | 36 static void test_serialize_uint8(void **_CBOR_UNUSED(_state)) { in test_serialize_uint8() 162 void **_CBOR_UNUSED(_state)) { in test_serialize_bytestring_size_overflow() 186 void **_CBOR_UNUSED(_state)) { in test_serialize_indefinite_bytestring_no_space() 222 void **_CBOR_UNUSED(_state)) { in test_serialize_definite_string_4b_header() 235 void **_CBOR_UNUSED(_state)) { in test_serialize_definite_string_8b_header() 282 void **_CBOR_UNUSED(_state)) { in test_serialize_indefinite_string_no_space() 556 void **_CBOR_UNUSED(_state)) { in test_auto_serialize_zero_len_bytestring() 579 void **_CBOR_UNUSED(_state)) { in test_auto_serialize_zero_len_bytestring_chunk() 594 void **_CBOR_UNUSED(_state)) { in test_auto_serialize_zero_len_string_chunk() 619 void **_CBOR_UNUSED(_state)) { in test_auto_serialize_zero_len_indef_array() [all …]
|
H A D | bytestring_test.c | 136 static void test_empty_bs(void **_CBOR_UNUSED(_state)) { in test_empty_bs() 147 static void test_embedded_bs(void **_CBOR_UNUSED(_state)) { in test_embedded_bs() 166 static void test_short_bs1(void **_CBOR_UNUSED(_state)) { in test_short_bs1() 179 static void test_short_bs2(void **_CBOR_UNUSED(_state)) { in test_short_bs2() 191 static void test_half_bs(void **_CBOR_UNUSED(_state)) { in test_half_bs() 203 static void test_int_bs(void **_CBOR_UNUSED(_state)) { in test_int_bs() 215 static void test_long_bs(void **_CBOR_UNUSED(_state)) { in test_long_bs() 229 static void test_zero_indef(void **_CBOR_UNUSED(_state)) { in test_zero_indef() 245 static void test_short_indef(void **_CBOR_UNUSED(_state)) { in test_short_indef() 268 static void test_two_indef(void **_CBOR_UNUSED(_state)) { in test_two_indef() [all …]
|
H A D | string_test.c | 18 static void test_empty_string(void **_CBOR_UNUSED(_state)) { in test_empty_string() 34 static void test_short_string(void **_CBOR_UNUSED(_state)) { in test_short_string() 81 static void test_int8_string(void **_CBOR_UNUSED(_state)) { in test_int8_string() 115 static void test_int16_string(void **_CBOR_UNUSED(_state)) { in test_int16_string() 148 static void test_int32_string(void **_CBOR_UNUSED(_state)) { in test_int32_string() 182 static void test_int64_string(void **_CBOR_UNUSED(_state)) { in test_int64_string() 220 static void test_invalid_utf(void **_CBOR_UNUSED(_state)) { in test_invalid_utf() 236 static void test_inline_creation(void **_CBOR_UNUSED(_state)) { in test_inline_creation() 242 static void test_string_creation(void **_CBOR_UNUSED(_state)) { in test_string_creation() 258 static void test_string_add_chunk(void **_CBOR_UNUSED(_state)) { in test_string_add_chunk() [all …]
|
H A D | uint_test.c | 23 static void test_very_short_int(void **_CBOR_UNUSED(_state)) { in test_very_short_int() 37 static void test_incomplete_data(void **_CBOR_UNUSED(_state)) { in test_incomplete_data() 43 static void test_short_int(void **_CBOR_UNUSED(_state)) { in test_short_int() 57 static void test_half_int(void **_CBOR_UNUSED(_state)) { in test_half_int() 71 static void test_int(void **_CBOR_UNUSED(_state)) { in test_int() 85 static void test_long_int(void **_CBOR_UNUSED(_state)) { in test_long_int() 99 static void test_refcounting(void **_CBOR_UNUSED(_state)) { in test_refcounting() 109 static void test_empty_input(void **_CBOR_UNUSED(_state)) { in test_empty_input() 115 static void test_inline_creation(void **_CBOR_UNUSED(_state)) { in test_inline_creation() 133 static void test_int_creation(void **_CBOR_UNUSED(_state)) { in test_int_creation()
|
H A D | float_ctrl_encoders_test.c | 14 static void test_bools(void **_CBOR_UNUSED(_state)) { in test_bools() 21 static void test_null(void **_CBOR_UNUSED(_state)) { in test_null() 26 static void test_undef(void **_CBOR_UNUSED(_state)) { in test_undef() 31 static void test_break(void **_CBOR_UNUSED(_state)) { in test_break() 54 static void test_half(void **_CBOR_UNUSED(_state)) { in test_half() 120 static void test_half_special(void **_CBOR_UNUSED(_state)) { in test_half_special() 134 static void test_half_infinity(void **_CBOR_UNUSED(_state)) { in test_half_infinity() 144 static void test_float(void **_CBOR_UNUSED(_state)) { in test_float() 169 static void test_double(void **_CBOR_UNUSED(_state)) { in test_double()
|
H A D | tag_test.c | 17 static void test_refcounting(void **_CBOR_UNUSED(_state)) { in test_refcounting() 30 static void test_embedded_tag(void **_CBOR_UNUSED(_state)) { in test_embedded_tag() 42 static void test_int8_tag(void **_CBOR_UNUSED(_state)) { in test_int8_tag() 54 static void test_int16_tag(void **_CBOR_UNUSED(_state)) { in test_int16_tag() 66 static void test_int32_tag(void **_CBOR_UNUSED(_state)) { in test_int32_tag() 79 static void test_int64_tag(void **_CBOR_UNUSED(_state)) { in test_int64_tag() 91 static void test_nested_tag(void **_CBOR_UNUSED(_state)) { in test_nested_tag() 105 static void test_all_tag_values_supported(void **_CBOR_UNUSED(_state)) { in test_all_tag_values_supported() 127 static void test_build_tag(void **_CBOR_UNUSED(_state)) { in test_build_tag() 137 static void test_build_tag_failure(void **_CBOR_UNUSED(_state)) { in test_build_tag_failure() [all …]
|
H A D | pretty_printer_test.c | 35 static void test_uint(void **_CBOR_UNUSED(_state)) { in test_uint() 41 static void test_negint(void **_CBOR_UNUSED(_state)) { in test_negint() 74 static void test_definite_string(void **_CBOR_UNUSED(_state)) { in test_definite_string() 84 static void test_indefinite_string(void **_CBOR_UNUSED(_state)) { in test_indefinite_string() 101 static void test_multibyte_string(void **_CBOR_UNUSED(_state)) { in test_multibyte_string() 112 static void test_definite_array(void **_CBOR_UNUSED(_state)) { in test_definite_array() 123 static void test_indefinite_array(void **_CBOR_UNUSED(_state)) { in test_indefinite_array() 134 static void test_definite_map(void **_CBOR_UNUSED(_state)) { in test_definite_map() 147 static void test_indefinite_map(void **_CBOR_UNUSED(_state)) { in test_indefinite_map() 160 static void test_tag(void **_CBOR_UNUSED(_state)) { in test_tag() [all …]
|
H A D | map_test.c | 25 static void test_empty_map(void **_CBOR_UNUSED(_state)) { in test_empty_map() 40 static void test_simple_map(void **_CBOR_UNUSED(_state)) { in test_simple_map() 60 static void test_indef_simple_map(void **_CBOR_UNUSED(_state)) { in test_indef_simple_map() 87 static void test_def_nested_map(void **_CBOR_UNUSED(_state)) { in test_def_nested_map() 111 static void test_streamed_key_map(void **_CBOR_UNUSED(_state)) { in test_streamed_key_map() 133 static void test_streamed_kv_map(void **_CBOR_UNUSED(_state)) { in test_streamed_kv_map() 160 static void test_streamed_streamed_kv_map(void **_CBOR_UNUSED(_state)) { in test_streamed_streamed_kv_map() 182 static void test_map_add_full(void **_CBOR_UNUSED(_state)) { in test_map_add_full() 213 static void test_map_creation(void **_CBOR_UNUSED(_state)) { in test_map_creation() 221 static void test_map_add(void **_CBOR_UNUSED(_state)) { in test_map_add() [all …]
|
H A D | bad_inputs_test.c | 19 static void test_1(void **_CBOR_UNUSED(_state)) { in test_1() 27 static void test_2(void **_CBOR_UNUSED(_state)) { in test_2() 35 static void test_3(void **_CBOR_UNUSED(_state)) { in test_3() 44 static void test_4(void **_CBOR_UNUSED(_state)) { in test_4() 52 static void test_5(void **_CBOR_UNUSED(_state)) { in test_5() 62 static void test_6(void **_CBOR_UNUSED(_state)) { in test_6() 74 static void test_7(void **_CBOR_UNUSED(_state)) { in test_7() 87 static void test_8(void **_CBOR_UNUSED(_state)) { in test_8() 95 static void test_9(void **_CBOR_UNUSED(_state)) { in test_9()
|
H A D | array_test.c | 17 static void test_empty_array(void **_CBOR_UNUSED(_state)) { in test_empty_array() 30 static void test_simple_array(void **_CBOR_UNUSED(_state)) { in test_simple_array() 56 static void test_nested_arrays(void **_CBOR_UNUSED(_state)) { in test_nested_arrays() 77 static void test_indef_arrays(void **_CBOR_UNUSED(_state)) { in test_indef_arrays() 97 static void test_nested_indef_arrays(void **_CBOR_UNUSED(_state)) { in test_nested_indef_arrays() 116 static void test_array_replace(void **_CBOR_UNUSED(_state)) { in test_array_replace() 150 static void test_array_push_overflow(void **_CBOR_UNUSED(_state)) { in test_array_push_overflow() 168 static void test_array_creation(void **_CBOR_UNUSED(_state)) { in test_array_creation() 176 static void test_array_push(void **_CBOR_UNUSED(_state)) { in test_array_push() 194 static void test_indef_array_decode(void **_CBOR_UNUSED(_state)) { in test_indef_array_decode()
|
H A D | negint_encoders_test.c | 13 static void test_embedded_negint8(void **_CBOR_UNUSED(_state)) { in test_embedded_negint8() 18 static void test_negint8(void **_CBOR_UNUSED(_state)) { in test_negint8() 24 static void test_negint16(void **_CBOR_UNUSED(_state)) { in test_negint16() 30 static void test_negint32(void **_CBOR_UNUSED(_state)) { in test_negint32() 37 static void test_negint64(void **_CBOR_UNUSED(_state)) { in test_negint64() 48 static void test_unspecified(void **_CBOR_UNUSED(_state)) { in test_unspecified()
|
H A D | uint_encoders_test.c | 13 static void test_embedded_uint8(void **_CBOR_UNUSED(_state)) { in test_embedded_uint8() 18 static void test_uint8(void **_CBOR_UNUSED(_state)) { in test_uint8() 24 static void test_uint16(void **_CBOR_UNUSED(_state)) { in test_uint16() 30 static void test_uint32(void **_CBOR_UNUSED(_state)) { in test_uint32() 37 static void test_uint64(void **_CBOR_UNUSED(_state)) { in test_uint64() 47 static void test_unspecified(void **_CBOR_UNUSED(_state)) { in test_unspecified()
|
H A D | callbacks_test.c | 23 static void test_default_callbacks(void** _CBOR_UNUSED(_state)) { in test_default_callbacks() 34 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append() 74 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append_alloc_failure() 106 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append_item_alloc_failure() 140 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append_parent_alloc_failure() 211 void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append_alloc_failure() 242 void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append_item_alloc_failure() 274 void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append_parent_alloc_failure() 305 static void test_append_array_failure(void** _CBOR_UNUSED(_state)) { in test_append_array_failure() 334 static void test_append_map_failure(void** _CBOR_UNUSED(_state)) { in test_append_map_failure() [all …]
|
H A D | float_ctrl_test.c | 27 static void test_float2(void **_CBOR_UNUSED(_state)) { in test_float2() 40 static void test_float4(void **_CBOR_UNUSED(_state)) { in test_float4() 54 static void test_float8(void **_CBOR_UNUSED(_state)) { in test_float8() 69 static void test_null(void **_CBOR_UNUSED(_state)) { in test_null() 79 static void test_undef(void **_CBOR_UNUSED(_state)) { in test_undef() 89 static void test_bool(void **_CBOR_UNUSED(_state)) { in test_bool() 113 static void test_float_ctrl_creation(void **_CBOR_UNUSED(_state)) { in test_float_ctrl_creation()
|
H A D | negint_test.c | 22 static void test_very_short_int(void **_CBOR_UNUSED(_state)) { in test_very_short_int() 36 static void test_short_int(void **_CBOR_UNUSED(_state)) { in test_short_int() 50 static void test_half_int(void **_CBOR_UNUSED(_state)) { in test_half_int() 64 static void test_int(void **_CBOR_UNUSED(_state)) { in test_int() 78 static void test_long_int(void **_CBOR_UNUSED(_state)) { in test_long_int() 92 static void test_int_creation(void **_CBOR_UNUSED(_state)) { in test_int_creation()
|
H A D | memory_utils_test.c | 12 static void test_safe_multiply(void **_CBOR_UNUSED(_state)) { in test_safe_multiply() 20 static void test_safe_add(void **_CBOR_UNUSED(_state)) { in test_safe_add() 31 static void test_safe_signalling_add(void **_CBOR_UNUSED(_state)) { in test_safe_signalling_add() 39 static void test_realloc_multiple(void **_CBOR_UNUSED(_state)) { in test_realloc_multiple()
|
H A D | array_encoders_test.c | 13 static void test_embedded_array_start(void **_CBOR_UNUSED(_state)) { in test_embedded_array_start() 18 static void test_array_start(void **_CBOR_UNUSED(_state)) { in test_array_start() 24 static void test_indef_array_start(void **_CBOR_UNUSED(_state)) { in test_indef_array_start() 30 static void test_indef_array_encoding(void **_CBOR_UNUSED(_state)) { in test_indef_array_encoding()
|
H A D | bytestring_encoders_test.c | 14 static void test_embedded_bytestring_start(void **_CBOR_UNUSED(_state)) { in test_embedded_bytestring_start() 19 static void test_bytestring_start(void **_CBOR_UNUSED(_state)) { in test_bytestring_start() 25 static void test_indef_bytestring_start(void **_CBOR_UNUSED(_state)) { in test_indef_bytestring_start()
|
H A D | map_encoders_test.c | 13 static void test_embedded_map_start(void **_CBOR_UNUSED(_state)) { in test_embedded_map_start() 18 static void test_map_start(void **_CBOR_UNUSED(_state)) { in test_map_start() 24 static void test_indef_map_start(void **_CBOR_UNUSED(_state)) { in test_indef_map_start()
|
H A D | string_encoders_test.c | 13 static void test_embedded_string_start(void **_CBOR_UNUSED(_state)) { in test_embedded_string_start() 18 static void test_string_start(void **_CBOR_UNUSED(_state)) { in test_string_start() 24 static void test_indef_string_start(void **_CBOR_UNUSED(_state)) { in test_indef_string_start()
|
H A D | tag_encoders_test.c | 13 static void test_embedded_tag(void **_CBOR_UNUSED(_state)) { in test_embedded_tag() 18 static void test_tag(void **_CBOR_UNUSED(_state)) { in test_tag()
|
H A D | unicode_test.c | 16 static void test_missing_bytes(void **_CBOR_UNUSED(_state)) { in test_missing_bytes() 31 static void test_invalid_sequence(void **_CBOR_UNUSED(_state)) { in test_invalid_sequence()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | state_machine.h | 65 #define SM_ENTRY_M(machine, _state, data) \ argument 83 #define SM_ENTRY_MA(machine, _state, data) \ argument
|