Home
last modified time | relevance | path

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

12345678

/third_party/python/Lib/test/
Dtest_pulldom.py47 evt, node = next(items)
50 self.assertEqual(pulldom.START_DOCUMENT, evt)
51 evt, node = next(items)
52 self.assertEqual(pulldom.START_ELEMENT, evt)
57 evt, node = next(items)
58 self.assertEqual(pulldom.CHARACTERS, evt) # Line break
59 evt, node = next(items)
63 self.assertEqual(pulldom.CHARACTERS, evt)
64 evt, node = next(items)
67 evt, node = next(items)
[all …]
Dlock_tests.py370 evt = self.eventtype()
371 self.assertFalse(evt.is_set())
372 evt.set()
373 self.assertTrue(evt.is_set())
374 evt.set()
375 self.assertTrue(evt.is_set())
376 evt.clear()
377 self.assertFalse(evt.is_set())
378 evt.clear()
379 self.assertFalse(evt.is_set())
[all …]
/third_party/boost/boost/msm/front/euml/
Dcontainer.hpp52 operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
54 return (T()(evt,fsm,src,tgt)).front(); in operator ()()
61 operator()(Event const& evt,FSM& fsm,STATE& state )const in operator ()()
63 return (T()(evt,fsm,state)).front(); in operator ()()
107 operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
109 return (T()(evt,fsm,src,tgt)).back(); in operator ()()
116 operator()(Event const& evt,FSM& fsm,STATE& state )const in operator ()()
118 return (T()(evt,fsm,state)).back(); in operator ()()
162 operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
164 return (T()(evt,fsm,src,tgt)).begin(); in operator ()()
[all …]
Doperator.hpp33 bool operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt) in operator ()()
35 return (T1()(evt,fsm,src,tgt) || T2()(evt,fsm,src,tgt)); in operator ()()
38 bool operator()(Event const& evt,FSM& fsm,STATE& state) in operator ()()
40 return (T1()(evt,fsm,state) || T2()(evt,fsm,state)); in operator ()()
47 bool operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt) in operator ()()
49 return (T1()(evt,fsm,src,tgt) && T2()(evt,fsm,src,tgt)); in operator ()()
52 bool operator()(Event const& evt,FSM& fsm,STATE& state) in operator ()()
54 return (T1()(evt,fsm,state) && T2()(evt,fsm,state)); in operator ()()
61 bool operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt) in operator ()()
63 return !(T1()(evt,fsm,src,tgt)); in operator ()()
[all …]
Dcommon.hpp545 operator()(Event const& evt,FSM& ,STATE& ) in operator ()()
547 return evt.get_attribute(Index()); in operator ()()
551 operator()(EVT const& evt ,FSM& ,SourceState& ,TargetState&)const in operator ()()
553 return evt.get_attribute(Index()); in operator ()()
573 operator()(Event const& evt,FSM& ,STATE& ) in operator ()()
575 return evt; in operator ()()
579 operator()(EVT const& evt ,FSM& ,SourceState& ,TargetState&)const in operator ()()
581 return evt; in operator ()()
691 StateName& operator()(EVT const& evt,FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
693 return (Param1()(evt,fsm,src,tgt)).template get_state<StateName&>(); in operator ()()
[all …]
Dtransformation.hpp99 operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
101 return std::back_inserter(T()(evt,fsm,src,tgt)); in operator ()()
108 operator()(Event const& evt,FSM& fsm,STATE& state )const in operator ()()
110 return std::back_inserter(T()(evt,fsm,state)); in operator ()()
154 operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
156 return std::front_inserter(T()(evt,fsm,src,tgt)); in operator ()()
163 operator()(Event const& evt,FSM& fsm,STATE& state )const in operator ()()
165 return std::front_inserter(T()(evt,fsm,state)); in operator ()()
209 operator()(EVT const& evt, FSM& fsm,SourceState& src,TargetState& tgt)const in operator ()()
211 return std::inserter(T()(evt,fsm,src,tgt),Pos()(evt,fsm,src,tgt)); in operator ()()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_events.c66 static SDL_Keysym *DirectFB_TranslateKey(_THIS, DFBWindowEvent * evt,
68 static SDL_Keysym *DirectFB_TranslateKeyInputEvent(_THIS, DFBInputEvent * evt,
174 ProcessWindowEvent(_THIS, SDL_Window *sdlwin, DFBWindowEvent * evt) in ProcessWindowEvent() argument
182 if (evt->clazz == DFEC_WINDOW) { in ProcessWindowEvent()
183 switch (evt->type) { in ProcessWindowEvent()
185 if (ClientXY(windata, &evt->x, &evt->y)) { in ProcessWindowEvent()
187 SDL_SendMouseMotion_ex(sdlwin, devdata->mouse_id[0], 0, evt->x, in ProcessWindowEvent()
188 evt->y, 0); in ProcessWindowEvent()
192 (evt->button)); in ProcessWindowEvent()
194 MotionAllMice(_this, evt->x, evt->y); in ProcessWindowEvent()
[all …]
DSDL_DirectFB_WM.c288 DirectFB_WM_ProcessEvent(_THIS, SDL_Window * window, DFBWindowEvent * evt) in DirectFB_WM_ProcessEvent() argument
301 switch (evt->type) { in DirectFB_WM_ProcessEvent()
303 if (evt->buttons & DIBM_LEFT) { in DirectFB_WM_ProcessEvent()
304 int pos = WMPos(windata, evt->x, evt->y); in DirectFB_WM_ProcessEvent()
333 windata->wm_lastx = evt->cx; in DirectFB_WM_ProcessEvent()
334 windata->wm_lasty = evt->cy; in DirectFB_WM_ProcessEvent()
341 if (!(evt->buttons & DIBM_LEFT)) { in DirectFB_WM_ProcessEvent()
343 int dx = evt->cx - windata->wm_lastx; in DirectFB_WM_ProcessEvent()
344 int dy = evt->cy - windata->wm_lasty; in DirectFB_WM_ProcessEvent()
372 if (evt->buttons & DIBM_LEFT) { in DirectFB_WM_ProcessEvent()
[all …]
/third_party/skia/tools/debugger/
DDebugLayerManager.cpp70 auto& evt = fDraws[{frame, nodeId}]; in drawLayerEventTo() local
71 evt.debugCanvas->drawTo(surface->getCanvas(), evt.command); in drawLayerEventTo()
116 auto* evt = fDraws.find({frame, nodeId}); in event() local
117 if (!evt) { return {}; } in event()
119 true, evt->debugCanvas->getSize(), in event()
120 evt->layerBounds.width(), evt->layerBounds.height() in event()
130 auto* evt = fDraws.find(key); in summarizeLayers() local
131 if (!evt) { continue; } in summarizeLayers()
142 item.fullRedraw = evt->fullRedraw; in summarizeLayers()
147 key.nodeId, lastUpdate, evt->fullRedraw, in summarizeLayers()
[all …]
/third_party/boost/boost/msm/front/
Dfunctor_row.hpp69 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,EVT const& evt,SourceState& src,Target… in action_call()
72 Action()(evt,fsm,src,tgt); in action_call()
76 static bool guard_call(FSM& fsm,EVT const& evt,SourceState& src,TargetState& tgt,AllStates&) in guard_call()
79 return Guard()(evt,fsm,src,tgt); in guard_call()
105 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,EVT const& evt,SourceState& src,Target… in action_call()
108 Action()(evt,fsm,src,tgt); in action_call()
123 … static bool guard_call(FSM& fsm,EVT const& evt,SourceState& src,TargetState& tgt, AllStates&) in guard_call()
126 return Guard()(evt,fsm,src,tgt); in guard_call()
141 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,EVT const& evt,SourceState& src,Target… in action_call()
144 Action()(evt,fsm,src,tgt); in action_call()
[all …]
Dstate_machine_def.hpp54 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState&,TargetSt… in action_call()
57 (fsm.*action)(evt); in action_call()
89 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState&,TargetSt… in action_call()
92 (fsm.*action)(evt); in action_call()
96 static bool guard_call(FSM& fsm,Event const& evt,SourceState&,TargetState&,AllStates&) in guard_call()
99 return (fsm.*guard)(evt); in guard_call()
115 static bool guard_call(FSM& fsm,Event const& evt,SourceState&,TargetState&,AllStates&) in guard_call()
118 return (fsm.*guard)(evt); in guard_call()
134 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState&,TargetSt… in action_call()
137 (fsm.*action)(evt); in action_call()
[all …]
Drow2.hpp50 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState& src,Targ… in action_call()
55 (fsm,evt,src,tgt,all_states, in action_call()
77 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState& src,Targ… in action_call()
82 (fsm,evt,src,tgt,all_states, in action_call()
87 static bool guard_call(FSM& fsm,Event const& evt,SourceState& src,TargetState& tgt, in guard_call()
92 (fsm,evt,src,tgt,all_states, in guard_call()
110 static bool guard_call(FSM& fsm,Event const& evt,SourceState& src,TargetState& tgt, in guard_call()
115 (fsm,evt,src,tgt,all_states, in guard_call()
133 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState& src,Targ… in action_call()
138 (fsm,evt,src,tgt,all_states, in action_call()
[all …]
Dinternal_row.hpp33 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState& src,Targ… in action_call()
38 (fsm,evt,src,tgt,all_states, in action_call()
56 …static ::boost::msm::back::HandledEnum action_call(FSM& fsm,Event const& evt,SourceState& src,Targ… in action_call()
61 (fsm,evt,src,tgt,all_states, in action_call()
66 static bool guard_call(FSM& fsm,Event const& evt,SourceState& src,TargetState& tgt, in guard_call()
71 (fsm,evt,src,tgt,all_states, in guard_call()
85 static bool guard_call(FSM& fsm,Event const& evt,SourceState& src,TargetState& tgt, in guard_call()
90 (fsm,evt,src,tgt,all_states, in guard_call()
/third_party/boost/boost/statechart/detail/
Dreaction_dispatcher.hpp53 static result react( State & stt, const EventBase & evt ) in react()
55 return Reactions::react_with_action( stt, evt ); in react()
62 State & stt, const EventBase & evt, const IdType & ) in react()
68 return reaction::react( stt, evt ); in react()
74 static result react( State & stt, const EventBase & evt ) in react()
77 stt, *polymorphic_downcast< const Event * >( &evt ) ); in react()
84 State & stt, const EventBase & evt, const IdType & eventType ) in react()
92 return reaction::react( stt, evt ); in react()
103 State & stt, const EventBase & evt, const IdType & eventType ) in react() argument
109 reaction::react( stt, evt, eventType ) ); in react()
/third_party/boost/boost/msm/back/
Dstate_machine.hpp95 direct_entry_event(Event const& evt):m_event(evt){} in direct_entry_event()
430 static bool check_guard(library_sm& fsm,transition_event const& evt) in check_guard()
432 if ( ROW::guard_call(fsm,evt, in check_guard()
440 …atic HandledEnum execute(library_sm& fsm, int region_index, int state, transition_event const& evt) in execute()
452 if (!check_guard(fsm,evt)) in execute()
461 (::boost::fusion::at_key<current_state_type>(fsm.m_substate_list),evt,fsm); in execute()
465 HandledEnum res = ROW::action_call(fsm,evt, in execute()
473 (::boost::fusion::at_key<next_state_type>(fsm.m_substate_list),evt,fsm); in execute()
510 static bool check_guard(library_sm& fsm,transition_event const& evt) in check_guard()
512 if ( ROW::guard_call(fsm,evt, in check_guard()
[all …]
/third_party/boost/boost/msm/front/detail/
Drow2_helper.hpp29 static void call_helper(FSM&,Evt const& evt,SourceState&,TargetState&, in call_helper()
33 ( ::boost::fusion::at_key<CalledForAction>(all_states).*action)(evt); in call_helper()
36 static void call_helper(FSM& fsm,Evt const& evt,SourceState&,TargetState&,AllStates&, in call_helper()
40 (fsm.*action)(evt); in call_helper()
52 static bool call_helper(FSM&,Evt const& evt,SourceState&,TargetState&, in call_helper()
56 return ( ::boost::fusion::at_key<CalledForGuard>(all_states).*guard)(evt); in call_helper()
59 static bool call_helper(FSM& fsm,Evt const& evt,SourceState&,TargetState&, in call_helper()
63 return (fsm.*guard)(evt); in call_helper()
/third_party/weston/tools/zunitc/src/
Dzuc_collector.c376 struct zuc_event *evt = zalloc(sizeof(*evt)); in unpack_event() local
377 char const *tmp = unpack_string(ptr, &evt->file); in unpack_event()
378 tmp = unpack_int32(tmp, &evt->line); in unpack_event()
381 evt->state = val; in unpack_event()
383 evt->op = val; in unpack_event()
385 evt->valtype = val; in unpack_event()
387 if (evt->valtype == ZUC_VAL_CSTR) { in unpack_event()
390 evt->val1 = (intptr_t)ptr; in unpack_event()
392 evt->val2 = (intptr_t)ptr; in unpack_event()
394 tmp = unpack_intptr_t(tmp, &evt->val1); in unpack_event()
[all …]
/third_party/boost/libs/mpl/example/fsm/
Dstate_machine.hpp47 void process_event(base_event_t const& evt) in process_event() argument
53 do_transition(evt); in process_event()
89 void post_event(std::auto_ptr<base_event_t const> evt) in post_event() argument
93 void post_event(std::unique_ptr<base_event_t const> evt) in post_event()
98 m_events_queue.push(base_event_ptr_t(evt.release())); in post_event()
127 void do_transition(base_event_t const& evt) in do_transition() argument
135 , evt in do_transition()
/third_party/boost/libs/mpl/example/fsm/aux_/
DSTT_impl_gen.hpp62 static long do_process_event(fsm_t& fsm, long state, base_event_t const& evt) in do_process_event()
64 if (typeid(typename Transition::event_t) == typeid(evt)) in do_process_event()
70 return Transition::do_transition(fsm, evt) in do_process_event()
76 return PrevRowImpl::do_process_event(fsm, state, evt); in do_process_event()
90 static long do_transition(fsm_t& fsm, long state, base_event_t const& evt) in do_transition()
93 ? PrevRowImpl::do_process_event(fsm, state, evt) in do_transition()
94 : PrevRowImpl::do_transition(fsm, state, evt) in do_transition()
/third_party/gstreamer/gstplugins_bad/tests/examples/directfb/
Dgstdfb.c381 DFBWindowEvent evt; in main() local
385 while (buffer->GetEvent (buffer, DFB_EVENT (&evt)) == DFB_OK) { in main()
388 if (evt.window_id == id1) in main()
390 else if (evt.window_id == id3) in main()
395 if (evt.type == DWET_GOTFOCUS) { in main()
398 switch (evt.type) { in main()
401 if (!grabbed && evt.button == DIBI_LEFT) { in main()
403 startx = evt.cx; in main()
404 starty = evt.cy; in main()
410 switch (evt.button) { in main()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck_log.h32 void *obj, enum cl_event evt);
35 void *obj, enum cl_event evt);
38 void *obj, enum cl_event evt);
41 void *obj, enum cl_event evt);
44 void *obj, enum cl_event evt);
Dcheck_log.c43 static void srunner_send_evt (SRunner * sr, void *obj, enum cl_event evt);
178 srunner_send_evt (SRunner * sr, void *obj, enum cl_event evt) in srunner_send_evt() argument
187 lg->lfun (sr, lg->lfile, lg->mode, obj, evt); in srunner_send_evt()
194 void *obj, enum cl_event evt) in stdout_lfun() argument
198 switch (evt) { in stdout_lfun()
239 enum cl_event evt) in lfile_lfun() argument
244 switch (evt) { in lfile_lfun()
277 enum cl_event evt) in xml_lfun() argument
295 switch (evt) { in xml_lfun()
346 enum cl_event evt) in tap_lfun() argument
[all …]
/third_party/boost/boost/statechart/
Dcustom_reaction.hpp37 State & stt, const EventBase & evt, const IdType & eventType ) in react() argument
42 stt.react( *polymorphic_downcast< const Event * >( &evt ) ) ); in react()
61 State & stt, const EventBase & evt, const IdType & ) in react() argument
63 return detail::result_utility::get_result( stt.react( evt ) ); in react()
Dtransition.hpp41 static result react_with_action( State & stt, const Event & evt ) in react_with_action()
43 return stt.template transit< Destination >( pTransitionAction, evt ); in react_with_action()
54 State & stt, const EventBase & evt, const IdType & eventType ) in react() argument
59 return dispatcher::react( stt, evt, eventType ); in react()
Din_state_reaction.hpp43 static result react_with_action( State & stt, const Event & evt ) in react_with_action()
45 ( stt.template context< ReactionContext >().*pAction )( evt ); in react_with_action()
57 State & stt, const EventBase & evt, const IdType & eventType ) in react() argument
62 return dispatcher::react( stt, evt, eventType ); in react()

12345678