| /xsrc/external/mit/libxcb/dist/src/ |
| xcbint.h | 97 int nfd; member in struct:_xcb_fd
|
| xcb_in.c | 117 static int read_fds(xcb_connection_t *c, int *fds, int nfd) 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 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 [all...] |
| /xsrc/external/mit/xorgproto/dist/include/X11/extensions/ |
| dri3proto.h | 90 CARD8 nfd; member in struct:__anon11560 128 CARD8 nfd; /* Number of file descriptors returned (1) */ member in struct:__anon11563 168 CARD8 nfd; /* Number of file descriptors returned (1) */ member in struct:__anon11566 244 CARD8 nfd; /* Number of file descriptors returned */ member in struct:__anon11571
|
| shmproto.h | 210 CARD8 nfd; /* must be 1 */ member in struct:__anon11816
|
| randrproto.h | 860 CARD8 nfd; member in struct:__anon11717
|
| /xsrc/external/mit/xtrans/dist/ |
| Xtranssock.c | 2056 nFd(struct _XtransConnFd **prev) 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 2180 int nfd = (hdr->cmsg_len - CMSG_LEN(0)) \/ sizeof (int); local 2207 int nfd = nFd(&ciptr->send_fds); local
|
| /xsrc/external/mit/xf86-video-intel/dist/tools/ |
| 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/xf86-video-intel-2014/dist/tools/ |
| 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);
|