Lines Matching refs:start_state

147 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()
433 start_state.retval = 51; in ZTEST()
448 notify(&start_state); in ZTEST()
451 check_result(start_state.retval, "async req"); in ZTEST()
454 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
525 check_trans(1, ONOFF_STATE_ERROR, start_state.retval, in ZTEST()
555 start_state.async = true; in ZTEST()
556 start_state.retval = 16; in ZTEST()
577 notify(&start_state); in ZTEST()
581 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
583 check_result(start_state.retval, "req"); in ZTEST()
584 zassert_equal(cli_result(&cli2), start_state.retval, in ZTEST()
599 start_state.retval = 62; in ZTEST()
606 zassert_equal(cli_result(&cli0), start_state.retval, in ZTEST()
612 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
615 ++start_state.retval; in ZTEST()
650 start_state.retval = 16; in ZTEST()
659 check_result(start_state.retval, "req"); in ZTEST()
664 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
667 start_state.retval += 1; in ZTEST()
692 check_result(start_state.retval, "del req"); in ZTEST()
701 check_trans(5, ONOFF_STATE_ON, start_state.retval, in ZTEST()
722 start_state.async = true; in ZTEST()
731 notify(&start_state); in ZTEST()
755 check_result(start_state.retval, in ZTEST()
808 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
825 start_state.retval = -23; in ZTEST()
830 check_result(start_state.retval, in ZTEST()
838 check_trans(1, ONOFF_STATE_ERROR, start_state.retval, in ZTEST()
912 start_state.async = true; in ZTEST()
913 start_state.retval = 14; in ZTEST()
944 notify(&start_state); in ZTEST()
948 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
965 check_result(start_state.retval, "req"); in ZTEST()
970 check_trans(1, ONOFF_STATE_ON, start_state.retval, in ZTEST()
1018 start_state.async = true; in ZTEST()
1026 notify(&start_state); in ZTEST()
1038 start_state.async = false; in ZTEST()