Searched refs:nfd (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/libxcb/dist/src/
H A Dxcb_in.c117 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 Dxcb_conn.c266 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 Dxcb_out.c203 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 Dxcbint.h97 int nfd; member in struct:_xcb_fd
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Ddri3.c62 if (reply->nfd != 1)
124 if (reply->nfd != 1)
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A Ddri3proto.h90 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 Dshmproto.h210 CARD8 nfd; /* must be 1 */ member in struct:__anon7c4a05690208
H A Drandrproto.h860 CARD8 nfd; member in struct:__anonb71068b83e08
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Ddri3.c63 if (reply->nfd != 1)
158 if (reply->nfd != 1)
/xsrc/external/mit/MesaLib/dist/src/vulkan/device-select-layer/
H A Ddevice_select_x11.c51 if (reply->nfd != 1) {
/xsrc/external/mit/xorg-server/dist/dri3/
H A Ddri3_request.c102 .nfd = 1,
236 .nfd = 1,
311 .nfd = 1,
522 rep.nfd = num_fds;
/xsrc/external/mit/xf86-video-intel/dist/tools/
H A Ddri3info.c96 if (reply->nfd != 1)
H A Dvirtual.c193 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 Drrlease.c315 .nfd = 1,
/xsrc/external/mit/xtrans/dist/
H A DXtranssock.c2140 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 Dloader_dri3_helper.c1092 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 Dloader_dri3_helper.c1200 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 Dvirtual.c181 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 Dvl_winsys_dri3.c794 if (open_reply->nfd != 1) {
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
H A Dvl_winsys_dri3.c801 if (open_reply->nfd != 1) {
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
H A Dwsi_common_x11.c90 if (reply->nfd != 1) {
/xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/
H A Dplatform_x11.c792 for (int i = 0; i < reply->nfd; i++) {
/xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
H A Dwsi_common_x11.c98 if (reply->nfd != 1) {
/xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/
H A Dhostx.c461 int *fds = reply->nfd == 1 ?
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dshm.c1268 .nfd = 1,

Completed in 42 milliseconds

12