Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 25 of 177) sorted by relevance

12345678

/third_party/boost/boost/msm/
Dactive_state_switching_policies.hpp21 static int after_guard(int current_state,int){return current_state;} in after_guard()
22 static int after_exit(int current_state,int){return current_state;} in after_exit()
23 static int after_action(int current_state,int){return current_state;} in after_action()
39 static int after_guard(int current_state,int){return current_state;} in after_guard()
48 static int after_guard(int current_state,int){return current_state;} in after_guard()
49 static int after_exit(int current_state,int){return current_state;} in after_exit()
/third_party/boost/boost/thread/win32/
Dshared_mutex.hpp135 … state_data const current_state=interlocked_compare_exchange(&state,new_state,old_state); in try_lock_shared() local
136 if(current_state==old_state) in try_lock_shared()
140 old_state=current_state; in try_lock_shared()
170 … state_data const current_state=interlocked_compare_exchange(&state,new_state,old_state); in lock_shared() local
171 if(current_state==old_state) in lock_shared()
175 old_state=current_state; in lock_shared()
225 … state_data const current_state=interlocked_compare_exchange(&state,new_state,old_state); in do_lock_shared_until() local
226 if(current_state==old_state) in do_lock_shared_until()
230 old_state=current_state; in do_lock_shared_until()
283 … state_data const current_state=interlocked_compare_exchange(&state,new_state,old_state); in do_lock_shared_until() local
[all …]
/third_party/boost/libs/msm/test/
DOrthogonalDeferredEuml.cpp163 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
173 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
180 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
189 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
198 …BOOST_CHECK_MESSAGE(p.get_state<Playing_type&>().current_state()[0] == 0,"Song1 should be active"); in BOOST_AUTO_TEST_CASE()
209 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
210 …BOOST_CHECK_MESSAGE(p.get_state<Playing_type&>().current_state()[0] == 1,"Song2 should be active"); in BOOST_AUTO_TEST_CASE()
222 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
223 …BOOST_CHECK_MESSAGE(p.get_state<Playing_type&>().current_state()[0] == 2,"Song3 should be active"); in BOOST_AUTO_TEST_CASE()
235 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DOrthogonalDeferred.cpp323 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
331 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
336 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
343 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
349 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
360 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
361 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
373 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
374 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
386 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DOrthogonalDeferred2.cpp330 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
338 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
343 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
350 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
356 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
367 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
368 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
380 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
381 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
393 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DOrthogonalDeferred3.cpp349 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
356 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
360 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
366 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
372 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
383 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
384 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
396 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
397 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
409 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DCompositeEuml.cpp160 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
167 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
176 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
184 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
197 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
198 …BOOST_CHECK_MESSAGE(p.get_state<Playing_type&>().current_state()[0] == 1,"Song2 should be active"); in BOOST_AUTO_TEST_CASE()
199 …BOOST_CHECK_MESSAGE(p.get_state<Playing_type&>().current_state()[1] == 3,"Region2State1 should be … in BOOST_AUTO_TEST_CASE()
214 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
215 …BOOST_CHECK_MESSAGE(p.get_state<Playing_type&>().current_state()[0] == 2,"Song3 should be active"); in BOOST_AUTO_TEST_CASE()
227 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DSerializeWithHistory.cpp260 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
265 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
271 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
276 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
280 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
286 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
287 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
299 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
300 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
312 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DHistory.cpp254 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
259 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
265 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
270 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
274 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
280 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
281 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
293 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
294 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
306 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DCompositeMachine.cpp254 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
259 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
265 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
270 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
274 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 0,"Song1 should be acti… in BOOST_AUTO_TEST_CASE()
280 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
281 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 1,"Song2 should be acti… in BOOST_AUTO_TEST_CASE()
293 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
294 …BOOST_CHECK_MESSAGE(p.get_state<player_::Playing&>().current_state()[0] == 2,"Song3 should be acti… in BOOST_AUTO_TEST_CASE()
306 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
[all …]
DSimpleEuml.cpp124 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
131 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
140 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
148 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
161 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
169 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
176 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
183 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
190 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSerializeSimpleEuml.cpp130 BOOST_CHECK_MESSAGE(p2.current_state()[0] == 2,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
155 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
159 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
165 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
176 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
184 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
191 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
198 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
205 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSimpleEuml2.cpp124 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
131 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
140 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
148 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
161 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
169 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
176 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
183 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
190 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DTestDeferIn2Regions.cpp129 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"State12 should be active"); in BOOST_AUTO_TEST_CASE()
130 BOOST_CHECK_MESSAGE(p.current_state()[1] == 2,"State21 should be active"); in BOOST_AUTO_TEST_CASE()
137 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"State12 should be active"); in BOOST_AUTO_TEST_CASE()
138 BOOST_CHECK_MESSAGE(p.current_state()[1] == 2,"State21 should be active"); in BOOST_AUTO_TEST_CASE()
149 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"State12 should be active"); in BOOST_AUTO_TEST_CASE()
150 BOOST_CHECK_MESSAGE(p.current_state()[1] == 2,"State21 should be active"); in BOOST_AUTO_TEST_CASE()
159 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"State13 should be active"); in BOOST_AUTO_TEST_CASE()
160 BOOST_CHECK_MESSAGE(p.current_state()[1] == 2,"State21 should be active"); in BOOST_AUTO_TEST_CASE()
DSimpleMachine.cpp202 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
207 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
214 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
220 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
225 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
231 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
237 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
242 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
247 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
252 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSerialize.cpp230 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
257 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
264 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
270 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
275 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
281 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
287 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
292 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
297 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
302 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSimpleInternal.cpp219 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
224 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
231 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
238 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
244 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
250 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
256 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
261 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
266 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
271 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSimpleInternalEuml.cpp182 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
189 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
198 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
207 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
219 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
227 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
234 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
241 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
248 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSimpleInternalFunctors.cpp276 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
281 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
288 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
295 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
301 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
307 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
313 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
318 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
323 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
328 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
DSimpleWithFunctors.cpp308 BOOST_CHECK_MESSAGE(p.current_state()[0] == 1,"Open should be active"); //Open in BOOST_AUTO_TEST_CASE()
313 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
320 BOOST_CHECK_MESSAGE(p.current_state()[0] == 2,"Empty should be active"); //Empty in BOOST_AUTO_TEST_CASE()
326 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
335 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
341 BOOST_CHECK_MESSAGE(p.current_state()[0] == 3,"Playing should be active"); //Playing in BOOST_AUTO_TEST_CASE()
346 BOOST_CHECK_MESSAGE(p.current_state()[0] == 4,"Paused should be active"); //Paused in BOOST_AUTO_TEST_CASE()
351 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
356 BOOST_CHECK_MESSAGE(p.current_state()[0] == 0,"Stopped should be active"); //Stopped in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/wave/cpplexer/
Ddetect_include_guards.hpp51 current_state(true), if_depth(0) in include_guards()
55 { return current_state ? (this->*state)(t) : t; } in detect_guard()
70 bool current_state; member in boost::wave::cpplexer::include_guards
97 current_state = false; in state_0()
113 current_state = false; in state_1()
127 current_state = false; in state_1a()
141 current_state = false; in state_1b()
159 current_state = false; in state_1c()
175 current_state = false; in state_1d()
189 current_state = false; in state_1e()
[all …]
/third_party/grpc/src/core/lib/transport/
Dconnectivity_state.cc104 grpc_connectivity_state current_state = state_.Load(MemoryOrder::RELAXED); in ~ConnectivityStateTracker() local
105 if (current_state == GRPC_CHANNEL_SHUTDOWN) return; in ~ConnectivityStateTracker()
110 name_, this, p.first, ConnectivityStateName(current_state), in ~ConnectivityStateTracker()
124 grpc_connectivity_state current_state = state_.Load(MemoryOrder::RELAXED); in AddWatcher() local
125 if (initial_state != current_state) { in AddWatcher()
130 ConnectivityStateName(current_state)); in AddWatcher()
132 watcher->Notify(current_state, status_); in AddWatcher()
136 if (current_state != GRPC_CHANNEL_SHUTDOWN) { in AddWatcher()
153 grpc_connectivity_state current_state = state_.Load(MemoryOrder::RELAXED); in SetState() local
154 if (state == current_state) return; in SetState()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
Dlow_level_hash.cc46 uint64_t current_state = seed ^ salt[0]; in LowLevelHash() local
52 uint64_t duplicated_state = current_state; in LowLevelHash()
64 uint64_t cs0 = Mix(a ^ salt[1], b ^ current_state); in LowLevelHash()
65 uint64_t cs1 = Mix(c ^ salt[2], d ^ current_state); in LowLevelHash()
66 current_state = (cs0 ^ cs1); in LowLevelHash()
76 current_state = current_state ^ duplicated_state; in LowLevelHash()
85 current_state = Mix(a ^ salt[1], b ^ current_state); in LowLevelHash()
116 uint64_t w = Mix(a ^ salt[1], b ^ current_state); in LowLevelHash()
/third_party/glib/gio/tests/
Ddbus-appinfo.c26 static int current_state; variable
75 switch (current_state) in G_DEFINE_TYPE()
81 current_state = 1; return; case 1: g_assert_cmpstr (action, ==, "activate"); in G_DEFINE_TYPE()
93 current_state = 2; return; case 2: g_assert_cmpstr (action, ==, "open"); in G_DEFINE_TYPE()
97 current_state = 3; return; case 3: g_assert_cmpstr (action, ==, "frob"); in G_DEFINE_TYPE()
100 current_state = 4; return; case 4: g_assert_cmpstr (action, ==, "tweak"); in G_DEFINE_TYPE()
103 current_state = 5; return; case 5: g_assert_cmpstr (action, ==, "twiddle"); in G_DEFINE_TYPE()
116current_state = 6; return; case 6: g_assert_cmpstr (action, ==, "activate"); g_assert (saw_startup… in G_DEFINE_TYPE()
130current_state = 7; return; case 7: g_assert_cmpstr (action, ==, "frob"); g_assert (saw_startup_id); in G_DEFINE_TYPE()
135 current_state = 8; return; case 8: g_assert_not_reached (); in G_DEFINE_TYPE()
[all …]
/third_party/boost/libs/mpl/example/fsm/
Dplayer2.cpp43 (Transition::current_state > Transition::next_state)
44 ? Transition::current_state
89 self->entries[Transition::current_state] = &Transition::execute; in operator ()()
150 int current_state() const in current_state() function in state_machine
196 BOOST_STATIC_CONSTANT(int, current_state = CurrentState);
203 BOOST_ASSERT(state == current_state); in execute()
299 std::cout << " -> " << state_names[p.current_state()] << std::endl; in pstate()

12345678