Searched refs:pollfd (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/xorg-server/dist/include/
H A Dxserver_poll.h42 struct pollfd struct
51 int xserver_poll (struct pollfd *pArray, nfds_t n_fds, int timeout);
/xsrc/external/mit/mesa-demos/dist/src/egl/eglut/
H A Deglut_wayland.c179 struct pollfd pollfd; local in function:_eglutNativeEventLoop
182 pollfd.fd = wl_display_get_fd(display.display);
183 pollfd.events = POLLIN;
184 pollfd.revents = 0;
189 if (!(pollfd.events & POLLOUT)) {
205 pollfd.events |= POLLOUT; /* need to wait until we can flush */
207 pollfd.events &= ~POLLOUT; /* successfully flushed */
209 if (poll(&pollfd, 1, -1) == -1)
212 if (pollfd
[all...]
/xsrc/external/mit/xorg-server/dist/os/
H A Dxserver_poll.c11 struct pollfd
18 int poll (struct pollfd *pArray, unsigned long n_fds, int timeout)
104 (struct pollfd *pArray,
111 register struct pollfd *pCur; /* current array element */
207 (struct pollfd *pArray,
214 register struct pollfd *pCur; /* current array element */
244 (struct pollfd *pArray, unsigned long n_fds, int timeout)
258 assert (pArray != (struct pollfd *) NULL);
H A Dospoll.c114 struct pollfd *fds;
386 struct pollfd *new_fds;
575 struct pollfd events[MAX_EVENTS];
579 struct pollfd *ev = &events[i];
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_fence.c199 * Initialize a pollfd array from fences.
205 struct pollfd *fds)
249 * Poll a pollfd array.
252 tu_fence_poll_fds(struct pollfd *fds, nfds_t nfds, uint64_t *timeout_ns)
278 * Update a pollfd array and the fence states. This should be called after a
285 struct pollfd *fds)
329 struct pollfd stack_fds[8];
330 struct pollfd *fds = stack_fds;
338 /* set up pollfd array and start polling */
/xsrc/external/mit/libdrm/dist/
H A Dlibsync.h63 struct pollfd fds;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/shared/
H A Dsigio.c87 static struct pollfd *xf86SigIOFds;
93 struct pollfd *n;
95 n = realloc(xf86SigIOFds, (xf86SigIONum + 1) * sizeof (struct pollfd));
112 memmove(&xf86SigIOFds[i], &xf86SigIOFds[i+1], (xf86SigIONum - i - 1) * sizeof (struct pollfd));
H A Dposix_tty.c396 struct pollfd poll_fd;
427 struct pollfd poll_fd;
/xsrc/external/mit/xorg-server/dist/test/bigreq/
H A Drequest-length.c72 struct pollfd pfd = {
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dlibsync.h103 struct pollfd fds = {0};
/xsrc/external/mit/libXt/dist/src/
H A DNextEvent.c227 struct pollfd *fdlist;
228 struct pollfd *stack;
278 wf->fdlist = (struct pollfd *)
279 XtStackAlloc(sizeof(struct pollfd) * (size_t) wf->fdlistlen,
284 (Cardinal) sizeof(struct pollfd));
288 struct pollfd *fdlp = wf->fdlist;
392 struct pollfd *fdlp;
593 struct pollfd fdlist[XT_DEFAULT_FDLIST_SIZE];
/xsrc/external/mit/luit/dist/
H A Dsys.c102 struct pollfd pfd[1];
140 struct pollfd pfd[2];
H A Dacinclude.m441 struct pollfd myfds;
/xsrc/external/mit/libdrm/dist/tests/exynos/
H A Dexynos_fimg2d_event.c46 struct pollfd fds;
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_renderer_vtest.c830 struct pollfd pollfd = { local in function:sync_wait_poll
836 ret = poll(&pollfd, 1, poll_timeout);
839 if (ret < 0 || (ret > 0 && !(pollfd.revents & POLLIN))) {
H A Dvn_renderer_virtgpu.c209 struct pollfd pollfd = { local in function:sim_syncobj_poll
215 ret = poll(&pollfd, 1, poll_timeout);
218 if (ret < 0 || (ret > 0 && !(pollfd.revents & POLLIN))) {
/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A Dsun.h87 # define usleep(usec) poll((struct pollfd *) 0, (size_t) 0, usec / 1000)
/xsrc/external/mit/xorg-server/dist/hw/sun/
H A Dsun.h87 # define usleep(usec) poll((struct pollfd *) 0, (size_t) 0, usec / 1000)
/xsrc/external/mit/libX11/dist/src/
H A DXlibInt.c131 struct pollfd *pfp;
133 pfp = Xmalloc(POLLFD_CACHE_SIZE * sizeof(struct pollfd));
149 struct pollfd *pfp = (struct pollfd *)dpy->filedes;
164 struct pollfd *pfp = (struct pollfd *)dpy->filedes;
/xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
H A Dpageflip.c44 struct pollfd p = { .fd = ms->fd, .events = POLLIN };
/xsrc/external/mit/xf86-video-intel-2014/dist/tools/
H A Dvirtual.c176 struct pollfd *pfd;
483 struct pollfd *pfd;
487 ctx->pfd = malloc(2*sizeof(struct pollfd));
499 pfd = memset(&ctx->pfd[ctx->nfd++], 0, sizeof(struct pollfd));
525 struct pollfd *pfd;
531 ctx->pfd = realloc(ctx->pfd, 2*ctx->nfd*sizeof(struct pollfd));
536 pfd = memset(&ctx->pfd[ctx->nfd++], 0, sizeof(struct pollfd));
1898 struct pollfd pfd;
2811 struct pollfd pfd;
2965 struct pollfd pf
[all...]
/xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
H A Dwsi_common_wayland.c1026 struct pollfd pollfd = { local in function:wsi_wl_swapchain_acquire_next_image
1031 ret = ppoll(&pollfd, 1, &rel_timeout, NULL);
/xsrc/external/mit/libxcb/dist/src/
H A Dxcb_conn.c470 struct pollfd fd;
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_present.c104 struct pollfd p = { .fd = pAMDGPUEnt->fd, .events = POLLIN };
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_present.c102 struct pollfd p = { .fd = pRADEONEnt->fd, .events = POLLIN };

Completed in 30 milliseconds

12