| /xsrc/external/mit/libxcb/dist/src/ |
| H A D | xcb_in.c | 117 static int read_fds(xcb_connection_t *c, int *fds, int nfd) argument 120 int infd = c->in.in_fd.nfd - c->in.in_fd.ifd; 122 if (nfd > infd) 124 memcpy(fds, ifds, nfd * sizeof (int)); 125 c->in.in_fd.ifd += nfd; 175 int nfd = 0; /* Number of file descriptors attached to the reply */ local in function:read_packet 255 nfd = genrep.pad0; 262 bufsize = length + eventlength + nfd * sizeof(int) + 291 if (nfd) 293 if (!read_fds(c, (int *) &((char *) buf)[length], nfd)) 1032 int nfd = (hdr->cmsg_len - CMSG_LEN(0)) / sizeof (int); local in function:_xcb_in_read [all...] |
| H A D | xcb_conn.c | 266 if (c->out.out_fd.nfd) { 277 .msg_controllen = CMSG_LEN(c->out.out_fd.nfd * sizeof (int)), 285 memcpy(CMSG_DATA(hdr), c->out.out_fd.fd, c->out.out_fd.nfd * sizeof (int)); 290 for (i = 0; i < c->out.out_fd.nfd; i++) 292 c->out.out_fd.nfd = 0;
|
| H A D | xcb_out.c | 203 while (c->out.out_fd.nfd == XCB_MAX_PASS_FD && !c->has_error) { 209 if (c->out.out_fd.nfd == XCB_MAX_PASS_FD) { 217 c->out.out_fd.fd[c->out.out_fd.nfd++] = fds[0];
|
| H A D | xcbint.h | 97 int nfd; member in struct:_xcb_fd
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | dri3.c | 62 if (reply->nfd != 1) 124 if (reply->nfd != 1)
|
| /xsrc/external/mit/xorgproto/dist/include/X11/extensions/ |
| H A D | dri3proto.h | 90 CARD8 nfd; member in struct:__anonac9892930408 128 CARD8 nfd; /* Number of file descriptors returned (1) */ member in struct:__anonac9892930708 168 CARD8 nfd; /* Number of file descriptors returned (1) */ member in struct:__anonac9892930a08 244 CARD8 nfd; /* Number of file descriptors returned */ member in struct:__anonac9892930f08
|
| H A D | shmproto.h | 210 CARD8 nfd; /* must be 1 */ member in struct:__anon7c4a05690208
|
| H A D | randrproto.h | 860 CARD8 nfd; member in struct:__anonb71068b83e08
|
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | dri3.c | 63 if (reply->nfd != 1) 158 if (reply->nfd != 1)
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/device-select-layer/ |
| H A D | device_select_x11.c | 51 if (reply->nfd != 1) {
|
| /xsrc/external/mit/xorg-server/dist/dri3/ |
| H A D | dri3_request.c | 102 .nfd = 1, 236 .nfd = 1, 311 .nfd = 1, 522 rep.nfd = num_fds;
|
| /xsrc/external/mit/xf86-video-intel/dist/tools/ |
| H A D | dri3info.c | 96 if (reply->nfd != 1)
|
| H A D | virtual.c | 193 int nfd; member in struct:context 373 if (reply->nfd != 1) 530 pfd = memset(&ctx->pfd[ctx->nfd++], 0, sizeof(struct pollfd)); 561 if (is_power_of_2(ctx->nfd)) { 562 ctx->pfd = realloc(ctx->pfd, 2*ctx->nfd*sizeof(struct pollfd)); 567 pfd = memset(&ctx->pfd[ctx->nfd++], 0, sizeof(struct pollfd)); 3584 DBG(POLL, ("polling - enable timer? %d, nfd=%d, ndisplay=%d\n", ctx.timer_active, ctx.nfd, ctx.ndisplay)); 3585 ret = poll(ctx.pfd + !ctx.timer_active, ctx.nfd - !ctx.timer_active, -1);
|
| /xsrc/external/mit/xorg-server/dist/randr/ |
| H A D | rrlease.c | 315 .nfd = 1,
|
| /xsrc/external/mit/xtrans/dist/ |
| H A D | Xtranssock.c | 2140 int nfd = (hdr->cmsg_len - CMSG_LEN(0)) / sizeof (int); 2144 for (i = 0; i < nfd; i++) 2181 int nfd = (hdr->cmsg_len - CMSG_LEN(0)) / sizeof (int); 2185 for (i = 0; i < nfd; i++) 2208 int nfd = nFd(&ciptr->send_fds); 2216 .msg_controllen = CMSG_LEN(nfd * sizeof(int)) 2228 for (i = 0; i < nfd; i++) { 2139 int nfd = (hdr->cmsg_len - CMSG_LEN(0)) / sizeof (int); local in function:TRANS 2180 int nfd = (hdr->cmsg_len - CMSG_LEN(0)) / sizeof (int); local in function:TRANS 2207 int nfd = nFd(&ciptr->send_fds); local in function:TRANS
|
| /xsrc/external/mit/MesaLib.old/dist/src/loader/ |
| H A D | loader_dri3_helper.c | 1092 if (reply->nfd != 1) { 1642 if (bp_reply->nfd > 4) 1648 for (i = 0; i < bp_reply->nfd; i++) { 1658 fds, bp_reply->nfd, 1663 for (i = 0; i < bp_reply->nfd; i++)
|
| /xsrc/external/mit/MesaLib/dist/src/loader/ |
| H A D | loader_dri3_helper.c | 1200 if (reply->nfd != 1) { 1793 if (bp_reply->nfd > 4) 1799 for (i = 0; i < bp_reply->nfd; i++) { 1809 fds, bp_reply->nfd, 1814 for (i = 0; i < bp_reply->nfd; i++)
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/tools/ |
| H A D | virtual.c | 181 int nfd; member in struct:context 349 if (reply->nfd != 1) 499 pfd = memset(&ctx->pfd[ctx->nfd++], 0, sizeof(struct pollfd)); 530 if (is_power_of_2(ctx->nfd)) { 531 ctx->pfd = realloc(ctx->pfd, 2*ctx->nfd*sizeof(struct pollfd)); 536 pfd = memset(&ctx->pfd[ctx->nfd++], 0, sizeof(struct pollfd)); 3356 DBG(POLL, ("polling - enable timer? %d, nfd=%d, ndisplay=%d\n", ctx.timer_active, ctx.nfd, ctx.ndisplay)); 3357 ret = poll(ctx.pfd + !ctx.timer_active, ctx.nfd - !ctx.timer_active, -1);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/ |
| H A D | vl_winsys_dri3.c | 794 if (open_reply->nfd != 1) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| H A D | vl_winsys_dri3.c | 801 if (open_reply->nfd != 1) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/ |
| H A D | wsi_common_x11.c | 90 if (reply->nfd != 1) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/ |
| H A D | platform_x11.c | 792 for (int i = 0; i < reply->nfd; i++) {
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/ |
| H A D | wsi_common_x11.c | 98 if (reply->nfd != 1) {
|
| /xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/ |
| H A D | hostx.c | 461 int *fds = reply->nfd == 1 ?
|
| /xsrc/external/mit/xorg-server/dist/Xext/ |
| H A D | shm.c | 1268 .nfd = 1,
|