Home
last modified time | relevance | path

Searched refs:state_cast (Results 1 – 25 of 86) sorted by relevance

1234

/dports/devel/boost-python-libs/boost_1_72_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
H A DDeferralBug.cpp75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
H A DDeferralBug.cpp75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
H A DDeferralBug.cpp75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
/dports/databases/percona57-server/boost_1_59_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
H A DDeferralBug.cpp75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
/dports/databases/xtrabackup/boost_1_59_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
H A DDeferralBug.cpp75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
/dports/databases/percona57-client/boost_1_59_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
/dports/devel/boost-libs/boost_1_72_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
/dports/devel/boost-docs/boost_1_72_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
H A DDeferralBug.cpp75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
81 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
/dports/devel/hyperscan/boost_1_75_0/libs/statechart/test/
H A DStateCastTest.cpp40 BOOST_REQUIRE( state_cast< const State * >() != 0 ); in AssertInState()
41 BOOST_REQUIRE_NO_THROW( state_cast< const State & >() ); in AssertInState()
49 BOOST_REQUIRE( state_cast< const State * >() == 0 ); in AssertNotInState()
50 BOOST_REQUIRE_THROW( state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
59 BOOST_REQUIRE( theState.template state_cast< const State * >() != 0 ); in AssertInState()
60 BOOST_REQUIRE_NO_THROW( theState.template state_cast< const State & >() ); in AssertInState()
68 BOOST_REQUIRE( theState.template state_cast< const State * >() == 0 ); in AssertNotInState()
69 BOOST_REQUIRE_THROW( theState.template state_cast< const State & >(), std::bad_cast ); in AssertNotInState()
H A DDeferralTest.cpp158 BOOST_REQUIRE_THROW( eventBaseMachine.state_cast< const X1 & >(), std::bad_cast ); in test_main()
160 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
163 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
165 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X3 & >() ); in test_main()
167 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X1 & >() ); in test_main()
169 BOOST_REQUIRE_NO_THROW( eventBaseMachine.state_cast< const X2 & >() ); in test_main()
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Utils/Playlist/
H A DPlaylistMode.cpp163 #define state_cast(x) static_cast<Mode::State>( x .toInt()) macro
172 this->setAppend( state_cast(list[0]) ); in loadFromString()
173 this->setRepAll( state_cast(list[1]) ); in loadFromString()
174 this->setRep1( state_cast(list[2]) ); in loadFromString()
175 this->setShuffle(state_cast(list[4]) ); in loadFromString()
176 this->setDynamic(state_cast(list[5]) ); in loadFromString()
179 this->setGapless(state_cast(list[6])); in loadFromString()

1234