Home
last modified time | relevance | path

Searched refs:start_state (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/tests/lib/onoff/src/
Dmain.c147 static struct transit_state start_state = { variable
153 run_transit(srv, notify_fn, &start_state); in start()
234 reset_transit_state(&start_state); in setup_test()
260 start_state.retval = -1; in setup_error()
265 check_result(start_state.retval, in setup_error()
386 start_state.retval = 16; in ZTEST()
394 check_result(start_state.retval, "req"); in ZTEST()
399 check_callback(ONOFF_STATE_ON, start_state.retval, in ZTEST()
405 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
432 start_state.async = true; in ZTEST()
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/http/
Dhttp_parser.c299 #define start_state (parser->type == HTTP_REQUEST ? s_start_req : s_start_res) macro
313 # define NEW_MESSAGE() (http_should_keep_alive(parser) ? start_state : s_dead)
322 # define NEW_MESSAGE() start_state