Home
last modified time | relevance | path

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

12

/src/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
[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
[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 Dpretty_printer_test.c35 static void test_uint(void **_CBOR_UNUSED(_state)) { in test_uint() argument
41 static void test_negint(void **_CBOR_UNUSED(_state)) { in test_negint() argument
48 static void test_definite_bytestring(void **_CBOR_UNUSED(_state)) { in test_definite_bytestring() argument
57 static void test_indefinite_bytestring(void **_CBOR_UNUSED(_state)) { in test_indefinite_bytestring() argument
74 static void test_definite_string(void **_CBOR_UNUSED(_state)) { in test_definite_string() argument
84 static void test_indefinite_string(void **_CBOR_UNUSED(_state)) { in test_indefinite_string() argument
101 static void test_multibyte_string(void **_CBOR_UNUSED(_state)) { in test_multibyte_string() argument
112 static void test_definite_array(void **_CBOR_UNUSED(_state)) { in test_definite_array() argument
123 static void test_indefinite_array(void **_CBOR_UNUSED(_state)) { in test_indefinite_array() argument
134 static void test_definite_map(void **_CBOR_UNUSED(_state)) { in test_definite_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_all_tag_values_supported() argument
127 static void test_build_tag(void **_CBOR_UNUSED(_state)) { in test_build_tag() argument
137 static void test_build_tag_failure(void **_CBOR_UNUSED(_state)) { in test_build_tag_failure() argument
[all …]
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_invalid_utf() argument
236 static void test_inline_creation(void **_CBOR_UNUSED(_state)) { in test_inline_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 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 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 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 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() argument
79 static void test_undef(void **_CBOR_UNUSED(_state)) { in test_undef() argument
89 static void test_bool(void **_CBOR_UNUSED(_state)) { in test_bool() argument
113 static void test_float_ctrl_creation(void **_CBOR_UNUSED(_state)) { in 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
[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
/src/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;
/src/contrib/lutok/
H A Dtest_utils.hpp94 lutok::state& _state; member in __anon197875fa0111::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()
/src/contrib/kyua/engine/
H A Dkyuafile.cpp116 lutok::state _state; member in __anonac4d1b2f0111::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 …]
/src/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()
/src/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