Lines Matching refs:async
943 _XAsyncHandler *async;
968 DeqAsyncHandler(dpy, state->async);
969 Xfree(state->async);
975 DeqAsyncHandler(dpy, state->async);
976 Xfree(state->async);
984 DeqAsyncHandler(dpy, state->async);
985 Xfree(state->async);
1002 DeqAsyncHandler(dpy, state->async);
1003 Xfree(state->async);
1025 _XAsyncHandler *async;
1029 async = Xmalloc(sizeof(_XAsyncHandler) + sizeof(record_async_state));
1030 if (!async)
1032 async_state = (record_async_state *)(async + 1);
1047 Xfree(async);
1063 Xfree(async);
1067 /* hook in the async handler for the rest of the replies */
1069 async_state->async = async;
1074 async->next = dpy->async_handlers;
1075 async->handler = record_async_handler;
1076 async->data = (XPointer)async_state;
1077 dpy->async_handlers = async;
1080 /* Don't invoke SyncHandle here, since this is an async