Searched refs:event (Results 1 - 25 of 733) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
H A Dinterop.cpp24 #include "core/event.hpp"
32 opencl_dri_event_add_ref(cl_event event) argument
34 /* This should fail if the event hasn't been created by
39 return false; /*return clRetainEvent(event) == CL_SUCCESS;*/
43 opencl_dri_event_release(cl_event event) argument
45 return clReleaseEvent(event) == CL_SUCCESS;
49 opencl_dri_event_wait(cl_event event, uint64_t timeout) try { argument
51 return obj(event).status() == CL_COMPLETE;
54 obj(event).wait();
62 opencl_dri_event_get_fence(cl_event event) tr argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
H A Dinterop.cpp24 #include "core/event.hpp"
32 opencl_dri_event_add_ref(cl_event event) argument
34 /* This should fail if the event hasn't been created by
39 return false; /*return clRetainEvent(event) == CL_SUCCESS;*/
43 opencl_dri_event_release(cl_event event) argument
45 return clReleaseEvent(event) == CL_SUCCESS;
49 opencl_dri_event_wait(cl_event event, uint64_t timeout) try { argument
51 return obj(event).status() == CL_COMPLETE;
54 obj(event).wait();
62 opencl_dri_event_get_fence(cl_event event) tr argument
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DFreeEventData.c31 XFreeEventData(Display *dpy, XGenericEventCookie *event) argument
34 if (_XIsEventCookie(dpy, (XEvent*)event) && event->data)
36 XFree(event->data);
37 event->data = NULL;
38 event->cookie = 0;
H A DEvToWire.c41 * Reformat an XEvent structure to a wire event of the right type.
49 register xEvent *event) /* out: to */
51 switch (event->u.u.type = re->type) {
56 event->u.keyButtonPointer.root = ev->root;
57 event->u.keyButtonPointer.event = ev->window;
58 event->u.keyButtonPointer.child = ev->subwindow;
59 event->u.keyButtonPointer.time = ev->time;
60 event->u.keyButtonPointer.eventX = ev->x ;
61 event
46 _XEventToWire(register Display * dpy,register XEvent * re,register xEvent * event) argument
[all...]
H A DPeekEvent.c33 * Return the next event in the queue,
35 * If none found, flush and wait until there is an event to peek.
41 register XEvent *event)
47 *event = (dpy->head)->event;
48 if (_XCopyEventCookie(dpy, &event->xcookie, &copy.xcookie)) {
50 *event = copy;
39 XPeekEvent(register Display * dpy,register XEvent * event) argument
H A DGetEventData.c31 XGetEventData(Display *dpy, XGenericEventCookie *event) argument
36 rc = _XFetchEventCookie(dpy, event);
H A DNextEvent.c33 * Return next event in queue, or if none, flush output and wait for
40 register XEvent *event)
52 *event = qelt->event;
54 _XStoreEventCookie(dpy, event);
38 XNextEvent(register Display * dpy,register XEvent * event) argument
H A DPutBEvent.c29 /* XPutBackEvent puts an event back at the head of the queue. */
38 XEvent *event)
41 XEvent store = *event;
51 if (_XIsEventCookie(dpy, event))
55 if (!event->xcookie.data) {
56 _XFetchEventCookie(dpy, &event->xcookie);
57 store = *event;
59 _XCopyEventCookie(dpy, &event->xcookie, &copy.xcookie);
68 qelt->event = store;
79 register XEvent *event)
36 _XPutBackEvent(Display * dpy,XEvent * event) argument
77 XPutBackEvent(register Display * dpy,register XEvent * event) argument
[all...]
H A DChkTypWEv.c41 int type, /* Selected event type. */
42 register XEvent *event) /* XEvent to be filled in. */
58 if ((qelt->event.xany.window == w) &&
59 (qelt->event.type == type)) {
60 *event = qelt->event;
62 _XStoreEventCookie(dpy, event);
78 /* another thread has snatched this event */
38 XCheckTypedWindowEvent(register Display * dpy,Window w,int type,register XEvent * event) argument
/xsrc/external/mit/libXt/dist/src/
H A DGetActKey.c77 XtGetActionKeysym(XEvent *event, Modifiers *modifiers_return) argument
84 tm_context = _XtGetPerDisplay(event->xany.display)->tm_context;
86 if (event->xany.type != KeyPress && event->xany.type != KeyRelease) {
91 && event == tm_context->event
92 && event->xany.serial == tm_context->serial) {
101 XtTranslateKeycode(event->xany.display, (KeyCode)event->xkey.keycode,
102 event
[all...]
/xsrc/external/mit/xcb-util/dist/event/
H A DMakefile.am4 lib_LTLIBRARIES = libxcb-event.la
10 libxcb_event_la_SOURCES = event.c
15 pkgconfig_DATA = xcb-event.pc
17 EXTRA_DIST = xcb-event.pc.in
H A Devent.c50 get_event_handler(xcb_event_handlers_t *evenths, int event) argument
52 assert(event < 256);
53 event &= XCB_EVENT_RESPONSE_TYPE_MASK;
54 assert(event >= 2);
55 return &evenths->event[event - 2];
66 xcb_event_handle(xcb_event_handlers_t *evenths, xcb_generic_event_t *event) argument
69 assert(event->response_type != 1);
71 if(event->response_type == 0)
72 eventh = get_error_handler(evenths, ((xcb_generic_error_t *) event)
84 xcb_generic_event_t *event; local in function:xcb_event_wait_for_event_loop
95 xcb_generic_event_t *event; local in function:xcb_event_poll_for_event_loop
111 xcb_event_set_handler(xcb_event_handlers_t * evenths,int event,xcb_generic_event_handler_t handler,void * data) argument
[all...]
/xsrc/external/mit/xinput/dist/src/
H A Dtest_xi2.c44 static void print_deviceevent(XIDeviceEvent* event) argument
49 printf(" device: %d (%d)\n", event->deviceid, event->sourceid);
50 printf(" time: %ld\n", event->time);
51 printf(" detail: %d\n", event->detail);
52 switch(event->evtype) {
55 printf(" flags: %s\n", (event->flags & XIKeyRepeat) ? "repeat" : "");
61 printf(" flags: %s\n", (event->flags & XIPointerEmulated) ? "emulated" : "");
69 (event->flags & XITouchPendingEnd) ? " pending_end" : "",
70 (event
101 print_devicechangedevent(Display * dpy,XIDeviceChangedEvent * event) argument
110 print_hierarchychangedevent(XIHierarchyEvent * event) argument
157 print_rawevent(XIRawEvent * event) argument
184 print_enterleave(XILeaveEvent * event) argument
235 print_propertyevent(Display * display,XIPropertyEvent * event) argument
287 XIDeviceEvent *event = (XIDeviceEvent*)&ev; local in function:test_sync_grab
424 XEvent event; local in function:test_xi2
[all...]
/xsrc/external/mit/libX11/dist/modules/im/ximcp/
H A DimEvToWire.c46 register XEvent *re, /* pointer to where event should be reformatted */
47 register xEvent *event, /* wire protocol event */
50 switch (event->u.u.type = re->type) {
55 event->u.keyButtonPointer.root = sw32(ev->root, sw);
56 event->u.keyButtonPointer.event =
58 event->u.keyButtonPointer.child =
60 event->u.keyButtonPointer.time = sw32(ev->time, sw);
61 event
45 _XimProtoEventToWire(register XEvent * re,register xEvent * event,Bool sw) argument
422 _XimProtoWireToEvent(register XEvent * re,register xEvent * event,Bool sw) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/input/
H A DChkNotMaskEv.h39 extern Bool XCheckNotMaskEvent (Display *dpy, long mask, XEvent *event);
/xsrc/external/mit/libXmu/dist/include/X11/Xmu/
H A DLookup.h40 XKeyEvent *event,
48 XKeyEvent *event,
55 XKeyEvent *event,
62 XKeyEvent *event,
69 XKeyEvent *event,
76 XKeyEvent *event,
83 XKeyEvent *event,
90 XKeyEvent *event,
97 XKeyEvent *event,
104 XKeyEvent *event,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/templates/
H A Dgen_ar_eventhandler.hpp55 event = protos['events']['defs'][event_key]
56 %> virtual void Handle(const ${event['name']}& event) {} argument
/xsrc/external/mit/libXmu/dist/src/
H A DDefErrMsg.c41 XmuPrintDefaultErrorMessage(Display *dpy, XErrorEvent *event, FILE *fp) argument
49 XGetErrorText(dpy, event->error_code, buffer, BUFSIZ);
54 (void) fprintf(fp, mesg, event->request_code);
55 if (event->request_code < 128) {
56 XmuSnprintf(number, sizeof(number), "%d", event->request_code);
61 ext && (ext->codes.major_opcode != event->request_code);
71 if (event->request_code >= 128) {
74 (void) fprintf(fp, mesg, event->minor_code);
77 "%s.%d", ext->name, event->minor_code);
83 if (event
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Devent.hpp39 /// An event consists of a list of dependencies, a boolean
40 /// signalled() flag, and an associated task. An event is
53 class event : public ref_counter, public _cl_event { class in namespace:clover
55 typedef std::function<void (event &)> action;
57 event(clover::context &ctx, const ref_vector<event> &deps,
59 virtual ~event();
61 event(const event &ev) = delete;
62 event
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Devent.hpp39 /// An event consists of a list of dependencies, a boolean
40 /// signalled() flag, and an associated task. An event is
53 class event : public ref_counter, public _cl_event { class in namespace:clover
55 typedef std::function<void (event &)> action;
57 event(clover::context &ctx, const ref_vector<event> &deps,
59 virtual ~event();
61 event(const event &ev) = delete;
62 event
[all...]
H A Devent.cpp23 #include "core/event.hpp"
28 event::event(clover::context &ctx, const ref_vector<event> &deps, function in class:event
36 event::~event() {
39 std::vector<intrusive_ref<event>>
40 event::trigger_self() {
42 std::vector<intrusive_ref<event>> evs;
52 event
[all...]
/xsrc/external/mit/xorg-server/dist/xkb/
H A DxkbPrKeyEv.c47 XkbProcessKeyboardEvent(DeviceEvent *event, DeviceIntPtr keybd) argument
56 key = event->detail.key;
59 (event->type == ET_KeyPress ? "down" : "up"));
61 if (xkbi->repeatKey == key && event->type == ET_KeyRelease &&
76 if (event->type == ET_KeyPress && !event->key_repeat &&
79 else if (event->type == ET_KeyRelease &&
84 if (event->type == ET_KeyRelease)
87 event->type = ET_KeyRelease;
94 if (event
171 DeviceEvent *event = &ev->device_event; local in function:ProcessKeyboardEvent
[all...]
/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DxkbPrKeyEv.c47 XkbProcessKeyboardEvent(DeviceEvent *event, DeviceIntPtr keybd) argument
56 key = event->detail.key;
58 DebugF("[xkb] XkbPKE: Key %d %s\n",key,(event->type == ET_KeyPress?"down":"up"));
60 if (xkbi->repeatKey == key && event->type== ET_KeyRelease &&
75 if (event->type == ET_KeyPress && !event->key_repeat &&
78 else if (event->type == ET_KeyRelease &&
83 if (event->type == ET_KeyRelease)
86 event->type = ET_KeyRelease;
93 if (event
151 DeviceEvent *event = &ev->device_event; local in function:ProcessKeyboardEvent
[all...]
/xsrc/external/mit/xorg-server/dist/present/
H A Dpresent_event.c49 present_event_ptr event; local in function:present_free_events
54 while ((event = window_priv->events))
55 FreeResource(event->id, RT_NONE);
128 present_event_ptr event; local in function:present_send_config_notify
130 for (event = window_priv->events; event; event = event->next) {
131 if (event->mask & (1 << PresentConfigureNotify)) {
132 cn.eid = event
166 present_event_ptr event; local in function:present_send_complete_notify
196 present_event_ptr event; local in function:present_send_idle_notify
211 present_event_ptr event; local in function:present_select_input
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/examples/
H A Dev.c27 * This is a simple test program that reads from /dev/input/event*,
47 struct input_event event; variable in typeref:struct:input_event
63 sprintf(name, "/dev/input/event%d", i);
95 sprintf(name, "/dev/input/event%d", atoi(argv[1]));
99 event.time.tv_sec = time(0);
100 event.time.tv_usec = 0;
101 event.type = EV_LED;
102 event.code = i;
103 event.value = 0;
104 write(fd, &event, sizeo
[all...]

Completed in 19 milliseconds

1234567891011>>