Searched refs:handler (Results 1 - 25 of 217) sorted by relevance

123456789

/xsrc/external/mit/libFS/dist/src/
H A DFSErrHndlr.c58 FSSetErrorHandler(FSErrorHandler handler) argument
62 if (handler != NULL) {
63 _FSErrorFunction = handler;
71 FSSetIOErrorHandler(FSIOErrorHandler handler) argument
75 if (handler != NULL) {
76 _FSIOErrorFunction = handler;
/xsrc/external/mit/libX11/dist/src/
H A DErrHndlr.c33 * XErrorHandler - This procedure sets the X non-fatal error handler
35 * the original error handler is restored.
39 XSetErrorHandler(XErrorHandler handler) argument
49 if (handler != NULL) {
50 _XErrorFunction = handler;
61 * XIOErrorHandler - This procedure sets the X fatal I/O error handler
63 * the original error handler is restored.
67 XSetIOErrorHandler(XIOErrorHandler handler) argument
77 if (handler != NULL) {
78 _XIOErrorFunction = handler;
95 XSetIOErrorExitHandler(Display * dpy,XIOErrorExitHandler handler,void * user_data) argument
[all...]
/xsrc/external/mit/libXt/dist/src/
H A DError.c440 XtSetErrorMsgHandler(XtErrorMsgHandler handler _X_NORETURN)
444 if (handler != NULL)
445 errorMsgHandler = handler;
450 XtAppSetErrorMsgHandler(_XtDefaultAppContext(), handler);
456 XtErrorMsgHandler handler _X_NORETURN)
463 if (handler != NULL)
464 errorMsgHandler = handler;
471 if (handler != NULL)
472 app->errorMsgHandler = handler;
481 XtSetWarningMsgHandler(XtErrorMsgHandler handler) argument
496 XtAppSetWarningMsgHandler(XtAppContext app _X_UNUSED,XtErrorMsgHandler handler) argument
630 XtSetWarningHandler(XtErrorHandler handler) argument
645 XtAppSetWarningHandler(XtAppContext app _X_UNUSED,XtErrorHandler handler) argument
[all...]
/xsrc/external/mit/xcb-util/dist/event/
H A Devent.c76 if(eventh->handler)
77 return eventh->handler(eventh->data, evenths->c, event);
104 set_handler(xcb_generic_event_handler_t handler, void *data, xcb_event_handler_t *place) argument
106 xcb_event_handler_t eventh = { handler, data };
111 xcb_event_set_handler(xcb_event_handlers_t *evenths, int event, xcb_generic_event_handler_t handler, void *data) argument
113 set_handler(handler, data, get_event_handler(evenths, event));
117 xcb_event_set_error_handler(xcb_event_handlers_t *evenths, int error, xcb_generic_error_handler_t handler, void *data) argument
119 set_handler((xcb_generic_event_handler_t) handler, data, get_error_handler(evenths, error));
H A Dxcb_event.h65 xcb_generic_event_handler_t handler; member in struct:xcb_event_handler
80 * @param evenths A pointer to the event handler data structure to initialize.
92 * @brief Wait for event and handle it with event handler.
98 * @brief Poll for event and handle it with event handler.
108 * @return The return value of the handler, or 0 if no handler exists for this
114 * @brief Set an event handler for an event type.
117 * @param handler The callback function to call for this event type.
118 * @param data Optional data pointer to pass to handler callback function.
120 void xcb_event_set_handler(xcb_event_handlers_t *evenths, int event, xcb_generic_event_handler_t handler, voi
[all...]
/xsrc/external/mit/xcb-util/dist/property/
H A Dproperty.c63 ret = h->handler(h->data, c, state, window, atom, propr);
78 if(prophs->def.handler)
122 set_prop_handler(xcb_property_handler_t *cur, uint32_t long_len, xcb_generic_property_handler_t handler, void *data) argument
125 cur->handler = handler;
130 xcb_property_set_handler(xcb_property_handlers_t *prophs, xcb_atom_t name, uint32_t long_len, xcb_generic_property_handler_t handler, void *data) argument
137 set_prop_handler(&cur->h, long_len, handler, data);
143 xcb_property_set_default_handler(xcb_property_handlers_t *prophs, uint32_t long_len, xcb_generic_property_handler_t handler, void *data) argument
145 set_prop_handler(&prophs->def, long_len, handler, data);
H A Dxcb_property.h51 xcb_generic_property_handler_t handler; member in struct:__anoneb3346fb0108
99 * @brief Wipe a property handler structure.
113 * @brief Set a property handler for an event.
118 * @param handler The handler callback function.
119 * @param data Optional data that will be passed as argument of the handler
126 xcb_generic_property_handler_t handler,
130 * @brief Set the default property handler.
131 * If a property does not have its own handler function, this one will be
137 * @param handler Th
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86Events.c95 * Wakeup handler.
215 * Os wakeup handler.
228 * input thread handler
522 /* Input handler registration */
581 * Set the handler for the console's fd. Replaces (and returns) the previous
582 * handler or NULL, whichever appropriate.
588 static IHPtr handler = NULL; local in function:xf86SetConsoleHandler
591 if (handler) {
592 old_proc = handler->ihproc;
593 xf86RemoveGeneralHandler(handler);
621 xf86RemoveInputHandler(void * handler) argument
638 xf86RemoveGeneralHandler(void * handler) argument
655 xf86DisableInputHandler(void * handler) argument
669 xf86DisableGeneralHandler(void * handler) argument
683 xf86EnableInputHandler(void * handler) argument
697 xf86EnableGeneralHandler(void * handler) argument
[all...]
/xsrc/external/mit/xcb-util/dist/reply/
H A Dxcb_reply.h54 xcb_generic_reply_handler_t handler; member in struct:xcb_reply_node
87 * @return The value return by the handler callback function, or 0 if no
88 * handler was found.
106 * @brief Add a reply handler.
109 * @param handler The handler to call for this request.
112 void xcb_reply_add_handler(xcb_reply_handlers_t *h, unsigned int request, xcb_generic_reply_handler_t handler, void *data);
H A Dreply.c92 cur->handler(cur->data, h->c, reply, error);
134 xcb_reply_add_handler(xcb_reply_handlers_t *h, unsigned int request, xcb_generic_reply_handler_t handler, void *data) argument
138 cur->handler = handler;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86Events.c111 * Wakeup handler.
238 * Os wakeup handler.
290 * signal handler for the SIGIO signal.
553 /* Input handler registration */
599 * Set the handler for the console's fd. Replaces (and returns) the previous
600 * handler or NULL, whichever appropriate.
606 static IHPtr handler = NULL; local in function:xf86SetConsoleHandler
607 IHPtr old_handler = handler;
612 handler = xf86AddGeneralHandler(xf86Info.consoleFd, proc, data);
635 xf86RemoveInputHandler(pointer handler) argument
654 xf86RemoveGeneralHandler(pointer handler) argument
673 xf86DisableInputHandler(pointer handler) argument
687 xf86DisableGeneralHandler(pointer handler) argument
701 xf86EnableInputHandler(pointer handler) argument
715 xf86EnableGeneralHandler(pointer handler) argument
[all...]
/xsrc/external/mit/libSM/dist/src/
H A Dsm_error.c42 * Default Smc error handler.
166 * Default Sms error handler.
280 * This procedure sets the Smc error handler to be the specified
281 * routine. If NULL is passed in the default error handler is restored.
282 * The function's return value is the previous error handler.
286 SmcSetErrorHandler(SmcErrorHandler handler)
290 if (handler != NULL)
291 _SmcErrorHandler = handler;
302 * This procedure sets the Sms error handler to be the specified
303 * routine. If NULL is passed in the default error handler i
283 SmcSetErrorHandler(SmcErrorHandler handler) argument
304 SmsSetErrorHandler(SmsErrorHandler handler) argument
[all...]
/xsrc/external/mit/luit/dist/
H A Dsys.h37 int installHandler(int signum, void (*handler) (int));
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_drm_queue.c51 amdgpu_drm_handler_proc handler; member in struct:amdgpu_drm_queue_entry
72 if (e->handler) {
73 e->handler(e->crtc, e->frame, e->usec, e->data);
101 if (!e->handler) {
174 * appears, we've got data to pass to the handler from here
179 amdgpu_drm_handler_proc handler,
197 e->handler = handler;
210 * but then it calls the abort functions instead of the handler
220 e->handler
177 amdgpu_drm_queue_alloc(xf86CrtcPtr crtc,ClientPtr client,uint64_t id,void * data,amdgpu_drm_handler_proc handler,amdgpu_drm_abort_proc abort,Bool is_flip) argument
[all...]
H A Damdgpu_drm_queue.h48 amdgpu_drm_handler_proc handler,
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_drm_queue.c51 radeon_drm_handler_proc handler; member in struct:radeon_drm_queue_entry
72 if (e->handler) {
73 e->handler(e->crtc, e->frame, e->usec, e->data);
101 if (!e->handler) {
174 * appears, we've got data to pass to the handler from here
179 radeon_drm_handler_proc handler,
197 e->handler = handler;
210 * but then it calls the abort functions instead of the handler
220 e->handler
177 radeon_drm_queue_alloc(xf86CrtcPtr crtc,ClientPtr client,uint64_t id,void * data,radeon_drm_handler_proc handler,radeon_drm_abort_proc abort,Bool is_flip) argument
[all...]
H A Dradeon_drm_queue.h46 radeon_drm_handler_proc handler,
/xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
H A Dglut_vidresize.c80 int (*handler) (Display *, XErrorEvent *); local in function:glutVideoResizeGet
90 handler to intercept what would otherwise be a fatal
93 handler = XSetErrorHandler(catchXSGIvcErrors);
103 XSetErrorHandler(handler);
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dglut_vidresize.c78 int (*handler) (Display *, XErrorEvent *); local in function:glutVideoResizeGet
88 handler to intercept what would otherwise be a fatal
91 handler = XSetErrorHandler(catchXSGIvcErrors);
104 XSetErrorHandler(handler);
/xsrc/external/mit/xsm/dist/
H A Dsignals.c77 Signal(int sig, void (*handler)(int))
81 sigact.sa_handler = handler;
86 signal(sig, handler);
102 * The wait() above must come before re-establishing the signal handler.
172 * If child process dies, call our handler
205 * handler because if it catches the signal, system() will block
218 * Re-enable our sig child handler. We might have missed some signals,
76 Signal(int sig,void (* handler)(int)) argument
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmieq.c85 mieqHandler handlers[128]; /* custom event handler */
294 mieqSetHandler(int event, mieqHandler handler) argument
296 if (handler && miEventQueue.handlers[event] != handler)
297 ErrorF("[mi] mieq: warning: overriding existing handler %p with %p for "
298 "event %d\n", miEventQueue.handlers[event], handler, event);
300 miEventQueue.handlers[event] = handler;
451 mieqHandler handler; local in function:mieqProcessDeviceEvent
461 /* Custom event handler */
462 handler
[all...]
/xsrc/external/mit/libepoxy/dist/include/epoxy/
H A Dgl.h97 * the type of the stub function that the failure handler must return;
103 /* the type of the failure handler itself */
108 epoxy_set_resolver_failure_handler(epoxy_resolver_failure_handler_t handler);
/xsrc/external/mit/editres/dist/
H A DMakefile.am35 handler.c \
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmieq.c77 mieqHandler handlers[128]; /* custom event handler */
240 mieqSetHandler(int event, mieqHandler handler) argument
245 if (handler && miEventQueue.handlers[event])
246 ErrorF("[mi] mieq: warning: overriding existing handler %p with %p for "
247 "event %d\n", miEventQueue.handlers[event], handler, event);
249 miEventQueue.handlers[event] = handler;
372 mieqHandler handler; local in function:mieqProcessDeviceEvent
379 /* Custom event handler */
380 handler = miEventQueue.handlers[event->any.type];
390 if (dev && screen && screen != DequeueScreen(dev) && !handler) {
[all...]
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dxiproperty.c521 /* Registers a new property handler on the given device and returns a unique
522 * identifier for this handler. This identifier is required to unregister the
523 * property handler again.
524 * @return The handler's identifier or 0 if an error occurred.
662 XIPropertyHandlerPtr handler = device->properties.handlers; local in function:XIDeleteDeviceProperty
664 while (handler) {
665 if (handler->DeleteProperty)
666 rc = handler->DeleteProperty(device, prop->propertyName);
669 handler = handler
760 XIPropertyHandlerPtr handler; local in function:XIChangeDeviceProperty
820 XIPropertyHandlerPtr handler = dev->properties.handlers; local in function:XIGetDeviceProperty
[all...]

Completed in 17 milliseconds

123456789