Home
last modified time | relevance | path

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

123

/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 …]
Dtest_xmlrpc.py604 def http_server(evt, numrequests, requestHandler=None, encoding=None): argument
654 evt.set()
666 evt.set()
668 def http_multi_server(evt, numrequests, requestHandler=None): argument
724 evt.set()
736 evt.set()
782 self.evt = threading.Event()
784 serv_args = (self.evt, self.request_count, self.requestHandler)
790 self.evt.wait()
791 self.evt.clear()
[all …]
Dtest_telnetlib.py13 def server(evt, serv): argument
15 evt.set()
27 self.evt = threading.Event()
31 self.thread = threading.Thread(target=server, args=(self.evt,self.sock))
34 self.evt.wait()
Dtest_ftplib.py1041 self.evt = threading.Event()
1049 self.evt.wait()
1050 self.evt.clear()
1067 self.evt.set()
1076 self.evt.set()
1090 self.evt.wait()
1102 self.evt.wait()
1109 self.evt.wait()
1120 self.evt.wait()
1127 self.evt.wait()
[all …]
Dtest_poplib.py488 self.evt = threading.Event()
492 self.thread = threading.Thread(target=self.server, args=(self.evt, self.sock))
495 self.evt.wait()
502 def server(self, evt, serv): argument
504 evt.set()
/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 …]
DSDL_DirectFB_WM.h48 DFBWindowEvent * evt);
/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/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.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 …]
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);
/third_party/mesa3d/src/util/perf/
Du_trace.c120 const struct u_trace_event *evt,
152 const struct u_trace_event *evt, in print_txt_event() argument
155 if (evt->tp->print) { in print_txt_event()
156 fprintf(utctx->out, "%016"PRIu64" %+9d: %s: ", ns, delta, evt->tp->name); in print_txt_event()
157 evt->tp->print(utctx->out, evt->payload); in print_txt_event()
159 fprintf(utctx->out, "%016"PRIu64" %+9d: %s\n", ns, delta, evt->tp->name); in print_txt_event()
221 const struct u_trace_event *evt, in print_json_event() argument
226 fprintf(utctx->out, "{\n\"event\": \"%s\",\n", evt->tp->name); in print_json_event()
229 if (evt->tp->print) in print_json_event()
230 evt->tp->print_json(utctx->out, evt->payload); in print_json_event()
[all …]
/third_party/jsframework/runtime/main/model/
Dindex.ts285 const evt = new Evt(type, detail); constant
287 results.push(handler.call(this, evt, ...args));
325 const evt = new Evt(type, detail); constant
326 this.$emit(type, evt);
327 if (!evt.hasStopped() && this.__parent && this.__parent.$dispatch) {
328 this.__parent.$dispatch(type, evt);
342 const evt = new Evt(type, detail); constant
343 this.$emit(type, evt);
344 if (!evt.hasStopped() && this.__childrenVms) {
346 subVm.$broadcast(type, evt);
[all …]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarCalc.java456 public void actionPerformed(ActionEvent evt) in actionPerformed() argument
459 Object obj = evt.getSource(); in actionPerformed()
462 if (evt.getSource() == up) { in actionPerformed()
465 if (evt.getSource() == down) { in actionPerformed()
476 protected void processKeyEvent(KeyEvent evt) in processKeyEvent() argument
478 System.out.println("key " + evt); in processKeyEvent()
479 if (evt.getID() == KeyEvent.KEY_RELEASED) { in processKeyEvent()
480 if (evt.getSource() == patternText) { in processKeyEvent()
485 if (evt.getSource() == calendars[i].text) { in processKeyEvent()
493 protected void processWindowEvent(WindowEvent evt) in processWindowEvent() argument
[all …]
/third_party/libevdev/doc/html/search/
Dsearch.js180 this.OnSearchFieldChange = function(evt) argument
188 var e = (evt) ? evt : window.event; // for IE
292 this.OnSearchSelectKey = function(evt) argument
294 var e = (evt) ? evt : window.event; // for IE
612 this.Nav = function(evt,itemIndex) argument
614 var e = (evt) ? evt : window.event; // for IE
690 this.NavChild = function(evt,itemIndex,childIndex) argument
692 var e = (evt) ? evt : window.event; // for IE
/third_party/libjpeg-turbo/doc/html/search/
Dsearch.js178 this.OnSearchFieldChange = function(evt) argument
186 var e = (evt) ? evt : window.event; // for IE
290 this.OnSearchSelectKey = function(evt) argument
292 var e = (evt) ? evt : window.event; // for IE
610 this.Nav = function(evt,itemIndex) argument
612 var e = (evt) ? evt : window.event; // for IE
688 this.NavChild = function(evt,itemIndex,childIndex) argument
690 var e = (evt) ? evt : window.event; // for IE
/third_party/skia/third_party/externals/oboe/docs/reference/search/
Dsearch.js177 this.OnSearchFieldChange = function(evt) argument
185 var e = (evt) ? evt : window.event; // for IE
290 this.OnSearchSelectKey = function(evt) argument
292 var e = (evt) ? evt : window.event; // for IE
610 this.Nav = function(evt,itemIndex) argument
612 var e = (evt) ? evt : window.event; // for IE
688 this.NavChild = function(evt,itemIndex,childIndex) argument
690 var e = (evt) ? evt : window.event; // for IE
/third_party/python/Mac/PythonLauncher/
Ddoscript.m18 AppleEvent evt, res;
30 &evt, NULL,
39 err = AESendMessage(&evt, &res, kAEWaitReply, kAEDefaultTimeout);
40 AEDisposeDesc(&evt);
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11events.c431 XEvent evt; in InitiateWindowMove() local
437 evt.xclient.type = ClientMessage; in InitiateWindowMove()
438 evt.xclient.window = data->xwindow; in InitiateWindowMove()
439 evt.xclient.message_type = X11_XInternAtom(display, "_NET_WM_MOVERESIZE", True); in InitiateWindowMove()
440 evt.xclient.format = 32; in InitiateWindowMove()
441 evt.xclient.data.l[0] = window->x + point->x; in InitiateWindowMove()
442 evt.xclient.data.l[1] = window->y + point->y; in InitiateWindowMove()
443 evt.xclient.data.l[2] = _NET_WM_MOVERESIZE_MOVE; in InitiateWindowMove()
444 evt.xclient.data.l[3] = Button1; in InitiateWindowMove()
445 evt.xclient.data.l[4] = 0; in InitiateWindowMove()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstaspectratiocrop.c92 GstObject * parent, GstEvent * evt);
154 GstEvent * evt) in gst_aspect_ratio_crop_sink_event() argument
158 switch (GST_EVENT_TYPE (evt)) { in gst_aspect_ratio_crop_sink_event()
163 gst_event_parse_caps (evt, &caps); in gst_aspect_ratio_crop_sink_event()
171 return gst_pad_event_default (pad, parent, evt); in gst_aspect_ratio_crop_sink_event()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.h142 enum vgt_event_type evt, bool timestamp) in fd5_event_write() argument
145 OUT_RING(ring, CP_EVENT_WRITE_0_EVENT(evt)); in fd5_event_write()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch.h392 enum vgt_event_type evt) in fd_event_write() argument
395 OUT_RING(ring, evt); in fd_event_write()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.h153 enum vgt_event_type evt, bool timestamp) in fd6_event_write() argument
160 OUT_RING(ring, CP_EVENT_WRITE_0_EVENT(evt)); in fd6_event_write()

123