HomeSort by: relevance | last modified time | path
    Searched refs:handler (Results 1 - 25 of 109) sorted by relevancy

1 2 3 4 5

  /xsrc/external/mit/libFS/dist/src/
FSErrHndlr.c 58 FSSetErrorHandler(FSErrorHandler handler)
62 if (handler != NULL) {
63 _FSErrorFunction = handler;
71 FSSetIOErrorHandler(FSIOErrorHandler handler)
75 if (handler != NULL) {
76 _FSIOErrorFunction = handler;
  /xsrc/external/mit/libX11/dist/src/
ErrHndlr.c 33 * XErrorHandler - This procedure sets the X non-fatal error handler
35 * the original error handler is restored.
39 XSetErrorHandler(XErrorHandler handler)
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)
77 if (handler != NULL) {
78 _XIOErrorFunction = handler;
    [all...]
  /xsrc/external/mit/libXt/dist/src/
Error.c 440 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)
    [all...]
  /xsrc/external/mit/xcb-util/dist/event/
event.c 76 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)
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)
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)
119 set_handler((xcb_generic_event_handler_t) handler, data, get_error_handler(evenths, error));
xcb_event.h 65 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, void *data)
    [all...]
  /xsrc/external/mit/xcb-util/dist/property/
property.c 63 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)
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)
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)
145 set_prop_handler(&prophs->def, long_len, handler, data);
xcb_property.h 51 xcb_generic_property_handler_t handler; member in struct:__anon6568
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 The handler callback function
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
xf86Events.c 95 * 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
591 if (handler) {
592 old_proc = handler->ihproc;
593 xf86RemoveGeneralHandler(handler);
    [all...]
  /xsrc/external/mit/xcb-util/dist/reply/
xcb_reply.h 54 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);
reply.c 92 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)
138 cur->handler = handler;
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
xf86Events.c 111 * 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
607 IHPtr old_handler = handler;
612 handler = xf86AddGeneralHandler(xf86Info.consoleFd, proc, data);
635 xf86RemoveInputHandler(pointer handler)
    [all...]
  /xsrc/external/mit/libSM/dist/src/
sm_error.c 42 * 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 is restored
    [all...]
  /xsrc/external/mit/luit/dist/
sys.h 37 int installHandler(int signum, void (*handler) (int));
  /xsrc/external/mit/xf86-video-amdgpu/dist/src/
amdgpu_drm_queue.c 51 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 = NULL
    [all...]
amdgpu_drm_queue.h 48 amdgpu_drm_handler_proc handler,
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
radeon_drm_queue.c 51 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 = NULL
    [all...]
radeon_drm_queue.h 46 radeon_drm_handler_proc handler,
  /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
glut_vidresize.c 80 int (*handler) (Display *, XErrorEvent *);
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/
glut_vidresize.c 78 int (*handler) (Display *, XErrorEvent *);
88 handler to intercept what would otherwise be a fatal
91 handler = XSetErrorHandler(catchXSGIvcErrors);
104 XSetErrorHandler(handler);
  /xsrc/external/mit/xorg-server/dist/mi/
mieq.c 85 mieqHandler handlers[128]; /* custom event handler */
294 mieqSetHandler(int event, mieqHandler handler)
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
461 /* Custom event handler */
462 handler = miEventQueue.handlers[event->any.type]
    [all...]
  /xsrc/external/mit/xsm/dist/
signals.c 77 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,
  /xsrc/external/mit/libepoxy/dist/include/epoxy/
gl.h 97 * 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/
Makefile.am 35 handler.c \
  /xsrc/external/mit/xorg-server.old/dist/mi/
mieq.c 77 mieqHandler handlers[128]; /* custom event handler */
240 mieqSetHandler(int event, mieqHandler handler)
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
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/
xiproperty.c 521 /* 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
664 while (handler) {
665 if (handler->DeleteProperty)
666 rc = handler->DeleteProperty(device, prop->propertyName);
669 handler = handler->next
760 XIPropertyHandlerPtr handler; local
820 XIPropertyHandlerPtr handler = dev->properties.handlers; local
    [all...]

Completed in 25 milliseconds

1 2 3 4 5