Home
last modified time | relevance | path

Searched refs:_state (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/libcbor/test/
H A Dcbor_stream_decode_test.c12 static void test_no_data(void **_CBOR_UNUSED(_state)) { in test_no_data() argument
17 static void test_uint8_embedded_decoding(void **_CBOR_UNUSED(_state)) { in test_uint8_embedded_decoding() argument
36 static void test_uint8_decoding(void **_CBOR_UNUSED(_state)) { in test_uint8_decoding() argument
47 static void test_uint16_decoding(void **_CBOR_UNUSED(_state)) { in test_uint16_decoding() argument
55 static void test_uint32_decoding(void **_CBOR_UNUSED(_state)) { in test_uint32_decoding() argument
64 static void test_uint64_decoding(void **_CBOR_UNUSED(_state)) { in test_uint64_decoding() argument
72 static void test_negint8_embedded_decoding(void **_CBOR_UNUSED(_state)) { in test_negint8_embedded_decoding() argument
91 static void test_negint8_decoding(void **_CBOR_UNUSED(_state)) { in test_negint8_decoding() argument
102 static void test_negint16_decoding(void **_CBOR_UNUSED(_state)) { in test_negint16_decoding() argument
110 static void test_negint32_decoding(void **_CBOR_UNUSED(_state)) { in test_negint32_decoding() argument
119 test_negint64_decoding(void ** _CBOR_UNUSED (_state)) test_negint64_decoding() argument
127 test_bstring_embedded_int8_decoding(void ** _CBOR_UNUSED (_state)) test_bstring_embedded_int8_decoding() argument
139 test_bstring_int8_decoding(void ** _CBOR_UNUSED (_state)) test_bstring_int8_decoding() argument
149 test_bstring_int8_empty_decoding(void ** _CBOR_UNUSED (_state)) test_bstring_int8_empty_decoding() argument
158 test_bstring_int16_decoding(void ** _CBOR_UNUSED (_state)) test_bstring_int16_decoding() argument
170 test_bstring_int32_decoding(void ** _CBOR_UNUSED (_state)) test_bstring_int32_decoding() argument
184 test_bstring_int64_decoding(void ** _CBOR_UNUSED (_state)) test_bstring_int64_decoding() argument
197 test_bstring_indef_decoding_1(void ** _CBOR_UNUSED (_state)) test_bstring_indef_decoding_1() argument
212 test_bstring_indef_decoding_2(void ** _CBOR_UNUSED (_state)) test_bstring_indef_decoding_2() argument
229 test_bstring_indef_decoding_3(void ** _CBOR_UNUSED (_state)) test_bstring_indef_decoding_3() argument
248 test_string_embedded_int8_decoding(void ** _CBOR_UNUSED (_state)) test_string_embedded_int8_decoding() argument
260 test_string_int8_decoding(void ** _CBOR_UNUSED (_state)) test_string_int8_decoding() argument
270 test_string_int8_empty_decoding(void ** _CBOR_UNUSED (_state)) test_string_int8_empty_decoding() argument
279 test_string_int16_decoding(void ** _CBOR_UNUSED (_state)) test_string_int16_decoding() argument
291 test_string_int32_decoding(void ** _CBOR_UNUSED (_state)) test_string_int32_decoding() argument
305 test_string_int64_decoding(void ** _CBOR_UNUSED (_state)) test_string_int64_decoding() argument
317 test_string_indef_decoding_1(void ** _CBOR_UNUSED (_state)) test_string_indef_decoding_1() argument
332 test_string_indef_decoding_2(void ** _CBOR_UNUSED (_state)) test_string_indef_decoding_2() argument
349 test_string_indef_decoding_3(void ** _CBOR_UNUSED (_state)) test_string_indef_decoding_3() argument
368 test_array_embedded_int8_decoding(void ** _CBOR_UNUSED (_state)) test_array_embedded_int8_decoding() argument
375 test_array_int8_decoding(void ** _CBOR_UNUSED (_state)) test_array_int8_decoding() argument
391 test_array_int16_decoding(void ** _CBOR_UNUSED (_state)) test_array_int16_decoding() argument
407 test_array_int32_decoding(void ** _CBOR_UNUSED (_state)) test_array_int32_decoding() argument
424 test_array_int64_decoding(void ** _CBOR_UNUSED (_state)) test_array_int64_decoding() argument
440 test_array_of_arrays_decoding(void ** _CBOR_UNUSED (_state)) test_array_of_arrays_decoding() argument
455 test_indef_array_decoding_1(void ** _CBOR_UNUSED (_state)) test_indef_array_decoding_1() argument
482 test_map_embedded_int8_decoding(void ** _CBOR_UNUSED (_state)) test_map_embedded_int8_decoding() argument
497 test_map_int8_decoding(void ** _CBOR_UNUSED (_state)) test_map_int8_decoding() argument
511 test_map_int16_decoding(void ** _CBOR_UNUSED (_state)) test_map_int16_decoding() argument
527 test_map_int32_decoding(void ** _CBOR_UNUSED (_state)) test_map_int32_decoding() argument
544 test_map_int64_decoding(void ** _CBOR_UNUSED (_state)) test_map_int64_decoding() argument
560 test_indef_map_decoding_1(void ** _CBOR_UNUSED (_state)) test_indef_map_decoding_1() argument
578 test_embedded_tag_decoding(void ** _CBOR_UNUSED (_state)) test_embedded_tag_decoding() argument
584 test_int8_tag_decoding(void ** _CBOR_UNUSED (_state)) test_int8_tag_decoding() argument
592 test_int16_tag_decoding(void ** _CBOR_UNUSED (_state)) test_int16_tag_decoding() argument
600 test_int32_tag_decoding(void ** _CBOR_UNUSED (_state)) test_int32_tag_decoding() argument
609 test_int64_tag_decoding(void ** _CBOR_UNUSED (_state)) test_int64_tag_decoding() argument
617 test_bad_tag_decoding(void ** _CBOR_UNUSED (_state)) test_bad_tag_decoding() argument
622 test_float2_decoding(void ** _CBOR_UNUSED (_state)) test_float2_decoding() argument
630 test_float4_decoding(void ** _CBOR_UNUSED (_state)) test_float4_decoding() argument
639 test_float8_decoding(void ** _CBOR_UNUSED (_state)) test_float8_decoding() argument
647 test_false_decoding(void ** _CBOR_UNUSED (_state)) test_false_decoding() argument
653 test_true_decoding(void ** _CBOR_UNUSED (_state)) test_true_decoding() argument
659 test_null_decoding(void ** _CBOR_UNUSED (_state)) test_null_decoding() argument
665 test_undef_decoding(void ** _CBOR_UNUSED (_state)) test_undef_decoding() argument
[all...]
H A Dcbor_serialize_test.c27 static void test_serialize_uint8_embed(void **_CBOR_UNUSED(_state)) { in test_serialize_uint8_embed() argument
36 static void test_serialize_uint8(void **_CBOR_UNUSED(_state)) { in test_serialize_uint8() argument
45 static void test_serialize_uint16(void **_CBOR_UNUSED(_state)) { in test_serialize_uint16() argument
54 static void test_serialize_uint32(void **_CBOR_UNUSED(_state)) { in test_serialize_uint32() argument
64 static void test_serialize_uint64(void **_CBOR_UNUSED(_state)) { in test_serialize_uint64() argument
76 static void test_serialize_negint8_embed(void **_CBOR_UNUSED(_state)) { in test_serialize_negint8_embed() argument
86 static void test_serialize_negint8(void **_CBOR_UNUSED(_state)) { in test_serialize_negint8() argument
96 static void test_serialize_negint16(void **_CBOR_UNUSED(_state)) { in test_serialize_negint16() argument
106 static void test_serialize_negint32(void **_CBOR_UNUSED(_state)) { in test_serialize_negint32() argument
117 static void test_serialize_negint64(void **_CBOR_UNUSED(_state)) { in test_serialize_negint64() argument
130 test_serialize_definite_bytestring(void ** _CBOR_UNUSED (_state)) test_serialize_definite_bytestring() argument
142 test_serialize_indefinite_bytestring(void ** _CBOR_UNUSED (_state)) test_serialize_indefinite_bytestring() argument
162 test_serialize_bytestring_size_overflow(void ** _CBOR_UNUSED (_state)) test_serialize_bytestring_size_overflow() argument
175 test_serialize_bytestring_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_bytestring_no_space() argument
186 test_serialize_indefinite_bytestring_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_indefinite_bytestring_no_space() argument
206 test_serialize_definite_string(void ** _CBOR_UNUSED (_state)) test_serialize_definite_string() argument
221 test_serialize_indefinite_string(void ** _CBOR_UNUSED (_state)) test_serialize_indefinite_string() argument
242 test_serialize_string_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_string_no_space() argument
253 test_serialize_indefinite_string_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_indefinite_string_no_space() argument
273 test_serialize_definite_array(void ** _CBOR_UNUSED (_state)) test_serialize_definite_array() argument
290 test_serialize_array_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_array_no_space() argument
309 test_serialize_indefinite_array(void ** _CBOR_UNUSED (_state)) test_serialize_indefinite_array() argument
325 test_serialize_definite_map(void ** _CBOR_UNUSED (_state)) test_serialize_definite_map() argument
342 test_serialize_indefinite_map(void ** _CBOR_UNUSED (_state)) test_serialize_indefinite_map() argument
359 test_serialize_map_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_map_no_space() argument
383 test_serialize_tags(void ** _CBOR_UNUSED (_state)) test_serialize_tags() argument
395 test_serialize_tags_no_space(void ** _CBOR_UNUSED (_state)) test_serialize_tags_no_space() argument
411 test_serialize_half(void ** _CBOR_UNUSED (_state)) test_serialize_half() argument
421 test_serialize_single(void ** _CBOR_UNUSED (_state)) test_serialize_single() argument
432 test_serialize_double(void ** _CBOR_UNUSED (_state)) test_serialize_double() argument
445 test_serialize_ctrl(void ** _CBOR_UNUSED (_state)) test_serialize_ctrl() argument
454 test_serialize_long_ctrl(void ** _CBOR_UNUSED (_state)) test_serialize_long_ctrl() argument
464 test_auto_serialize(void ** _CBOR_UNUSED (_state)) test_auto_serialize() argument
480 test_auto_serialize_no_size(void ** _CBOR_UNUSED (_state)) test_auto_serialize_no_size() argument
491 test_auto_serialize_too_large(void ** _CBOR_UNUSED (_state)) test_auto_serialize_too_large() argument
511 test_auto_serialize_alloc_fail(void ** _CBOR_UNUSED (_state)) test_auto_serialize_alloc_fail() argument
526 test_auto_serialize_zero_len_bytestring(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_bytestring() argument
537 test_auto_serialize_zero_len_string(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_string() argument
549 test_auto_serialize_zero_len_bytestring_chunk(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_bytestring_chunk() argument
564 test_auto_serialize_zero_len_string_chunk(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_string_chunk() argument
577 test_auto_serialize_zero_len_array(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_array() argument
589 test_auto_serialize_zero_len_indef_array(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_indef_array() argument
600 test_auto_serialize_zero_len_map(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_map() argument
612 test_auto_serialize_zero_len_indef_map(void ** _CBOR_UNUSED (_state)) test_auto_serialize_zero_len_indef_map() argument
[all...]
H A Dcopy_test.c14 static void test_uints(void **_CBOR_UNUSED(_state)) { in test_uints() argument
36 static void test_negints(void **_CBOR_UNUSED(_state)) { in test_negints() argument
58 static void test_def_bytestring(void **_CBOR_UNUSED(_state)) { in test_def_bytestring() argument
66 static void test_indef_bytestring(void **_CBOR_UNUSED(_state)) { in test_indef_bytestring() argument
81 static void test_def_string(void **_CBOR_UNUSED(_state)) { in test_def_string() argument
89 static void test_indef_string(void **_CBOR_UNUSED(_state)) { in test_indef_string() argument
103 static void test_def_array(void **_CBOR_UNUSED(_state)) { in test_def_array() argument
113 static void test_indef_array(void **_CBOR_UNUSED(_state)) { in test_indef_array() argument
123 static void test_def_map(void **_CBOR_UNUSED(_state)) { in test_def_map() argument
136 static void test_indef_map(void **_CBOR_UNUSED(_state)) { in test_indef_map() argument
[all …]
H A Dbytestring_test.c136 static void test_empty_bs(void **_CBOR_UNUSED(_state)) { in test_empty_bs() argument
147 static void test_embedded_bs(void **_CBOR_UNUSED(_state)) { in test_embedded_bs() argument
160 static void test_notenough_data(void **_CBOR_UNUSED(_state)) { in test_notenough_data() argument
166 static void test_short_bs1(void **_CBOR_UNUSED(_state)) { in test_short_bs1() argument
179 static void test_short_bs2(void **_CBOR_UNUSED(_state)) { in test_short_bs2() argument
191 static void test_half_bs(void **_CBOR_UNUSED(_state)) { in test_half_bs() argument
203 static void test_int_bs(void **_CBOR_UNUSED(_state)) { in test_int_bs() argument
215 static void test_long_bs(void **_CBOR_UNUSED(_state)) { in test_long_bs() argument
229 static void test_zero_indef(void **_CBOR_UNUSED(_state)) { in test_zero_indef() argument
245 static void test_short_indef(void **_CBOR_UNUSED(_state)) { in test_short_indef() argument
[all …]
H A Dtag_test.c17 static void test_refcounting(void **_CBOR_UNUSED(_state)) { in test_refcounting() argument
30 static void test_embedded_tag(void **_CBOR_UNUSED(_state)) { in test_embedded_tag() argument
42 static void test_int8_tag(void **_CBOR_UNUSED(_state)) { in test_int8_tag() argument
54 static void test_int16_tag(void **_CBOR_UNUSED(_state)) { in test_int16_tag() argument
66 static void test_int32_tag(void **_CBOR_UNUSED(_state)) { in test_int32_tag() argument
79 static void test_int64_tag(void **_CBOR_UNUSED(_state)) { in test_int64_tag() argument
91 static void test_nested_tag(void **_CBOR_UNUSED(_state)) { in test_nested_tag() argument
105 static void test_all_tag_values_supported(void **_CBOR_UNUSED(_state)) { in test_build_tag() argument
127 static void test_build_tag(void **_CBOR_UNUSED(_state)) {
137 static void test_build_tag_failure(void **_CBOR_UNUSED(_state)) { in main()
115 test_build_tag_failure(void ** _CBOR_UNUSED (_state)) test_build_tag_failure() argument
124 test_tag_creation(void ** _CBOR_UNUSED (_state)) test_tag_creation() argument
[all...]
H A Dbad_inputs_test.c19 static void test_1(void **_CBOR_UNUSED(_state)) { in test_1() argument
27 static void test_2(void **_CBOR_UNUSED(_state)) { in test_2() argument
35 static void test_3(void **_CBOR_UNUSED(_state)) { in test_3() argument
44 static void test_4(void **_CBOR_UNUSED(_state)) { in test_4() argument
52 static void test_5(void **_CBOR_UNUSED(_state)) { in test_5() argument
62 static void test_6(void **_CBOR_UNUSED(_state)) { in test_6() argument
74 static void test_7(void **_CBOR_UNUSED(_state)) { in test_7() argument
87 static void test_8(void **_CBOR_UNUSED(_state)) { in test_8() argument
95 static void test_9(void **_CBOR_UNUSED(_state)) { in test_9() argument
H A Dstring_test.c18 static void test_empty_string(void **_CBOR_UNUSED(_state)) { in test_empty_string() argument
34 static void test_short_string(void **_CBOR_UNUSED(_state)) { in test_short_string() argument
52 static void test_short_multibyte_string(void **_CBOR_UNUSED(_state)) { in test_short_multibyte_string() argument
81 static void test_int8_string(void **_CBOR_UNUSED(_state)) { in test_int8_string() argument
115 static void test_int16_string(void **_CBOR_UNUSED(_state)) { in test_int16_string() argument
148 static void test_int32_string(void **_CBOR_UNUSED(_state)) { in test_int32_string() argument
182 static void test_int64_string(void **_CBOR_UNUSED(_state)) { in test_int64_string() argument
204 static void test_short_indef_string(void **_CBOR_UNUSED(_state)) { in test_short_indef_string() argument
220 static void test_invalid_utf(void **_CBOR_UNUSED(_state)) { in test_inline_creation() argument
236 static void test_inline_creation(void **_CBOR_UNUSED(_state)) { in test_string_creation()
226 test_string_creation(void ** _CBOR_UNUSED (_state)) test_string_creation() argument
242 test_string_add_chunk(void ** _CBOR_UNUSED (_state)) test_string_add_chunk() argument
260 test_add_chunk_reallocation_overflow(void ** _CBOR_UNUSED (_state)) test_add_chunk_reallocation_overflow() argument
[all...]
H A Duint_test.c23 static void test_very_short_int(void **_CBOR_UNUSED(_state)) { in test_very_short_int() argument
37 static void test_incomplete_data(void **_CBOR_UNUSED(_state)) { in test_incomplete_data() argument
43 static void test_short_int(void **_CBOR_UNUSED(_state)) { in test_short_int() argument
57 static void test_half_int(void **_CBOR_UNUSED(_state)) { in test_half_int() argument
71 static void test_int(void **_CBOR_UNUSED(_state)) { in test_int() argument
85 static void test_long_int(void **_CBOR_UNUSED(_state)) { in test_long_int() argument
99 static void test_refcounting(void **_CBOR_UNUSED(_state)) { in test_refcounting() argument
109 static void test_empty_input(void **_CBOR_UNUSED(_state)) { in test_empty_input() argument
115 static void test_inline_creation(void **_CBOR_UNUSED(_state)) { in test_inline_creation() argument
133 static void test_int_creation(void **_CBOR_UNUSED(_state)) { in test_int_creation() argument
H A Dnegint_encoders_test.c13 static void test_embedded_negint8(void **_CBOR_UNUSED(_state)) { in test_embedded_negint8() argument
18 static void test_negint8(void **_CBOR_UNUSED(_state)) { in test_negint8() argument
24 static void test_negint16(void **_CBOR_UNUSED(_state)) { in test_negint16() argument
30 static void test_negint32(void **_CBOR_UNUSED(_state)) { in test_negint32() argument
37 static void test_negint64(void **_CBOR_UNUSED(_state)) { in test_negint64() argument
48 static void test_unspecified(void **_CBOR_UNUSED(_state)) { in test_unspecified() argument
H A Duint_encoders_test.c13 static void test_embedded_uint8(void **_CBOR_UNUSED(_state)) { in test_embedded_uint8() argument
18 static void test_uint8(void **_CBOR_UNUSED(_state)) { in test_uint8() argument
24 static void test_uint16(void **_CBOR_UNUSED(_state)) { in test_uint16() argument
30 static void test_uint32(void **_CBOR_UNUSED(_state)) { in test_uint32() argument
37 static void test_uint64(void **_CBOR_UNUSED(_state)) { in test_uint64() argument
47 static void test_unspecified(void **_CBOR_UNUSED(_state)) { in test_unspecified() argument
H A Dfloat_ctrl_encoders_test.c14 static void test_bools(void **_CBOR_UNUSED(_state)) { in test_bools() argument
21 static void test_null(void **_CBOR_UNUSED(_state)) { in test_null() argument
26 static void test_undef(void **_CBOR_UNUSED(_state)) { in test_undef() argument
31 static void test_break(void **_CBOR_UNUSED(_state)) { in test_break() argument
54 static void test_half(void **_CBOR_UNUSED(_state)) { in test_half() argument
120 static void test_half_special(void **_CBOR_UNUSED(_state)) { in test_half_special() argument
134 static void test_half_infinity(void **_CBOR_UNUSED(_state)) { in test_half_infinity() argument
144 static void test_float(void **_CBOR_UNUSED(_state)) { in test_float() argument
169 static void test_double(void **_CBOR_UNUSED(_state)) { in test_double() argument
H A Dmap_test.c25 static void test_empty_map(void **_CBOR_UNUSED(_state)) { in test_empty_map() argument
40 static void test_simple_map(void **_CBOR_UNUSED(_state)) { in test_simple_map() argument
60 static void test_indef_simple_map(void **_CBOR_UNUSED(_state)) { in test_indef_simple_map() argument
87 static void test_def_nested_map(void **_CBOR_UNUSED(_state)) { in test_def_nested_map() argument
111 static void test_streamed_key_map(void **_CBOR_UNUSED(_state)) { in test_streamed_key_map() argument
133 static void test_streamed_kv_map(void **_CBOR_UNUSED(_state)) { in test_streamed_kv_map() argument
160 static void test_streamed_streamed_kv_map(void **_CBOR_UNUSED(_state)) { in test_streamed_streamed_kv_map() argument
182 static void test_map_add_full(void **_CBOR_UNUSED(_state)) { in test_map_add_full() argument
194 static void test_map_add_too_big_to_realloc(void **_CBOR_UNUSED(_state)) { in test_map_add_too_big_to_realloc() argument
213 static void test_map_creation(void **_CBOR_UNUSED(_state)) { in test_map_creation() argument
[all …]
H A Darray_test.c17 static void test_empty_array(void **_CBOR_UNUSED(_state)) { in test_empty_array() argument
30 static void test_simple_array(void **_CBOR_UNUSED(_state)) { in test_simple_array() argument
56 static void test_nested_arrays(void **_CBOR_UNUSED(_state)) { in test_nested_arrays() argument
77 static void test_indef_arrays(void **_CBOR_UNUSED(_state)) { in test_indef_arrays() argument
97 static void test_nested_indef_arrays(void **_CBOR_UNUSED(_state)) { in test_nested_indef_arrays() argument
116 static void test_array_replace(void **_CBOR_UNUSED(_state)) { in test_array_replace() argument
150 static void test_array_push_overflow(void **_CBOR_UNUSED(_state)) { in test_array_push_overflow() argument
168 static void test_array_creation(void **_CBOR_UNUSED(_state)) { in test_array_creation() argument
176 static void test_array_push(void **_CBOR_UNUSED(_state)) { in test_array_push() argument
194 static void test_indef_array_decode(void **_CBOR_UNUSED(_state)) { in test_indef_array_decode() argument
H A Dfloat_ctrl_test.c27 static void test_float2(void **_CBOR_UNUSED(_state)) { in test_float2() argument
40 static void test_float4(void **_CBOR_UNUSED(_state)) { in test_float4() argument
54 static void test_float8(void **_CBOR_UNUSED(_state)) { in test_float8() argument
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()
67 test_null(void ** _CBOR_UNUSED (_state)) test_null() argument
77 test_undef(void ** _CBOR_UNUSED (_state)) test_undef() argument
87 test_bool(void ** _CBOR_UNUSED (_state)) test_bool() argument
111 test_float_ctrl_creation(void ** _CBOR_UNUSED (_state)) test_float_ctrl_creation() argument
H A Dcallbacks_test.c23 static void test_default_callbacks(void** _CBOR_UNUSED(_state)) { in test_default_callbacks() argument
34 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append() argument
74 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append_alloc_failure() argument
106 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append_item_alloc_failure() argument
140 void** _CBOR_UNUSED(_state)) { in test_builder_byte_string_callback_append_parent_alloc_failure() argument
174 static void test_builder_string_callback_append(void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append() argument
211 void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append_alloc_failure() argument
242 void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append_item_alloc_failure() argument
274 void** _CBOR_UNUSED(_state)) { in test_builder_string_callback_append_parent_alloc_failure() argument
305 static void test_append_array_failure(void** _CBOR_UNUSED(_state)) { in test_append_array_failure() argument
334 test_append_map_failure(void ** _CBOR_UNUSED (_state)) test_append_map_failure() argument
365 test_invalid_indef_break(void ** _CBOR_UNUSED (_state)) test_invalid_indef_break() argument
[all...]
H A Dnegint_test.c22 static void test_very_short_int(void **_CBOR_UNUSED(_state)) { in test_very_short_int() argument
36 static void test_short_int(void **_CBOR_UNUSED(_state)) { in test_short_int() argument
50 static void test_half_int(void **_CBOR_UNUSED(_state)) { in test_half_int() argument
64 static void test_int(void **_CBOR_UNUSED(_state)) { in test_int() argument
78 static void test_long_int(void **_CBOR_UNUSED(_state)) { in test_long_int() argument
92 static void test_int_creation(void **_CBOR_UNUSED(_state)) { in test_int_creation() argument
H A Darray_encoders_test.c13 static void test_embedded_array_start(void **_CBOR_UNUSED(_state)) { in test_embedded_array_start() argument
18 static void test_array_start(void **_CBOR_UNUSED(_state)) { in test_array_start() argument
24 static void test_indef_array_start(void **_CBOR_UNUSED(_state)) { in test_indef_array_start() argument
30 static void test_indef_array_encoding(void **_CBOR_UNUSED(_state)) { in test_indef_array_encoding() argument
H A Dmemory_utils_test.c12 static void test_safe_multiply(void **_CBOR_UNUSED(_state)) { in test_safe_multiply() argument
20 static void test_safe_add(void **_CBOR_UNUSED(_state)) { in test_safe_add() argument
31 static void test_safe_signalling_add(void **_CBOR_UNUSED(_state)) { in test_safe_signalling_add() argument
39 static void test_realloc_multiple(void **_CBOR_UNUSED(_state)) { in test_realloc_multiple() argument
H A Dmap_encoders_test.c13 static void test_embedded_map_start(void **_CBOR_UNUSED(_state)) { in test_embedded_map_start() argument
18 static void test_map_start(void **_CBOR_UNUSED(_state)) { in test_map_start() argument
24 static void test_indef_map_start(void **_CBOR_UNUSED(_state)) { in test_indef_map_start() argument
H A Dstring_encoders_test.c13 static void test_embedded_string_start(void **_CBOR_UNUSED(_state)) { in test_embedded_string_start() argument
18 static void test_string_start(void **_CBOR_UNUSED(_state)) { in test_string_start() argument
24 static void test_indef_string_start(void **_CBOR_UNUSED(_state)) { in test_indef_string_start() argument
/freebsd/contrib/wpa/src/utils/
H A Dstate_machine.h47 if (!global || sm->machine ## _state != machine ## _ ## state) { \
52 sm->machine ## _state = machine ## _ ## state;
65 #define SM_ENTRY_M(machine, _state, data) \ argument
66 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \
69 #machine " entering state " #_state); \
71 sm->data ## _ ## state = machine ## _ ## _state;
83 #define SM_ENTRY_MA(machine, _state, data) \ argument
84 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \
87 #machine " entering state " #_state, \
90 sm->data ## _ ## state = machine ## _ ## _state;
/freebsd/contrib/lutok/
H A Dtest_utils.hpp94 lutok::state& _state; member in __anondfd28d250111::stack_balance_checker
112 _state(state_), in stack_balance_checker()
114 _old_count(_state.get_top()) in stack_balance_checker()
117 _state.push_integer(987654321); in stack_balance_checker()
127 if (!_state.is_number(-1) || _state.to_integer(-1) != 987654321) in ~stack_balance_checker()
129 _state.pop(1); in ~stack_balance_checker()
132 unsigned int new_count = _state.get_top(); in ~stack_balance_checker()
/freebsd/contrib/kyua/engine/
H A Dkyuafile.cpp116 lutok::state _state; member in __anonb2e4cfda0111::parser
190 lutok::stack_cleaner cleaner(_state); in parser()
192 _state.push_cxx_function(lua_syntax); in parser()
193 _state.set_global("syntax"); in parser()
195 *_state.new_userdata< parser* >() = this; in parser()
196 _state.set_global("_parser"); in parser()
198 _state.push_cxx_function(lua_current_kyuafile); in parser()
199 _state.set_global("current_kyuafile"); in parser()
201 *_state.new_userdata< const config::tree* >() = &user_config; in parser()
202 *_state.new_userdata< scheduler::scheduler_handle* >() = in parser()
[all …]
/freebsd/contrib/kyua/utils/config/
H A Dparser.cpp61 lutok::state _state; member
98 config::redirect(_state, _tree); in syntax_callback()
146 lutok::stack_cleaner cleaner(_pimpl->_state); in parser()
148 _pimpl->_state.push_cxx_function(lua_syntax); in parser()
149 _pimpl->_state.set_global("syntax"); in parser()
150 *_pimpl->_state.new_userdata< config::parser::impl* >() = _pimpl.get(); in parser()
151 _pimpl->_state.set_global("_config_parser"); in parser()
174 lutok::do_file(_pimpl->_state, file.str(), 0, 0, 0); in parse()
/freebsd/sys/dev/iwi/
H A Dif_iwivar.h227 #define IWI_STATE_BEGIN(_sc, _state) do { \ argument
230 _sc->fw_state = _state; \
232 DPRINTF(("enter %s state\n", iwi_fw_states[_state])); \
235 #define IWI_STATE_END(_sc, _state) do { \ argument
236 if (_sc->fw_state == _state) \
237 DPRINTF(("exit %s state\n", iwi_fw_states[_state])); \
240 iwi_fw_states[_state], iwi_fw_states[_sc->fw_state])); \

12